drinkcat / chroagh

Chromium OS Archlinux Chroot Environment
BSD 3-Clause "New" or "Revised" License
241 stars 27 forks source link

Graphical access as non-root user #33

Closed markuman closed 10 years ago

markuman commented 10 years ago

I can't figured out how to start graphical applications (such as gajim for example) as a non-root user. With ubuntu raring it works fine as user.

What I've tried already in the chroot

     :~# xhost +
     :~# su - markus
     :~$ export DISPLAY=:0.0
     :~$ gajim

..gajim can't detect the X-Server as it looks like.

Any ideas?

markuman commented 10 years ago

Ok, don't do sudo startxfce4. Just do it as user and everything is fine!
This should be change in the README file.

drinkcat commented 10 years ago

@markuman : sudo startxfce4 needs to be run from outside the chroot (it's a crouton wrapper scripts).

But you're right, the way the README is worded is a bit confusing (you're not the first one to misunderstand)...

drinkcat commented 10 years ago

Fixed.