Can't get X forwarding working with SSH.
I've used sshd on a number of different operating systems, but only with Fedora have I had an X forwarding issues. I've configured the sshd_config file to allow for X forwarding. Whenever I try to run a graphical program on my Fedora server, it either just doesn't work or it says something like "could not initialize the graphical user interface".
I've looked at everything in the sshd_config file, and I can't seem to find the problem. Thanks in advance. |
How are you connecting? Command line or gui app?
In command line I use the -Y to enable X over the ssh session. ssh -Y username@IP_address Brian1 |
I always use the CLI. For the command, I've always used -X on everything to enable X. I tried using -Y and I get the same result I did with -X.
|
Bump......
|
What is the output of "echo $DISPLAY" on your local computer? What is the output of "echo $DISPLAY" on the remote computer when you log in through SSH? Does your problem occur with only some programs, or all X programs?
|
On both the local and the remote machine echo $DISPLAY shows: localhost:10.0
I've had this issue with every X program I've tried. |
I don't pretend to know anything about this, but is it possible it has to do with xauth?
|
Bump......
|
Don't have a solution to your problem, but I just ssh'd into my FC5 box from SuSE 10.1 with X forwarding and ran a couple apps (tvtime blew up BTW... was worth a try, lol.) So it works for me. I have firewall and selinux disabled though, if that makes any difference. ;)
|
Well, I just took this to fedoraforum.org. No luck yet, but it's a new thread.
http://fedoraforum.org/forum/showthread.php?t=112826 Thanks for the help. |
Quote:
|
Well, the first time I tried to get X working, I was using the original configuration. By saying I configured it to allow X forwarding, I really meant that the config file said X forwarding was enabled.
|
OK, I'm bumping this. I really can not find a solution.
|
Bump......
|
Try freenx i use it to access my linux box when a gui is needed. if i only need a console then i just use ssh that way.
|
All times are GMT -5. The time now is 03:33 PM. |