Re: root-Befehl in chroot
Am Sonntag 06 August 2006 14:23 schrieb Wolf Wiegand:
> 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
das hat's gebracht, danke!
Klaus
> $ 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: