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

Re: root-programs in chroot wont work



poulerik wrote:

I have a problem with running X-programs as root in chroot-inviroment. Things work well when i am a normal user, but when i try running from root for instance synaptic i got the following
error:

# synaptic
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(synaptic:21355): Gtk-WARNING **: cannot open display:

Does it work if you first run this (as your normal user in the 64bit environment)?:

xhost +

If so, it should be a matter of editing your .Xauth file (I think). Someone with more knowledge about X should be able to help you get it right...


Nelson



Reply to: