thanks jens, is there a way so i don't have to type the command all the time? thanks again. Paul
On Mon, 2 Jun 1997, Jens B. Jorgensen wrote: > Paul McDermott wrote: > > > > Hi folks, I just installed X version 3.2 on my system this past few > > weeks. I am having problems do things as su. ie for the first error > > message is one that I receive whenever I try to run an X program as su. > > This error message is when I was trying to use xclock. I have check > > xclocks permissions, ownership both seem to be in order. Ownership is > > root.root and the Permissions are 755. This error happens when I try to > > run all x programs. > > > > Xlib: connection to ":0.0" refused by server > > Xlib: Client is not authorized to connect to Server > > open display failed > > InitXWindows failed, exiting > > > > This error is when I try to run emacs as su. > > > > Xlib: connection to ":0.0" refused by server > > Xlib: Client is not authorized to connect to Server > > emacs: Cannot connect to X server :0.0. > > Check the DISPLAY environment variable or use `-d'. > > Also use the `xhost' program to verify that it is set to permit > > connections from your machine. > > > > I cam run things as user paul and if I login as root. If you have any > > suggestions or need any more information please email me. > > Paul > > > > If you log in as paul and then su to root, then after you su type > > export XAUTHORITY=~paul/.Xauthority > > -- > Jens B. Jorgensen > [EMAIL PROTECTED] > -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .