Accessing server from another user on localhost (no TCP)

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

 



Hi everybody,

I have a running X server, launched from one user account in my Linux box,
with the following command-line:
	startx -- -nolisten tcp
Now, I need to execute a graphic app as another user (for instance, 'root'
or whoever). I try to type:
	export DISPLAY=:0
	java -jar myapp.jar
And I get this error:
	Xlib: connection to ":0.0" refused by server
	Xlib: Client is not authorized to connect to server
	...
I would like to know how can I use the xauth or xhosts (I would prefer the
first one) to allow other users of the system to use that X server....

Best regards, and thanks in advance,

Miguel Ángel
_______________________________________________

Newbie@XFree86.Org
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie

[Index of Archives]     [XFree86]     [Xfree86 Xpert]     [X.org]     [IETF Annouce]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Picture Sharing]     [Linux Security]     [Linux RAID]

  Powered by Linux