Mailinglist Archive: opensuse (4631 mails)
| < Previous | Next > |
Re: [opensuse] Getting error "cannot connect to X server" when using sudo to run a program
- From: "Andy Harrison" <aharrison@xxxxxxxxx>
- Date: Thu, 18 Jan 2007 16:20:35 -0500
- Message-id: <a22ff2940701181320m5d548f60y23ec6c2e367c68c4@xxxxxxxxxxxxxx>
On 1/18/07, Graham Smith <gqs@xxxxxxxxxxxxx> wrote:
Make sure that root is allowed to use your X server. From a regular
shell prompt:
xhost +SI:localuser:root
--
Andy Harrison
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
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
--
Andy Harrison
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |