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 |
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. |
Hi Nylex,
Tks for your advice. I'll run "adduser" to create it. Quote:
I can't find an option on "useradd" to remove/delete it. Tks. B.R. satimis |
You should be able to use the following to remove the user, their home directory and mail spool:
Code:
userdel -r satimis |
for useradd, do the following:
useradd -m -s /bin/bash USERNAME passwd USERNAME and you should be solid |
Quote:
satimis |
All times are GMT -5. The time now is 12:33 AM. |