Re: X forwarding problem with SSH.
This may seem like an obvious question, have you a look in the messages/syslog file on the xserver itself? Perhaps its coming across permissional errors.
With the xserver running run the command in an shell prompt:
$ xhost +
That'll disable X security while you debug the issue.
One last thing to check, in the file /etc/X11/xinit/xserverrc make sure
there is no reference to the switch -nolisten tcp ... if so, delete it
That might work :)
On Wed, Sep 05, 2001 at 01:41:34PM -0400, C. Scott Ananian wrote:
> I installed a machine from debian unstable a few weeks ago, and I've been
> utterly unable to get X forwarding to work when logging into the machine
> remotely. /etc/ssh_config contains the line 'ForwardX11 yes' and
> /etc/sshd_config contains the line 'X11Forwarding yes'. ssh to the
> machine reveals:
>
> [...]
> cananian@sinfor's password:
> debug1: ssh-userauth2 successful: method password
> debug1: channel 0: new [client-session]
> debug1: send channel open 0
> debug1: Entering interactive session.
> debug1: client_init id 0 arg 0
> debug1: Requesting X11 forwarding with authentication spoofing.
> debug1: channel request 0: shell
> debug1: channel 0: open confirm rwindow 0 rmax 16384
> Last login: Wed Sep 5 13:32:53 2001 from girl-gone.lcs.mit.edu on pts/0
> [...]
>
> But X forwarding does not work:
>
> cananian@sincerity-forever:~$ xterm -ls
> xterm Xt error: Can't open display: sincerity-forever:10.0
> cananian@sincerity-forever:~$
>
> however, the forwarding connection seems to be set up:
> cananian@sincerity-forever:~$ telnet localhost 6010
> debug1: client_input_channel_open: ctype x11 rchan 2 win 4096 max 2048
> debug1: client_request_x11: request from 127.0.0.1 37038
> debug1: fd 7 setting O_NONBLOCK
> debug1: fd 7 IS O_NONBLOCK
> debug1: channel 1: new [x11]
> debug1: confirm x11
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> ^]
> telnet> quit
> debug1: channel 1: rcvd eof
> debug1: channel 1: output open -> drain
> Connection closed.
> cananian@sincerity-forever:~$
>
> 'dpkg -s ssh' says:
> [...]
> Source: openssh
> Version: 1:2.9p2-5
> [...]
>
> Can anyone help me with this? I've tried everything I can think of.
> --s
>
> Mossad General Sugar Grove immediate Bush struggle Serbian blowfish
> [Hello to all my fans in domestic surveillance] OVER THE HORIZON RADAR
> ( http://lesser-magoo.lcs.mit.edu/~cananian )
> --
> "These students are going to have to find out what law and order is
> all about." -- Brig. General Robert Canterbury, Noon, May 4, 1970,
> minutes before his troops shot 13 unarmed Kent State students, killing 4.
> --
> [http://www.cs.cmu.edu/~dst/DeCSS/Gallery/]
> #!/usr/bin/perl -w
> # 526-byte qrpff, Keith Winstein and Marc Horowitz <sipb-iap-dvd@mit.edu>
> # MPEG 2 PS VOB file on stdin -> descrambled output on stdout
> # arguments: title key bytes in least to most-significant order
> $_='while(read+STDIN,$_,2048){$a=29;$c=142;if((@a=unx"C*",$_)[20]&48){$h=5;
> $_=unxb24,join"",@b=map{xB8,unxb8,chr($_^$a[--$h+84])}@ARGV;s/...$/1$&/;$d=
> unxV,xb25,$_;$b=73;$e=256|(ord$b[4])<<9|ord$b[3];$d=$d>>8^($f=($t=255)&($d
> >>12^$d>>4^$d^$d/8))<<17,$e=$e>>8^($t&($g=($q=$e>>14&7^$e)^$q*8^$q<<6))<<9
> ,$_=(map{$_%16or$t^=$c^=($m=(11,10,116,100,11,122,20,100)[$_/16%8])&110;$t
> ^=(72,@z=(64,72,$a^=12*($_%16-2?0:$m&17)),$b^=$_%64?12:0,@z)[$_%8]}(16..271))
> [$_]^(($h>>=8)+=$f+(~$g&$t))for@a[128..$#a]}print+x"C*",@a}';s/x/pack+/g;eval
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--
Adam McDaniel
Infrastructure Technology Consultant
M-Tech Mercury Information Technology, Inc.
E-mail: adamm@psynch.com
Phone: (403) 233-0740, ext. 244
Fax: (403) 233-0725
Reply to: