Unable to set DISPLAY localhost:0.0 / Solved

Jeff Vian jvian10 at charter.net
Mon Mar 21 07:01:17 UTC 2005


On Mon, 2005-03-21 at 01:00 +0000, Linux Beginner wrote:
> Frank Vogel writes:
> 
> > Alexander Dalloz wrote:
> >> Am Do, den 10.03.2005 schrieb Linux Beginner um 22:09:
> >> 
> >> 


> > 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

This is BAD.
It breaks many security features and leaves the system open for attack.

Using the xhost option should at best be a very temporary option.  The
warning above is there for a reason.

> [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