Patrick Shanahan wrote: > * Andy Harrison <[EMAIL PROTECTED]> [01-18-07 16:23]: > >> On 1/18/07, Graham Smith <[EMAIL PROTECTED]> wrote: >> >>> I get "cannot connect to X server" error when I try to run the >>> program on my laptop. If I use kdesu I have no problem but I don't >>> want to use it as it means I have to enter the root password each >>> time I run the command. >>> >> Make sure that root is allowed to use your X server. From a regular >> shell prompt: >> >> xhost +SI:localuser:root >> > > If kdesu will get there, root IS allowed.... > > Do not forget to set your DISPLAY variable. That will allow you to connect to the X11 server.
By the way, if you need to run an X11 window, I suggest you use ssh -X [EMAIL PROTECTED] instead. It sets everything up properly for you. -- Joseph Loo [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
