Re: Unable to set DISPLAY localhost:0.0 / Solved

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

 



Linux Beginner wrote:
Frank Vogel writes:


Alexander Dalloz wrote:

Am Do, den 10.03.2005 schrieb Linux Beginner um 22:09:



Thanks for the input. I tried invoking ssh with x option. Still
no results. Can anyone throw more light on this?


First: please do not top-post. Place your reply text below the stripped
quotes.

Second: you will have to be more specific. "Still no results" can mean
everything. For many situations "ssh -X user@remotehost" should be
enough. Some applications need more trust and you will have to use "ssh
-Y user@remotehost". This is documented in the FC3 release notes. You
will get according error messages when "-X" is not enough. Please be
that specific and post error messages or something like that in future.
Keep in mind that it is you requesting help and that our view has to go
through your eyes and relies on your more or less verbose descriptions
:)

Alexander




Check your /etc/ssh/ssh_config on the host you are ssh-ing to. Are these lines present:

ForwardX11 yes
ForwardX11Trusted yes

That should make it work.

Gr,

Frank



I wish to thank Frank and all the others who gave suggestions ;
Finally i solved it myself after some R&D by providing a
combination of more than one options. For the benefit of all, i
am giving below the cut paste of what i did

[root@localhost ssh]# ssh -F /etc/ssh/ssh_config -X
root@localhost
root@localhost's password:
Last login: Sun Mar 20 16:54:13 2005 from localhost.localdomain
[root@localhost root]# xhost +
access control disabled, clients can connect from any host
[root@localhost root]# /usr/X11R6/bin/xclock

Gotcha!!!!!!!! There you go. It Works!!!!!!!!!

Try it without the "xhost +". I bet that works too. If it does, it's much more secure to skip the "xhost +" in future.


Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux