Re: X11 Forwarding with Lenny?
2008/11/30, Frederik Kriewitz <[EMAIL PROTECTED]>: > You might have a problem with your DNS config too. That was the problem... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: X11 Forwarding with Lenny?
You might have a problem with your DNS config too. On Thu, Nov 20, 2008 at 10:05 PM, swm38 swm38 <[EMAIL PROTECTED]> wrote: > $ echo $DISPLAY > localhost:10.0 Try "DISPLAY=127.0.0.1:10.0" and make sure localhost resolves too 127.0.0.1. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: X11 Forwarding with Lenny?
On Sat, Nov 29, 2008 at 21:37:03 +0100, swm38 swm38 wrote: > 2008/11/29, Florian Kulzer: > > Post the output of the following two commands when run on the SSH server > > (the intended X client): > > > > apt-cache policy xbase-clients xauth > xbase-clients: > Installed: 1:7.3+18 [...] > xauth: > Installed: 1:1.0.3-2 These should be OK. > > grep -Ev '^(#|$)' /etc/ssh/sshd_config > Port 22 > Protocol 2 > HostKey /etc/ssh/ssh_host_rsa_key > HostKey /etc/ssh/ssh_host_dsa_key > UsePrivilegeSeparation yes > KeyRegenerationInterval 3600 > ServerKeyBits 768 > SyslogFacility AUTH > LogLevel INFO > LoginGraceTime 120 > PermitRootLogin yes > StrictModes yes > RSAAuthentication yes > PubkeyAuthentication yes > IgnoreRhosts yes > RhostsRSAAuthentication no > HostbasedAuthentication no > PermitEmptyPasswords no > ChallengeResponseAuthentication no > X11Forwarding yes > X11DisplayOffset 10 > PrintMotd no > PrintLastLog yes > TCPKeepAlive yes > AcceptEnv LANG LC_* > Subsystem sftp /usr/lib/openssh/sftp-server > UsePAM yes I have the same configuration for all the relevant (as far as I know) parameters. I have set "AllowTcpForwarding yes", but that should be the default anyway. > It's the exact same output for both systems, but X11 forwarding works > only in one direction. Then I think we should check the client configurations to rule out that a setting in /etc/ssh/ssh_config or ~/.ssh/config interferes with the X forwarding. Are these two files the same on the working and the non-working SSH client system? Did you make any changes to the basic X configuration on either of the systems? -- Regards,| http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: X11 Forwarding with Lenny?
On Sat, Nov 29, 2008 at 09:37:03PM +0100, swm38 swm38 wrote: > It's the exact same output for both systems, but X11 forwarding works > only in one direction. does the output of "ssh -Xvv ..." in each direction differ in an interesting way? --Rob* -- /-\ | "If we couldn't laugh we would all go insane" | | --Jimmy Buffett, | |"Changes in Latitudes, Changes in Attitudes" | \-/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: X11 Forwarding with Lenny?
2008/11/29, Florian Kulzer <[EMAIL PROTECTED]>: > Post the output of the following two commands when run on the SSH server > (the intended X client): > > apt-cache policy xbase-clients xauth xbase-clients: Installed: 1:7.3+18 Candidate: 1:7.3+18 Version table: *** 1:7.3+18 0 500 http://130.83.2.34 lenny/main Packages 100 /var/lib/dpkg/status xauth: Installed: 1:1.0.3-2 Candidate: 1:1.0.3-2 Version table: *** 1:1.0.3-2 0 500 http://130.83.2.34 lenny/main Packages 100 /var/lib/dpkg/status > grep -Ev '^(#|$)' /etc/ssh/sshd_config Port 22 Protocol 2 HostKey /etc/ssh/ssh_host_rsa_key HostKey /etc/ssh/ssh_host_dsa_key UsePrivilegeSeparation yes KeyRegenerationInterval 3600 ServerKeyBits 768 SyslogFacility AUTH LogLevel INFO LoginGraceTime 120 PermitRootLogin yes StrictModes yes RSAAuthentication yes PubkeyAuthentication yes IgnoreRhosts yes RhostsRSAAuthentication no HostbasedAuthentication no PermitEmptyPasswords no ChallengeResponseAuthentication no X11Forwarding yes X11DisplayOffset 10 PrintMotd no PrintLastLog yes TCPKeepAlive yes AcceptEnv LANG LC_* Subsystem sftp /usr/lib/openssh/sftp-server UsePAM yes It's the exact same output for both systems, but X11 forwarding works only in one direction. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: X11 Forwarding with Lenny?
On Sat, Nov 29, 2008 at 08:24:14 +0100, Frederik Kriewitz wrote: > On Thu, Nov 20, 2008 at 10:05 PM, swm38 swm38 <[EMAIL PROTECTED]> wrote: > > I can't get X11 Forwarding working with lenny as server. > > Error: Can't open display: localhost:10.0 > > I had the same problem on 3 machines I upgraded from etch to lenny. > But I don't know how to solve it/what's causing it. Post the output of the following two commands when run on the SSH server (the intended X client): apt-cache policy xbase-clients xauth grep -Ev '^(#|$)' /etc/ssh/sshd_config (The second command shows your sshd configuration; replace sensitive information with generic placeholders before posting if necessary.) -- Regards,| http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: X11 Forwarding with Lenny?
On Thu, Nov 20, 2008 at 10:05 PM, swm38 swm38 <[EMAIL PROTECTED]> wrote: > I can't get X11 Forwarding working with lenny as server. > Error: Can't open display: localhost:10.0 I had the same problem on 3 machines I upgraded from etch to lenny. But I don't know how to solve it/what's causing it. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: X11 Forwarding with Lenny?
>> On Thu, 2008-11-20 at 22:05 +0100, swm38 swm38 wrote: >>> Hello, >>> >>> I can't get X11 Forwarding working with lenny as server. >>> >>> Client is Debian Lenny too, X11 Forwarding works fine with an etch server. >>> >>> The lenny Server is running with the exact same sshd_config as the etch >>> server >>> >>> X11Forwarding yes >>> X11DisplayOffset 10 >>> UseLogin no >>> AllowTcpForwarding yes >>> >>> xauth is installed. >>> >>> Tried ssh -X and -Y, same result: >>> >>> $ echo $DISPLAY >>> localhost:10.0 It could be a env variables problem. Did you try it with a new (with clear environment) user ? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: X11 Forwarding with Lenny?
2008/11/21, subscriptions <[EMAIL PROTECTED]>: > did you change user after remote login? No I didn't. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: X11 Forwarding with Lenny?
On Thu, 2008-11-20 at 22:05 +0100, swm38 swm38 wrote: > Hello, > > I can't get X11 Forwarding working with lenny as server. > > Client is Debian Lenny too, X11 Forwarding works fine with an etch server. > > The lenny Server is running with the exact same sshd_config as the etch server > > X11Forwarding yes > X11DisplayOffset 10 > UseLogin no > AllowTcpForwarding yes > > xauth is installed. > > Tried ssh -X and -Y, same result: > > $ echo $DISPLAY > localhost:10.0 > $ xauth list > freddy-test/unix:0 MIT-MAGIC-COOKIE-1 123456789... > freddy-test/unix:10 MIT-MAGIC-COOKIE-1 ABCDEFG... > $ xlogo > Error: Can't open display: localhost:10.0 > > In the ssh(d) debug logs (ssh -vvv/sshd -de) everything seems to be fine. > When I start xlogo I would expect some debug output, but that doesn't happen. > > Anything I missed? > > Greetigns > Freddy Hi Freddy, did you change user after remote login? In that case, use 'sux' (that is su with X). It is in the software repository. Best, Rob -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
X11 Forwarding with Lenny?
Hello, I can't get X11 Forwarding working with lenny as server. Client is Debian Lenny too, X11 Forwarding works fine with an etch server. The lenny Server is running with the exact same sshd_config as the etch server X11Forwarding yes X11DisplayOffset 10 UseLogin no AllowTcpForwarding yes xauth is installed. Tried ssh -X and -Y, same result: $ echo $DISPLAY localhost:10.0 $ xauth list freddy-test/unix:0 MIT-MAGIC-COOKIE-1 123456789... freddy-test/unix:10 MIT-MAGIC-COOKIE-1 ABCDEFG... $ xlogo Error: Can't open display: localhost:10.0 In the ssh(d) debug logs (ssh -vvv/sshd -de) everything seems to be fine. When I start xlogo I would expect some debug output, but that doesn't happen. Anything I missed? Greetigns Freddy -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]