[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

X Forwarding with ssh



I know I've done this plenty of times before, but this time it's just
not playing ball. Any hints?

"desktop" Is Debian sid, with a display running on :0
"server" is Debian woody, and headless (hence using ssh)

I've tried with and without passing -X to ssh, and I understand my
entries in ssh_config should make it default anyhow. Forwarding is
enabled on the server, and both machines have been rebooted through
sheer desperation to make these changes take effect.

Transcript:

shaun@desktop:~$ grep -1 ^Host /etc/ssh/ssh_config
 
Host 192.168.1.50
  ForwardX11 yes
 
Host server
  ForwardX11 yes

shaun@desktop:~$ echo $DISPLAY
:0.0
shaun@desktop:~$ ssh -X shaun@server
shaun@server's password:
Last login: Tue Oct  7 16:44:34 2003 from desktop
shaun@server:~$ echo $DISPLAY

shaun@server:~$ grep X11 /etc/ssh/sshd_config
X11Forwarding yes
X11DisplayOffset 10

... and here's everything my logs have to say about a login:

server:~# grep -r "Oct  7 16:57" /var/log/
/var/log/auth.log:Oct  7 16:57:08 server sshd[718]: Accepted password
for shaun from 192.168.1.120 port 33460 ssh2
/var/log/auth.log:Oct  7 16:57:08 server PAM_unix[720]: (ssh) session
opened for user shaun by (uid=1000)
/var/log/auth.log:Oct  7 16:57:17 server PAM_unix[720]: (ssh) session
closed for user shaun
/var/log/auth.log:Oct  7 16:57:17 server sshd[720]: PAM pam_putenv:
delete non-existent entry; MAIL

... and what relevant packages I have installed:

shaun@server:~$ dpkg --get-selections | grep ^x
xfree86-common                                  install
xlibs                                           install

Thanks for your time,
  Shaun.





Reply to: