LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   A question about a new user account (https://www.linuxquestions.org/questions/linux-newbie-8/a-question-about-a-new-user-account-690480/)

trist007 12-14-2008 06:00 AM

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?

x_terminat_or_3 12-14-2008 06:36 AM

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.

trist007 12-14-2008 10:37 AM

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.

x_terminat_or_3 12-14-2008 10:48 AM

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.


All times are GMT -5. The time now is 11:06 AM.