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 mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie

Reply via email to