LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-02-2007, 12:52 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,679

Rep: Reputation: 55
User can't start X


Hi folks,

Slackware-11.0
KDE 3.5

Ran;
# useradd satimis
# passwd satimis

User added. After login

$ startx
it just hung there

However root can start KDE by running "startx"

Besides.
$ ls
displaying
/ directories NOT
Desktop etc.

Pls advise how to fix this problem.


B.R.
satimis
 
Old 02-02-2007, 12:56 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Looking at the man page for useradd, it seems there's supposed to be a file in /etc/default for setting the default options when you create a user (things like home directory, etc). Slack doesn't appear to have this file, so if you want to use useradd to create your user accounts, then look at the man page to see how to set various things.

I'd suggest just deleting that account and then using adduser to create a new one, as it's much easier to use IMO.
 
Old 02-02-2007, 01:08 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,679

Original Poster
Rep: Reputation: 55
Hi Nylex,

Tks for your advice. I'll run "adduser" to create it.

Quote:
I'd suggest just deleting that account and then using adduser to create a new one, as it's much easier to use IMO.
Pls advise how to delete/remove satimis

I can't find an option on "useradd" to remove/delete it. Tks.


B.R.
satimis
 
Old 02-02-2007, 01:12 AM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,138

Rep: Reputation: 167Reputation: 167
You should be able to use the following to remove the user, their home directory and mail spool:
Code:
userdel -r satimis
 
Old 02-02-2007, 01:29 AM   #5
loserveg
LQ Newbie
 
Registered: Jan 2007
Distribution: Slackware 11.0
Posts: 17

Rep: Reputation: 0
for useradd, do the following:

useradd -m -s /bin/bash USERNAME
passwd USERNAME

and you should be solid
 
Old 02-02-2007, 03:23 AM   #6
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,679

Original Poster
Rep: Reputation: 55
Quote:
Originally Posted by loserveg
for useradd, do the following:

useradd -m -s /bin/bash USERNAME
passwd USERNAME

and you should be solid
Noted with tks.

satimis
 
  


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
how to start x as user and not root? SharpyWarpy Fedora 5 06-22-2005 04:17 PM
xfce4 won't start for a user hussar Slackware 4 04-08-2005 08:33 AM
I can start X with root but not with another user pewillette Linux - Newbie 4 04-21-2004 06:58 PM
cannot start kdeas user ,can start icewm,fluxbox jackren Debian 1 02-29-2004 11:06 PM
Can't start X with an user PatomaS Mandriva 5 12-02-2003 09:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:33 AM.

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