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

Re: root-Befehl in chroot



Hallo,

Klaus Becker wrote:

> Graphische Programme im chroot starte ich mit dchroot, aber als root?

dchroot kenne ich nicht, aber grafische Programme lassen sich so
starten:

Außerhalb des chroots:

$ sudo cp $HOME/.Xauthority /tmp/chroot/root/.Xauthority
$ sudo mount --bind /tmp/.X11-unix/ /tmp/chroot/tmp/.X11-unix/

Im chroot:

export XAUTHORITY=/root/.Xauthority
export DISPLAY=:0.0

hth, Wolf
-- 
Being normal sucks



Reply to: