Re: Unable to set DISPLAY localhost:0.0 / Solved

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

 



Linux Beginner writes:

> 
> 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!!!!!!!!!
> 
> Environment DELL PC with Celeron (FC2) and Dual Boot with
> Windoz.
> 
> Thanks
> 
> Linux Beginner
> 
> 
I wish to add that the  option ForwardX11Trusted yes resulted in
error

/etc/ssh/ssh_config: line 39: Bad configuration option:
ForwardX11Trusted
/etc/ssh/ssh_config: terminating, 1 bad configuration options

I removed and tried with the original file itself. It works.
--------------------------------------------------------------------------------
Get your free 15 Mb POP3 email @alexandria.cc
Click here -> http://www.alexandria.cc/


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

  Powered by Linux