Incidentally, I tried to get into it like this, which I'm sure isn't the correct way. I should say I had a few slightly different goes beforehand, and got a message about X being "locked" after too many false starts, till I fixed it.So that may be reflected in these messages, but it isn't the original problem:
Code: Select all
root[vanilla]# mount /dev/sda1 /tmp/xmonad
root[vanilla]# chroot --userspec=mimosa /tmp/xmonad
bash: /root/.bashrc: Permission denied
mimosa[/]$ startx
xauth: timeout in locking authority file /root/.serverauth.2483
xauth: error in locking authority file /home/vanilla/.Xauthority
xauth: error in locking authority file /home/vanilla/.Xauthority
xauth: error in locking authority file /home/vanilla/.Xauthority
xauth: error in locking authority file /home/vanilla/.Xauthority
_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't already running
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.
No protocol specified
No protocol specified
No protocol specified
No protocol specified
xinit: giving up
xinit: unable to connect to X server: Resource temporarily unavailable
xinit: server error
xauth: error in locking authority file /home/vanilla/.Xauthority
rm: cannot remove `/root/.serverauth.2483': Permission denied
mimosa[/]$