Re: ssh -X shop problem...

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

 



On Sun, 2006-11-26 at 23:02 -0500, Gene Heskett wrote:
> Greetings;
> 
> Tonight I thought I'd play with emc2 a bit, but since updateing this 
> machine to FC6, somethings gone fubar in the X11 forwarding.  Here is 
> whats been executed to get to the failure:
> 
> ---------
> [root@coyote amanda]# xhost +192.168.71.4
> 192.168.71.4 being added to access control list
> [root@coyote amanda]# su gene
> [gene@coyote amanda]$ ssh -X shop
> gene@shop's password:
> Warning: No xauth data; using fake authentication data for X11 forwarding.
> Linux shop 2.6.15-magma #1 Fri Jun 9 20:51:19 EEST 2006 i686 GNU/Linux
> Welcome to the Shop @ the Coyote's Den
> 
> Last login: Sun Nov 26 22:52:45 2006 from coyote.coyote.den
> gene@shop:~$ cd emc2.head/
> gene@shop:~/emc2.head$ scripts/emc
> EMC2 - pre-2.1 CVS HEAD
> Xlib: connection to "localhost:10.0" refused by server
> Xlib: Invalid MIT-MAGIC-COOKIE-1 key
> Application initialization failed: couldn't connect to 
> display "localhost:10.0"
> ------------
> 
> Obviously I can't do this xhost thingy as a common user:
> ----------
> [gene@coyote amanda]$ xhost +192.168.71.4
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
> 
> xhost:  unable to open display ":0"
> -----------
> X was started by root, as usual.
> 
> Where did I mess up?  Where is this access control list being maintained 
> and is it editable by mortals?  Or where is this magic cookie key?, and 
> how do I refresh it to valid status?
> 
> This exact procedure worked just fine when I was running FC2 (with 
> xorg-6.8.1-901 hand built on this box.)
----
remote X-windows doesn't work when you do an 'su' unless before you do
that, you have to authorize the local user to use x which just
complicates things.

don't do an su and you'll be able to use remote x-windows

better yet...freenx rocks

Craig


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

  Powered by Linux