Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-31-2007, 03:20 PM   #1
Senior Member
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
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:
[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

Last edited by pwc101; 12-31-2007 at 03:25 PM.
Old 01-01-2008, 08:32 AM   #2
Registered: Aug 2007
Location: The Netherlands
Distribution: Fedora 7 x86_64
Posts: 119

Rep: Reputation: 15
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
sudo /usr/bin/chroot /home/chroot /bin/su - xxx| /bin/su: user xxx does not exist saavik Linux - General 3 07-04-2007 11:30 AM
How do I chroot a user? reeseslover531 Linux - Security 7 10-22-2006 02:49 PM
chroot user mikeshn Linux - General 3 02-03-2005 03:36 PM
startx doesn't startx for user vdemuth Mandriva 10 11-08-2004 08:41 PM
chroot sftp user? cliffyman Linux - Security 8 05-08-2003 10:58 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration