LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 12-31-2007, 02:20 PM   #1
pwc101
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:
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

Last edited by pwc101; 12-31-2007 at 02:25 PM.
 
Old 01-01-2008, 07:32 AM   #2
nan0meter
Member
 
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.
 
  


Reply


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 10:30 AM
How do I chroot a user? reeseslover531 Linux - Security 7 10-22-2006 01:49 PM
chroot user mikeshn Linux - General 3 02-03-2005 02:36 PM
startx doesn't startx for user vdemuth Mandriva 10 11-08-2004 07:41 PM
chroot sftp user? cliffyman Linux - Security 8 05-08-2003 09:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:26 PM.

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