Unable to set DISPLAY localhost:0.0 / Solved

Linux Beginner linux_beginner at alexandria.cc
Mon Mar 21 01:00:38 UTC 2005


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 at remotehost" should be
>> enough. Some applications need more trust and you will have to use "ssh
>> -Y user at 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 at localhost ssh]# ssh -F /etc/ssh/ssh_config -X
root at localhost
root at localhost's password:
Last login: Sun Mar 20 16:54:13 2005 from localhost.localdomain
[root at localhost root]# xhost +
access control disabled, clients can connect from any host
[root at localhost root]# /usr/X11R6/bin/xclock

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

Environment DELL PC with Celeron (FC2) and Dual Boot with
Windoz.

Thanks

Linux Beginner


--------------------------------------------------------------------------------
Get your free 15 Mb POP3 email @alexandria.cc
Click here -> http://www.alexandria.cc/




More information about the fedora-list mailing list