LinuxQuestions.org
Help answer threads with 0 replies.
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 04-11-2006, 06:02 AM   #1
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
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
 
Old 04-11-2006, 06:17 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,516

Rep: Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501Reputation: 1501
You can use adduser to create users (which creates also their homedirs). Else you have create them manually and then change the ownership
 
Old 04-11-2006, 06:19 AM   #3
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
Try using the 'adduser' command. It should then create the other info for users. password, home directory etc.
 
Old 04-11-2006, 06:35 AM   #4
Linocks
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
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

I can't help with the X problem

I am also a Linux

Last edited by Linocks; 04-11-2006 at 06:39 AM.
 
Old 04-11-2006, 06:44 AM   #5
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,811
Blog Entries: 1

Original Poster
Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
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=/
 
Old 04-11-2006, 07:40 AM   #6
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,811
Blog Entries: 1

Original Poster
Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
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
 
Old 10-14-2006, 06:04 PM   #7
sic_boy
LQ Newbie
 
Registered: May 2006
Location: Montreal
Distribution: Slackware 10.2 & 11
Posts: 3

Rep: Reputation: 0
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
 
  


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
when i try to start samba pdc's smb service nmbd failed to start . sandeepchau123 Linux - Newbie 2 10-20-2007 02:59 PM
disable cold start and warm start snmp traps chkisco Linux - Newbie 0 10-28-2005 03:58 AM
fc2-gnome : Applications dont start / very slow to start nox104 Linux - Software 0 08-18-2004 09:53 PM
How to start korganiser and reminger agent whenever i start the x deskTop seastar Linux - Software 5 08-15-2004 11:29 PM
Can I gett KPPP to start when I start a browser on a network machine? duffboygrim Linux - Networking 0 03-25-2004 05:49 PM


All times are GMT -5. The time now is 12:08 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