You are not logged in.

#1 2007-07-30 04:27:45

sdelano
Member
Registered: 2007-07-30
Posts: 7

X wont start unless root

So I got everything installed the way I want it but I did it as the root user. Now when I try to start X with the new user account I created, it will not work. I even copied all of the files from /root/ to /home/userid/ including the hidden files. It still wont work. I did moduser -d /home/userid/ userid to make sure.

When I say x wont start it just hangs when running startx. The error comes up that "Hostname: unknown host" but that comes up when I run startx as root as well.

What is the problem here? I dont want to be forced to run as root forever.

Thanks,
sdelano

Offline

#2 2007-07-30 04:56:38

nikron
Member
Registered: 2007-05-15
Posts: 130

Re: X wont start unless root

You own your home directory, right?  I'm not familiar what the moduser command does, I assume it does that?

Offline

#3 2007-07-30 05:03:53

sdelano
Member
Registered: 2007-07-30
Posts: 7

Re: X wont start unless root

good call...now it works

next time is there a better way to get all of the config files set up for a new user?

Thanks

Offline

#4 2007-07-30 13:48:07

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: X wont start unless root

when you add a user, use the adduser script, not useradd.  adduser is an interactive script included with arch to make your life easier smile


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

Board footer

Powered by FluxBB