You are not logged in.
I'm not really getting any error messages, it only says "can't open display" when I try to lauch an app. Everything seems okay using -vv to get info:
debug1: Requesting X11 forwarding with authentication spoofing.
then it just logs in without any error.
I moved the ~/.Xauthority on the client machine, and then got this error - i wonder if has something to do with the .Xauthority?
Warning: No xauth data; using fake authentication data for X11 forwarding.
I can ssh into a fedora box and launch apps, but not arch. Anyone have a suggestion of where I can start looking? Xorg.log is also giving absolutely nothing.
Offline
Are you sure you have enabled anything necessary in the ssh server config file ( /etc/ssh/sshd_config)?
Bye, signor_rossi.
Offline
yes of course. it was working fine, and now no longer is. i'm looking around, but there's not much to go on so far.
>> edit: turns out you were right, signor_rossi. apparently the new xorg requires an additional option to be set in the sshd_config, X11UseLocalhost yes (see below).
Last edited by slackhack (2007-12-10 14:01:44)
Offline
I was just trying to set this up today and am getting the same error.
Offline
I think I got it. Add this line (or uncomment) to /etc/ssh/sshd_config, and restart the daemon:
X11UseLocalhost yes
Offline
I think I got it. Add this line (or uncomment) to /etc/ssh/sshd_config, and restart the daemon:
X11UseLocalhost yes
Didn't work for me; are you connecting to another box, or are you on the same computer?
Offline
slackhack wrote:I think I got it. Add this line (or uncomment) to /etc/ssh/sshd_config, and restart the daemon:
X11UseLocalhost yes
Didn't work for me; are you connecting to another box, or are you on the same computer?
i'm on my laptop, connecting to my desktop. uncomment the line on the server box and restart the daemon, if that's not what you did.
also do echo $DISPLAY on the client (i think it should be something like :0.0), and on the server when you log in with X forwarded (should be a higher number, like :10.0).
also, make sure to run ssh with -vv flags to see if you get any error messages.
Offline
I think I'm doing something wrong.
When I do echo $DISPLAY, I just get a blank line (I get :0.0 in my regular session)
It looks like everything is fine with the debug output.
I am using
X :12.0 vt12 2>&1 >/dev/null &
xterm -display :12.0 -e ssh -vv -X user@ip &
I gleaned this off a website, so I don't even know that I'm doing it right.
Any suggestions?
Offline
trying simplifying the command, and using Y instead of X:
ssh -Yvv user@ip
Offline
trying simplifying the command, and using Y instead of X:
ssh -Yvv user@ip
No luck, I've messed around with X and Y already.
Offline
I have these lines in /etc/ssh/ssh_config in the client's machine:
ForwardX11 yes
ForwardX11Trusted yes
and
X11Forwarding yes
X11UseLocalhost yes
in the server
Last edited by farhat (2008-02-27 23:18:18)
Offline