rawsh
rawsh

Reputation: 425

Chroot to gui is not working

I recently bought an ssd but kept my hdd (with arch installed on both drives). What I am trying to do is run steam from my hdd using chroot.

My steps:

Here I get

xauth:  error in locking authority file /home/robert/.Xauthority

_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

I've made .Xauthority read/write for all.

I have my home partition separate from my root partition on the drive I am chrooting into. Could this cause issues?

Upvotes: 1

Views: 2840

Answers (1)

rawsh
rawsh

Reputation: 425

I just figured this out.

Instead of making a separate X display, you can just run the applications on your desktop X:

xhost +local:
sudo chroot /mnt
export DISPLAY=:0
gedit

Upvotes: 2

Related Questions