[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cannot run X apps as root if logged in as normal user.



On Mon, 2003-01-27 at 08:40, Ryan Barr wrote:
> I'm runing a combination of woody and some testing packages and
> kde3.0.5a as my window manager... And am having some serious trouble
> getting any X apps to run withoug using the uid that I am logged in
> as... I have tried `xhost +localhost` - no dice... I am still getting
> the following error:
> ----------------------------------------------------------------------
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified

Because localhost only covers TCP connections, but truly local
connections go via UNIX sockets. Try

xhost +local:<username>

or

xhost +local:


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast



Reply to: