Summary: | openssh x11 forwarding: cannot open display | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Axel Straschil <axel> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Axel Straschil
2005-02-03 03:36:58 UTC
> Shh FROM this machine to others gives that error for X11 forwading.
the sshd on the machine you are connecting to needs to have X11Forwarding enabled in sshd_config.
root@pizza axel # grep -i x11 /etc/ssh/*config /etc/ssh/ssh_config: ForwardX11 yes /etc/ssh/sshd_config:X11Forwarding yes Also, I did xhost + Any idea where to start debug or where I can get errormessages? Xorg.0.log sayes nothing When I login from pizza to sine, sine's /var/log/messages says: Feb 3 17:32:53 sine sshd[16341]: Accepted publickey for axel from 192.168.1.10 port 34138 ssh2 Feb 3 17:32:53 sine sshd(pam_unix)[16346]: session opened for user axel by (uid=0) Feb 3 17:32:53 sine PAM-env[16346]: Unknown PAM_ITEM: <XAUTHORITY> Feb 3 17:32:53 sine sshd[16346]: PAM pam_putenv: delete non-existent entry; XAUTHORITY Sine and pizza are both gentoo, same versions. Till one weel ago, pizza was a redhat machine where the x11 stuff with sine worked. Found A fix: In /etc/security/pam_env.conf, im commenting the line with DISPLAY ###DISPLAY DEFAULT=${REMOTEHOST}:0.0 OVERRIDE=${DISPLAY} Now it workes, no Idea If that is good or bad ;-) |