Page 1 of 6 123 ... LastLast
Results 1 to 10 of 55

Thread: After update, root works but not regular user

  1. #1

    Default After update, root works but not regular user

    Running 13.1, KDE, 64-bit. My current difficulty seems different from the other recent posts here.

    I got several updates a few hours ago and was told a restart was necessary. After the reboot, I didn't get a graphical desktop but only command prompt. I could login as root, then with startx get a desktop. However, if I login as my regular user (named "taxpayer"), "startx" gives an error message such as 'file /home/taxpayer/.serverauth.2581 does not exist'

    And I discovered that from root's desktop the "leave" button does not offer the "switch user" option that I'm accustomed to seeing as a regular user.

    So what might I do to start my regular user's graphical desktop?

    A few other details: My home partition is encrypted, but I entered the password when booting and as root I can read my files there. Yast "user and group management" shows my users, no problem indicated. Because my last prior reboot was about three weeks ago I cannot know what change (there have been dozens) might have caused the problem. However, I do know that the most recent update included "kernel desktop 3.11.10." I did try rebooting to an older desktop, but had the same problem.
    Last edited by rentpayer; 07-Feb-2014 at 08:27. Reason: missing users, desktop, KDE

  2. #2
    Join Date
    Feb 2010
    Location
    Royse City, TX
    Posts
    209

    Default Re: After update, root works but not regular user

    Try logging in as root and then try this instead of "startx":
    Code:
    rcxdm start

  3. #3

    Default Re: After update, root works but not regular user

    Quote Originally Posted by rentpayer View Post
    I got several updates a few hours ago and was told a restart was necessary. After the reboot, I didn't get a graphical desktop but only command prompt. I could login as root, then with startx get a desktop. However, if I login as my regular user (named "taxpayer"), "startx" gives an error message such as 'file /home/taxpayer/.serverauth.2581 does not exist'
    startx does not work as regular user by default.

    So what might I do to start my regular user's graphical desktop?
    Apparently it's kdm that fails to start, /var/log/kdm.log should provide a clue.
    Could you upload that to http://susepaste.org and post a link?

  4. #4

    Default Re: After update, root works but not regular user

    Quote Originally Posted by wolfi323 View Post
    startx does not work as regular user by default.


    Apparently it's kdm that fails to start, /var/log/kdm.log should provide a clue.
    Could you upload that to http://susepaste.org and post a link?
    Susepaste tells me I am spammer, and it isn't immediately evident how to avoid that. However, I did post /var/log/kdm.log to http://taxinsanity.wordpress.com/201...-difficulties/

    Also, responding to the suggestion by evetsnameloc, I tried as root entering "rcxdm start" and got the response "redirecting to systemctl start xdm.service" followed by command prompt and didn't note any other difference.

  5. #5
    Join Date
    Sep 2012
    Posts
    7,106

    Default Re: After update, root works but not regular user

    Quote Originally Posted by rentpayer View Post
    got the response "redirecting to systemctl start xdm.service" followed by command prompt and didn't note any other difference.
    Could you paste output of "systemctl status xdm.service"?

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: After update, root works but not regular user

    On 2014-02-07 16:36, rentpayer wrote:

    > I could login as root, then with startx get a desktop.
    > However, if I login as my regular user (named "taxpayer"), "startx"
    > gives an error message such as 'file /home/taxpayer/.serverauth.2581
    > does not exist'


    Expected. For that to work you have change certain permissions (in
    permissions.local). And it has security issues.

    > And I discovered that from root's desktop the "leave" button does not
    > offer the "switch user" option that I'm accustomed to seeing as a
    > regular user.


    Expected. That's a functionality that needs the graphical login manager,
    and you did not use it.

    --
    Cheers / Saludos,

    Carlos E. R.

    (from 13.1 x86_64 "Bottle" (Minas Tirith))

  7. #7

    Default Re: After update, root works but not regular user

    Quote Originally Posted by arvidjaar View Post
    Could you paste output of "systemctl status xdm.service"?
    Code:
    xdm.service - LSB: X Display Manager
       Loaded: loaded (/etc/init.d/xdm)
       Active: active (running) since Fri 2014-02-07 10:20:26 CST; 35min ago
      Process: 1042 ExecStart=/etc/init.d/xdm start (code=exited, status=0/SUCCESS)
       CGroup: /system.slice/xdm.service
               └─1118 /usr/bin/kdm
    
    Feb 07 10:20:26 monk.monksite systemd[1]: Starting LSB: X Display Manager...
    Feb 07 10:20:26 monk.monksite kdm_config[1119]: Multiple occurrences of section [General] in /usr/share/kde4/config/kdm/kdmrc. Consider merging them.
    Feb 07 10:20:26 monk.monksite kdm_config[1119]: Multiple occurrences of section [Xdmcp] in /usr/share/kde4/config/kdm/kdmrc. Consider merging them.
    Feb 07 10:20:26 monk.monksite kdm_config[1119]: Multiple occurrences of section [X-*-Core] in /usr/share/kde4/config/kdm/kdmrc. Consider merging them.
    Feb 07 10:20:26 monk.monksite kdm_config[1119]: Multiple occurrences of section [X-*-Greeter] in /usr/share/kde4/config/kdm/kdmrc. Consider merging them.
    Feb 07 10:20:26 monk.monksite xdm[1042]: Starting service kdm..done
    Feb 07 10:20:26 monk.monksite systemd[1]: Started LSB: X Display Manager.
    Feb 07 10:20:26 monk.monksite kdm[1118]: plymouth is running
    Feb 07 10:20:26 monk.monksite kdm[1118]: plymouth is active on VT 7, reusing for :0
    Feb 07 10:20:26 monk.monksite kdm[1118]: plymouth should quit after server startup
    Feb 07 10:20:27 monk.monksite kdm[1118]: Quitting Plymouth with transition
    Feb 07 10:20:27 monk.monksite kdm[1118]: Is Plymouth still running? no
    Feb 07 10:20:27 monk.monksite kdm_greet[1290]: Cannot create $HOME
    Feb 07 10:20:27 monk.monksite kdm[1289]: :0[1289]: Received unknown or unexpected command -2 from greeter
    Feb 07 10:20:27 monk.monksite kdm[1118]: plymouth is NOT running

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: After update, root works but not regular user

    On 2014-02-07 18:06, rentpayer wrote:
    >
    > arvidjaar;2622849 Wrote:
    >> Could you paste output of "systemctl status xdm.service"?

    >
    > Code:
    > --------------------


    > Feb 07 10:20:27 monk.monksite kdm_greet[1290]: Cannot create $HOME
    > --------------------


    Is your /home directory ok? Full perhaps?

    --
    Cheers / Saludos,

    Carlos E. R.

    (from 13.1 x86_64 "Bottle" (Minas Tirith))

  9. #9
    Join Date
    Sep 2012
    Posts
    7,106

    Default Re: After update, root works but not regular user

    Quote Originally Posted by rentpayer View Post
    Code:
    Feb 07 10:20:27 monk.monksite kdm_greet[1290]: Cannot create $HOME
    Feb 07 10:20:27 monk.monksite kdm[1289]: :0[1289]: Received unknown or unexpected command -2 from greeter
    I do not use KDE myself but this does not sound right. What are permissions of /tmp and /var/tmp? "ls -ld /tmp /var/tmp"?

  10. #10

    Default Re: After update, root works but not regular user

    Thanks for help, here is the requested information:

    Quote Originally Posted by arvidjaar View Post
    I do not use KDE myself but this does not sound right. What are permissions of /tmp and /var/tmp? "ls -ld /tmp /var/tmp"?
    Code:
    drwxr-xr-x 10 root root 4096 Feb  7 11:30 /tmp
    drwxrwxrwt 14 root root 4096 Feb  7 10:28 /var/tmp
    My home partition has >200 gb free
    Code:
    /dev/mapper/cr_ata-ST3500413AS_5VMPV5Y6-part6 353993756 138231180 214666884  40% /home
    and are not these permissions correct?
    Code:
    taxpayer@monk:/home> ls -al
    total 36
    drwxr-xr-x  6 root        root   4096 Dec 15 09:41 .
    drwxr-xr-x 29 root        root   4096 Feb  7 10:20 ..
    drwxr-xr-x 24 independent users  4096 Feb  7 09:40 independent
    drwx------  2 root        root  16384 Dec 14 21:16 lost+found
    drwxr-xr-x 54 taxpayer    users  4096 Feb  7 09:29 taxpayer


    /var and /tmp also have plenty of space
    Code:
    monk:/tmp # df .
    Filesystem         1K-blocks  Used Available Use% Mounted on
    /dev/mapper/cr_var  13215632 32832  12495084   1% /tmp
    monk:/tmp # cd ../var
    monk:/var # df .
    Filesystem           1K-blocks    Used Available Use% Mounted on
    /dev/mapper/cr_var_2  21901748 1277528  19555764   7% /var
    monk:/var #

Page 1 of 6 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •