On Mon, 25 Feb 2002 16:49:27 +0100 Thomas Fiebig <[EMAIL PROTECTED]> wrote:
> Hi everybody, > > I have a problem to do the right settings for allowing other users to > open a display on the X display. > > I'm running XFree86 4.1.12 (hope the number is right). I open a > xterminal, allow all hosts to connect to X (xhost +), do a su - > otheruser and set the environment(setenv DISPLAY thishost:0.0). After > that I start an X application e.g. nedit& or so. Then it needs a > moment and on the terminal 'NEdit can't open display' appears. I don't > have any idea, how to solve this. Do you have???? > > Thanks, > Thomas > _______________________________________________ > Newbie mailing list > [EMAIL PROTECTED] > *** To unsubscribe , or change message options, see: > http://XFree86.Org/mailman/listinfo/newbie > Have you tried anything besides NEdit? I just tried this (FreeBSD 4.5-stable, XFree86-4.2.0) and it worked: set$ sudo su access -c "xdpyinfo -display $DISPLAY " Xlib: connection to ":0.0" refused by server Xlib: No protocol specified xdpyinfo: unable to open display ":0.0". set$ xhost + access control disabled, clients can connect from any host set$ sudo su access -c "xdpyinfo -display $DISPLAY " name of display: :0.0 version number: 11.0 vendor string: The XFree86 Project, Inc [...] ["set$ " is the shell prompt, "access" is another account on set] -- Remember, more computing power was thrown away last week than existed in the world in 1982. -- http://www.tom.womack.net/computing/prices.html _______________________________________________ Newbie mailing list [EMAIL PROTECTED] *** To unsubscribe , or change message options, see: http://XFree86.Org/mailman/listinfo/newbie
