LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   User can't start X (https://www.linuxquestions.org/questions/slackware-14/user-cant-start-x-524892/)

satimis 02-02-2007 12:52 AM

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

Nylex 02-02-2007 12:56 AM

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.

satimis 02-02-2007 01:08 AM

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

gilead 02-02-2007 01:12 AM

You should be able to use the following to remove the user, their home directory and mail spool:
Code:

userdel -r satimis

loserveg 02-02-2007 01:29 AM

for useradd, do the following:

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

and you should be solid

satimis 02-02-2007 03:23 AM

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


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