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

Thread: Opensuse default login manager

  1. #1

    Default Opensuse default login manager

    Hi guys! I wanted to give opensuse a try, so I took the chance of my debian partition being broken to replace it with OSuse 11.4.
    I come from Arch (which resides in my other partition), so I'm used to have my system under full control, by directly reading and manipulating the config text files. So in these days I'm reading the official OpenSuse Docs. Today I was concentrating on the boot and init part and I was wondering what is the default login manager of Opensuse, cause I noticed that kdm is installed, but is not present in /etc/init.d, whilst xdm is, marked with "S", therefore started.
    So I was wondering: is xdm the default login manager, or is it kdm, but called by some other script in the init sequence? I run OSuse with the default kde installation.
    Thanks in advance!

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,857
    Blog Entries
    20

    Default Re: Opensuse default login manager

    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3
    Join Date
    Jul 2010
    Location
    Adelaide, Australia
    Posts
    961

    Default Re: Opensuse default login manager

    it is KDM. I think xdm just runs the display manager specified in /etc/sysconfig/displaymanager
    Desktop: Gigabyte GA-Z270-HD3 - Core i7 7700K - openSUSE Leap 42.2 KDE
    Laptop: HP EliteBook 8770W - Core i7 3940XM - openSUSE Leap 42.2 KDE

  4. #4

    Default Re: Opensuse default login manager

    So, how is it technically run? I mean: In Arch, in the MODULES section of your /etc/rc.conf file, you set your display manager (i.e.: gdm), which the system can find in the /etc/rc.d folder (the equivalent bsd-like style of /etc/init.d). Then the dm starts X and all the other stuff. How is this done in OpenSuse, considering that no kdm exists in the init.d folder? Is /usr/bin/kdm started by any other script in the init.d dorectory?

    Off-topic: can anyone send me via pm the explanation about how to use and search entries in the opensuse wiki? I really can't figure it out!

  5. #5
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,685
    Blog Entries
    3

    Default Re: Opensuse default login manager

    Quote Originally Posted by xaber1488 View Post
    So, how is it technically run?
    The "/etc/init.d" startup scripts source the defines in the "/etc/sysconfig" settings, then use those in setting up the display manager and various other configurable features.
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

  6. #6

    Default Re: Opensuse default login manager

    Well, I get the stuff about sysconfig, in which you can define the default display manager... But what I'm trying to say is: apart from configuration, there must be some script which physically executes kdm... In Arch, this is the kdm script in /etc/rc.conf, which launches /usr/bin/kdm. I mean: inittab, fir example, defines that at the boot /etc/init.d/boot must be run, but then /etc/init.d/boot practically launches all the apps required for starting up the system. Now, sysconfig defines that kdm is the default dm, but, then, how is kdm launched at the startup? Which one is the script launching it? Maybe xdm, like Ah suggested?

  7. #7

    Default Re: Opensuse default login manager

    Got it! Here it is, in the kdm script in /etc/init.d

    [script]
    KDM_BIN=/opt/kde3/bin/kdm
    KDM4_BIN=/usr/bin/kdm
    WDM_BIN=/usr/bin/wdm
    SLIM_BIN=/usr/bin/slim
    LXDM_BIN=/usr/bin/lxdm
    ENTRANCE_BIN=/usr/sbin/entranced
    RELOADSIGNAL="-HUP"

    DM=${DISPLAYMANAGER##*/}

    case "${DM}" in
    kdm3) DISPLAYMANAGER=$KDM_BIN
    PIDFILE=$KDM_PIDFILE
    ;;
    kdm|kde|KDM|KDE) DISPLAYMANAGER=$KDM_BIN
    if [ ! -r "$DISPLAYMANAGER" ]; then
    DISPLAYMANAGER=$KDM4_BIN
    fi
    PIDFILE=$KDM_PIDFILE
    ;;
    kdm4) DISPLAYMANAGER=$KDM4_BIN
    PIDFILE=$KDM_PIDFILE
    ;;
    [/script]

    Thanks Ah!

    I didn't check all the script, cause it's pretty long, but I think it should be the "culprit"! If anyone got the technical knowledge to confirm it, please tell me!

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

    Default Re: Opensuse default login manager

    On 2011-05-08 23:36, xaber1488 wrote:
    > but, then, how is kdm
    > launched at the startup? Which one is the script launching it? Maybe
    > xdm, like Ah suggested?


    Of course. It knows what to start based in the sysconfig file.

    Alsmost everything is configured there. Then, there is a script,
    SuSEconfig, that applies the changes there to the appropriate configuration
    file for each program.

    If, for example, you want to configure postfix on your own, you would
    modify the "mail" file to tell it not to configure mail for you.

    On other cases, the system keeps md5 signatures of configuration files
    (/var/adm/SuSEconfig/md5/). If you change the corresponding configuration
    file manually, then SuSEconfig will refuse to touch it again.

    YaST also calls SuSEconfig.


    Typically, we use Yast at least once to configure each thing we want, then
    perhaps switch to the "manual" way. You can concentrate on learning how to
    configure the things you really need, and leave the rest on automatics.

    Saves time :-)

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

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

    Default Re: Opensuse default login manager

    On 2011-05-08 23:36, xaber1488 wrote:
    > Got it! Here it is, in the kdm script in /etc/init.d


    minas-tirith:~ # ls /etc/init.d/kdm
    ls: cannot access /etc/init.d/kdm: No such file or directory

    Telcontar:~ # which rckdm
    /usr/sbin/rckdm
    Telcontar:~ # l /usr/sbin/rckdm
    lrwxrwxrwx 1 root root 5 Dec 28 13:44 /usr/sbin/rckdm -> rcxdm*


    So, it is xdm.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

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

    Default Re: Opensuse default login manager

    On 2011-05-08 22:06, ah7013 wrote:
    >
    > it is KDM. I think xdm just runs the display manager specified in
    > /etc/sysconfig/displaymanager


    That's different, that's a binary. Different job.


    Telcontar:~ # l /usr/bin/kdm
    -rwxr-xr-x 1 root root 169128 Mar 15 2010 /usr/bin/kdm*
    Telcontar:~ # file /usr/bin/kdm
    /usr/bin/kdm: ELF 64-bit LSB executable, x86-64, version 1 (SYSV),
    dynamically linked (uses shared libs), for GNU/Linux 2.6.4, stripped

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

Page 1 of 2 12 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
  •