Announcement

Collapse
No announcement yet.

problem logging in as main user

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    problem logging in as main user

    When I try to log in to KDE using my main user account, I get my KDE wallpaper with a console window in the top left, and nothing else. typing starkde causes KDE to start, but it then immediately kicks me back to the login screen. By booting in recovery mode and running startx I was able to get into KDE; I made a second user account, with which I can log into KDE using the normal method, but I still can't log in using my main account. Any ideas?

    #2
    Re: problem logging in as main user

    While it may be possible to track down what configuration file is messed up in /home/mainuser, I think your best bet is to ditch your main user account and just use the second user account.

    Boot into recovery mode.

    Then type
    Code:
    adduser seconduser admin
    seconduser should be the second user you've already made "with which [you] can log into KDE using the normal method." This command will add the second user to the admin group in order to perform administrative (sudo) tasks.
    Code:
    usermod -l mainuser backupuser
    This will change the username of the main user to something else.
    Code:
    usermod -l seconduser mainuser
    This will change the username of the second user to the main user's original username.
    Code:
    reboot
    Then log in as the second user. Press Alt-F2. Type
    Code:
    kdesu konqueror
    Retrieve all the personal files (documents, picture, music, whatever) from /home/backupuser and copy them to /home/mainuser. When you're done, type this command into the terminal:
    Code:
    sudo chown -R mainuser:mainuser /home/mainuser
    This will make sure the new main user (the one that used to be the old user) has ownership of all the personal files. Finally, go to KMenu > System > Users and Groups (or whatever it's called...
    Code:
    kdesu kuser
    may be the command) and make sure your new user is in all the other appropriate groups (to play audio, etc.).
    Linux is ready for the desktop--but whose desktop?<br />How to install software in Kubuntu

    Comment


      #3
      Re: problem logging in as main user

      I'm slightly reluctant to do that. Further fiddling has revealed that if, from the login screen, I select console login and log in using my main user account, running startx causes KDE to run perfectly. Does that give any clue as to what might be wrong?

      Comment

      Working...
      X