|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [PLUG] X server permissions as a different user...
|
Never mind. Further excerpts:
<Cobwa> What's a "set | grep DISP" say?
<Cobwa> (As root, the user trying to run xcdroast.)
<jlavin> first from ps:
<jlavin> -auth /var/lib/kdm/authfiles/A:0-cNc2Hz
<jlavin> ahh - it says nothing
<Cobwa> Hmm, so something isn't exporting DISPLAY.
<Cobwa> You ought to be able to run xcdroast with a param,
something like :0 or -display :0
<Cobwa> Or just "export DISPLAY=:0" in that session.
<Cobwa> Should work then.
<jlavin> xcdroast --display :0
<jlavin> worked
<Cobwa> :)
<Cobwa> The clue was in the line:
<Cobwa> <jlavin> Gtk-WARNING **: cannot open display:
<Cobwa> Here I see:
<Cobwa> xhost: unable to open display ":0.0"
Thanks Cobwa!!
-john
--
John Lavin
jlavin@ccil.org
Public Key: http://www.wayreth.net/lavin-public-key.gpg
______________________________________________________________________
"Dictators can always consolidate their tyranny by an appeal to
patriotism." - Aldous Huxley
On Wed, Oct 16, 2002 at 10:04:34PM -0400, John Lavin wrote:
> Pulling a conversation off of IRC and on the list. I seem to have had a
> a xserver permissions error. I think I might have moved to another
> one...
>
> I had an error:
> Xlib: connection to ":0.0" refused by server
>
> No longer have that I have the following:
>
> -- snip --
> <jlavin> checking out the xhost manpage now...
> <jlavin> hmmm
> <jlavin> xhost root@ root@myhost
> <jlavin> xauth add myhost:0 SUN-DES-1 root@myhost
> <jlavin> Gtk-WARNING **: cannot open display:
> <jlavin> perhaps I'm doing something wront
> <jlavin> s/wront/wrong
> <switchcat> try xhost + first by itself, no
> names to see if that works
> <switchcat> als you may need to do this as thew
> user you're logged in as, not as su
> <switchcat> als=also
> <jlavin> hmm: same thing:
> <jlavin> Gtk-WARNING **: cannot open display:
> <jlavin> no other errors btw
>
> Any ideas?
> -john
> --
> John Lavin
> jlavin@ccil.org
> Public Key: http://www.wayreth.net/lavin-public-key.gpg
> ______________________________________________________________________
> "Dictators can always consolidate their tyranny by an appeal to
> patriotism." - Aldous Huxley
> _________________________________________________________________________
> Philadelphia Linux Users Group -- http://www.phillylinux.org
> Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
> General Discussion -- http://lists.netisland.net/mailman/listinfo/plug
_________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion -- http://lists.netisland.net/mailman/listinfo/plug
|
|