can't su and run X programs
can't su and run X programs
- Subject: can't su and run X programs
- From: "rgball" <email@hidden>
- Date: Tue, 21 Oct 2003 11:21:28 -0500
This must be simple but I don't see it. :-)
[running 10.2.x and X11 beta]
I'm logged in as me and typing "xclock" in an xterm brings up the clock. Now I
su - to another user name and type "xclock" and get
Error: Can't open display:
Oh, I say, DISPLAY isn't set. So I do a "setenv DISPLAY :0" and try "xclock"
again and I get
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Error: Can't open display: :0
What's up? This works fine on my IRIX box.
Rich
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.