Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: xdm login loop

  1. #1

    Default xdm login loop

    Ok, guys, here we go. First of all, I'm pretty new to oS. Came from Ubuntu.
    Being a fan of minimalizm, I did a fresh 11.4 install with minimal server selection. Successful. Reboot. XDM ugly login screen comes up. Filled up the fields, login correct, screen blackout and here comes the login screen again. WTF? What did I miss?
    Surely I can exit to console, edit /etc/permissions.local followed by su SuSEconfig --module permissions and use startx, but that's not a option for me. I want the ********** xdm login screen start my IceWM session! Period.
    Any ideas? Any help is welcome and thanks in advance!

  2. #2

    Default Re: xdm login loop

    Quote Originally Posted by rgnr123 View Post
    Surely I can exit to console, edit /etc/permissions.local followed by su SuSEconfig --module permissions and use startx, but that's not a option for me.
    I would do it (for now) to find out if it's an xdm or other Xorg issue. You can reverse this permission later. In order to use startx as user, you might have to set the SUID bit to Xorg, so:

    Code:
    sudo chmod 4711 /usr/bin/Xorg
    Of course, you can reverse that later too.

    Hmm ... I was about to say Xorg was SUID on previous openSUSE versions and still is on all other distros. Last time I checked, I guess it was the case in Ubuntu too. Now I just noticed that it has changed under Ubuntu and remember that I had to find out why users could not log in in gdm anymore since last update. You might just have answered my question.

  3. #3
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,683
    Blog Entries
    4

    Default Re: xdm login loop

    You mentioned icewm. Does login work with other desktop managers, e.g. kde? If so then the problem is with the icewm setup.

  4. #4

    Default Re: xdm login loop

    Quote Originally Posted by ken_yap View Post
    You mentioned icewm. Does login work with other desktop managers, e.g. kde? If so then the problem is with the icewm setup.
    The first thing I actually do about icewm is removing icewm-lite (which is installed by default).

    check with:

    Code:
    rpm -qa | grep icewm
    and if it doesn't say:

    Code:
    icewm-default-1.3.6-9.1.xxx
    icewm-1.3.6-9-1.xxx
    deinstall the package icewm-lite:
    Code:
    zypper rm icewm-lite
    It should get replaced by icewm-default, which is already light enough and much better anyway.

  5. #5

    Default Re: xdm login loop

    Quote Originally Posted by please_try_again View Post
    I would do it (for now) to find out if it's an xdm or other Xorg issue. You can reverse this permission later. In order to use startx as user, you might have to set the SUID bit to Xorg, so:

    Code:
    sudo chmod 4711 /usr/bin/Xorg
    Of course, you can reverse that later too.

    Hmm ... I was about to say Xorg was SUID on previous openSUSE versions and still is on all other distros. Last time I checked, I guess it was the case in Ubuntu too. Now I just noticed that it has changed under Ubuntu and remember that I had to find out why users could not log in in gdm anymore since last update. You might just have answered my question.
    Ok, so I chmoded Xorg and started Icewm. But still it's not a solution, as I cannot startx Icewm from login screen

  6. #6

    Default Re: xdm login loop

    Quote Originally Posted by rgnr123 View Post
    Ok, so I chmoded Xorg and started Icewm. But still it's not a solution, as I cannot startx Icewm from login screen
    I think, the problem with xdm would be that an icewm.desktop session file might be missing then. Make sure there is one in /usr/share/xsessions (provided xdm look for it at this location).

  7. #7

    Default Re: xdm login loop

    Quote Originally Posted by please_try_again View Post
    I think, the problem with xdm would be that an icewm.desktop session file might be missing then. Make sure there is one in /usr/share/xsessions (provided xdm look for it at this location).
    nah, the file is there

  8. #8

    Default Re: xdm login loop

    Do you have icewm-lite or icewm-default ?

  9. #9

    Default Re: xdm login loop

    Anyway, you can try to add these two lines to your ~/.profile:
    Code:
    export WINDOWMANAGER=icewm
    export WINDOW_MANAGER=icewm
    One of them ... or both might work.

    If it doesn't, you can try to start icewm from your ~/.xsession file.

  10. #10

    Default Re: xdm login loop

    Quote Originally Posted by please_try_again View Post
    Do you have icewm-lite or icewm-default ?
    icewm-default

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 6
    Last Post: 16-Sep-2010, 12:29
  2. pam_mount update segfaults login - xdm
    By patrickme in forum Applications
    Replies: 5
    Last Post: 15-Oct-2008, 06:26

Tags for this Thread

Posting Permissions

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