LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   chroot linux on another partition and startx as user? (https://www.linuxquestions.org/questions/linux-software-2/chroot-linux-on-another-partition-and-startx-as-user-610193/)

pwc101 12-31-2007 02:20 PM

chroot linux on another partition and startx as user?
 
I have a dual boot set up with Slackware (which is my main OS) and PCLinuxOS (at the moment). Using these instructions, I have successfully started another instance of PCLinuxOS on tty 8. However, I am only able to do this as root. If I try as su-ing to an ordinary user, I received this error:
Code:

[pwc101@linux ~]$ startx
hostname: Host name lookup failure
xauth:  creating new authority file /home/pwc101/.serverauth.5803
Authentication failed - cannot start X server.
Perhaps you do not have console ownership?xinit:  Server error.
[pwc101@linux ~]$ giving up.

How can I set this up so it works as an ordinary user? Any thoughts welcome :)

nan0meter 01-01-2008 07:32 AM

1 ) You can try modifying that user and add it to the "root" group.
2 ) Look for the auth file in /root/ and copy it to the user you want to be able to start the xserver.


All times are GMT -5. The time now is 10:53 PM.