LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can't start x (https://www.linuxquestions.org/questions/linux-newbie-8/cant-start-x-434009/)

sycamorex 04-11-2006 05:02 AM

can't start x
 
Hallo, I just installed Slackware 10.2 at work (not connected to the internet).
It boots up in CLI mode. When I want to startx it works perfectly as a root, however, when I am logged in as a normal user, it gets the following error:

There was an error setting up inter-process communications for KDE. The message returned by the system was:
Could not read network connection list
//.DCOPserver_linhost_0
Please check that the dcopserver is running


How can I check it? What am I supposed to do?
One more thing, When I was creating normal users
I just
1. useradd name_of_user
2.created the password for each user

There are no user directories in /home directory
That may be the reason. How can I assign home directories to particular users?
thank you

bathory 04-11-2006 05:17 AM

You can use adduser to create users (which creates also their homedirs). Else you have create them manually and then change the ownership

BittaBrotha 04-11-2006 05:19 AM

Try using the 'adduser' command. It should then create the other info for users. password, home directory etc.

Linocks 04-11-2006 05:35 AM

Users & Home Directories!
 
When adding a user you can specify their home directory and group with the below command : -
[root@newbie tmp]# useradd -g users -d /home/user1

Then define their passwords with : -
[root@newbie tmp]# passwd user1

:scratch: I can't help with the X problem

;) I am also a Linux :newbie:

sycamorex 04-11-2006 05:44 AM

I used useradd -d /home/client client
passwd client....etc

to create user: client
and home directory: /home/client

everthing seems ok, apart from the fact that it doesn't
create the user directory, and when I log in as a user in runlevel 3, Iget

No directory, logging in with HOME=/

sycamorex 04-11-2006 06:40 AM

Ok, fixed
I just created users from GUI, and the home directories have been created, and that is why,
startx works now with any user.
btw, i still don't know what was wrong with my cli commands:(

sic_boy 10-14-2006 05:04 PM

Oh, I'm dumb--fixed it
 
Yeah, besides the lengthy post prior to this one..I forgot to chmod my /. under my user, which is why .kde couldn't write a new session.
After that, I chmodded it home/<username>/.* which may or may not have been a requirement, and PRESTO startx-->KDE.
Sorry for wasting any time you spent looking at this, if it helps great, if it's gibberish, post back as I have email notification up and am willing to help as long as I don't break your box. I do know the difference, too...not a hero/just another happy n00b w/ experience


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