Mailinglist Archive: opensuse (4631 mails)

< Previous Next >
Re: [opensuse] Getting error "cannot connect to X server" when using sudo to run a program
  • From: Patrick Shanahan <ptilopteri@xxxxxxxxx>
  • Date: Thu, 18 Jan 2007 16:24:57 -0500
  • Message-id: <20070118212457.GN4983@xxxxxxxxxxxxxxx>
* Andy Harrison <aharrison@xxxxxxxxx> [01-18-07 16:23]:
> On 1/18/07, Graham Smith <gqs@xxxxxxxxxxxxx> 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....

Patrick Shanahan Registered Linux User #207535 @
HOG # US1244711 Photo Album:
OpenSUSE Linux
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups