LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-14-2008, 06:00 AM   #1
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,033

Rep: Reputation: 69
A question about a new user account


I've been running backtrack 3 and have been using only the root account. So I made a new account. When I log into that new account, and try to run an x-server, startx returns unable to modify xorg.conf logs. I'm unable to bring up an x-server(gui) as this new user. I know that this is a permissions issue. Is there a quick command that makes my new user a setuid for the vital executions like startx and mounting filesystems? Would running chmod 755 * /etc/X11 fix the startx issue? Probably overkill. Any suggestions?
 
Old 12-14-2008, 06:36 AM   #2
x_terminat_or_3
Member
 
Registered: Mar 2007
Location: Plymouth, UK
Distribution: Fedora Core, RHEL, Arch
Posts: 342

Rep: Reputation: 38
The X server always runs as root.

Your best bet is to install `gdm' or `kdm'

Those processes will start your X server as root, present the user with a log-in prompt, then run everything else as that user.
 
Old 12-14-2008, 10:37 AM   #3
trist007
Senior Member
 
Registered: May 2008
Distribution: Slackware
Posts: 1,033

Original Poster
Rep: Reputation: 69
I found that all I had to do was go under the konqueror start icon --> switch user --> start new session. I was able to login as my other char. Also, got a new and cool desktop theme that actually looks nicer and cleaner and has cool soundfx hehe. Of course, my root account is still running. Is this ok? I guess the root account has to be running to maintain the x server and all the other vital functions. Thanks again man.
 
Old 12-14-2008, 10:48 AM   #4
x_terminat_or_3
Member
 
Registered: Mar 2007
Location: Plymouth, UK
Distribution: Fedora Core, RHEL, Arch
Posts: 342

Rep: Reputation: 38
Although this works, it is not the recommended way.

Aside from that, as soon as you have logged on as your `other char', you should be able to switch back to your root account and log out from that, without interfering with your `other char'.

X servers usually live on Virtual Terminal 7, so when you log in as your `other char', it will use VT 8.

To switch between the 2 accounts, type

CTRL+ALT+F7

(that means, press and hold control, press and hold alt, then press f7, then release all keys)

If all you get is a black screen, or a black screen with text on it, cycle through all the CTRL+ALT+F1 ... CTRL+ALT+F12 key combinations to find where your X server(s) are running.
 
  


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
Prevent user account from logging in but allow su to account DejaCpp Linux - General 4 07-26-2006 11:44 AM
User Account to Access Another Account benfaust Linux - General 2 06-28-2006 12:26 PM
is it legitimate and allowed and can be done to make another user account set uid and gid to null 0 to make another root account with different name and possibly not damage the debian system creating and using that new account BenJoBoy Linux - Newbie 12 01-29-2006 10:02 AM
User account question ! suakki Linux - Software 2 05-03-2004 05:56 PM
permissions question... can I make a directory writable from my user account hindenbergbaby Linux - Newbie 9 10-20-2003 04:42 PM


All times are GMT -5. The time now is 08: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration