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: Fri, 19 Jan 2007 00:17:11 -0500
  • Message-id: <a22ff2940701182117u2b67cbedpa44768204d541398@xxxxxxxxxxxxxx>
On 1/18/07, Marc Wilson <msw@xxxxxxx> wrote:
On Thu, Jan 18, 2007 at 04:20:35PM -0500, Andy Harrison wrote:
> xhost +SI:localuser:root

Can we avoid the rush and just shoot all the idiots who recommend xhost
*now*?


What a helpful contribution to the thread. Do, post more wisdom.

It would be a vast assumption that since kdesu will work that sudo
will work also. kdesu is starting the command with a completely
different environment and xauth handling is not identical to launching
from a shell prompt.


--
Andy Harrison
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups