LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Display Managers (https://www.linuxquestions.org/questions/slackware-14/display-managers-4175731920/)

business_kid 12-18-2023 12:55 PM

Display Managers
 
Somebody enlighten me about Display Managers pls. I have Slackware-15.0 with XFCE. I don't have any kde packages installed.

/etc/rc.d/rc.4 makes 2 attempts to start gdm before anything else, although AFAIK, it doesn't exist on the dvd as it's a part of gnome. Then it tries for sddm, which appears last in a 32bit version for 14.2. It doesn't exist either, of course.

Lastly, it has comments to the effect that if we've no decent DMs, we'll have to suck it up and use xdm. Unusually, Slackware only supplies xdm, so X starts.

So:
  • What's so bad about xdm?
  • Is lightdm (Which slarm64 uses on my RazPi 4) any better?
  • Is it a good idea to run kdm (which slackware presumably supplies) for xfce and how much else of kde does kdm need?

marav 12-18-2023 01:33 PM

In a perfect world, everyone does a full install and ends up on sddm (which, along with xdm is the only one provided by Slackware, but is started up earlier in the rc.4 script) regardless of the WM or DE used.

And everything works as it should

But, if you haven't installed kde/, you will land on xdm
Another possibility is to use a 3rd party DM like lightDM (provided by Monsieur Spaier for example)
https://slackware.uk/slint/x86_64/slint-15.0/source/
and lightDM & lighDM-*

Side note: As long as xdm is supplied by Mr. Volkerding, we can consider it safe & effective

Timothy Miller 12-18-2023 01:35 PM

sddm = kdm with the Plasma 5 transition.

Didier Spaier 12-18-2023 04:19 PM

Quote:

Originally Posted by marav (Post 6471197)
Another possibility is to use a 3rd party DM like lightDM (provided by Monsieur Spaier for example)
https://slackware.uk/slint/x86_64/slint-15.0/source/

If you want to try be aware that:
  1. You will also need lightdm-greeter-gtk and preferably lightdm-gtk-greeter-settings
  2. To build these packages you will need also the package slkbuild as for these I wrote SLKBUILDs, not SlackBuils as build scripts.
  3. If you are confident enough, you can save you some hassle installing pre-built packages available in https://slackware.uk/slint/x86_64/slint-15.0/slint/ Caveat: they work on Slackware 15.0, probably not in -current.

ZhaoLin1457 12-18-2023 04:23 PM

The SDDM is a Qt5 only application and it can be installed without the other packages from /kde series.

BrunoLafleur 12-18-2023 04:35 PM

Quote:

Originally Posted by business_kid (Post 6471189)
...[*]Is it a good idea to run kdm (which slackware presumably supplies) for xfce and how much else of kde does kdm need?[/LIST]

Kdm is from KDE4 and is not modularized as Sddm from KDE5 is. It comes with kde-workspace from KDE4 which is the whole core of Kde4.

Another simple DM is gdm from GNOME 2 which has few dependencies : libart_lgpl and libgnomecanvas.

marav 12-18-2023 04:55 PM

Quote:

Originally Posted by Didier Spaier (Post 6471225)
If you want to try be aware that:
  1. You will also need lightdm-greeter-gtk and preferably lightdm-gtk-greeter-settings
  2. To build these packages you will need also the package slkbuild as for these I wrote SLKBUILDs, not SlackBuils as build scripts.
  3. If you are confident enough, you can save you some hassle installing pre-built packages available in https://slackware.uk/slint/x86_64/slint-15.0/slint/ Caveat: they work on Slackware 15.0, probably not in -current.

I mentioned them:
Quote:

Originally Posted by marav (Post 6471197)

Right, I should have quoted the binaries instead of the sources
And, it works well in -current, at least the last time I tested it :-)

Didier Spaier 12-18-2023 05:09 PM

Quote:

Originally Posted by BrunoLafleur (Post 6471229)
Kdm is from KDE4 and is not modularized as Sddm from KDE5 is. It comes with kde-workspace from KDE4 which is the whole core of Kde4.

Another simple DM is gdm from GNOME 2 which has few dependencies : libart_lgpl and libgnomecanvas.

and also libcroco, but I agree: I ceased to ship it in Slint-15.0 because of security concerns (it hasn't been maintained for ages) but I regret it: more features than any other, and also fully accessible with speech.

DryFalls 12-18-2023 08:28 PM

I use xdm. It's quick and pretty hassle-free. For frills, try Alien Bob's (Eric Hamleer) iteration of xdm included on his Live iso's (and available on SBo as xdm-slackware-theme) or slackware-xdm-theme also at SBo.

henca 12-19-2023 01:33 AM

Quote:

Originally Posted by business_kid (Post 6471189)
What's so bad about xdm?

Xdm works fine, but lacks som nice features like a menu to choose desktop environment. Instead the choice of desktop environment has to be hardcoded in a file in each users home directory unless they want the system default desktop environment.

If I remember right xdm also lacks support for starting multiple sessions for different users on the same machine on different virtual consoles. This is a functionality that is initialized by the screen saver, when you come to a screen that has been locked by another user you get the choice to start a new session and will get something like display :1 reachable by ctrl-alt-f8. The previous user can get back to his/her session by pressing ctrl-alt-f7.

Quote:

Originally Posted by business_kid (Post 6471189)
Is lightdm (Which slarm64 uses on my RazPi 4) any better?

As SDDM did not cut the mustard I evaluated a number of different login managers, but lightdm did not meet all my requirements. If I remember right it could not present a list of selected users only for a system getting its users from a NIS server.

Quote:

Originally Posted by business_kid (Post 6471189)
Is it a good idea to run kdm (which slackware presumably supplies) for xfce and how much else of kde does kdm need?

I ended up installing the base core of TDM (Trinity Desktop Environment) just to be able to run tdm which behaves like good old kdm.

SDDM would give the user a menu to choose desktop environment, but that was about the only good thing with SDDM. It failed presenting selected users from a NIS server, it did not support XDMCP and it seemed to be in some buggy pre-beta status.

regards Henrik

jmccue 12-19-2023 08:16 AM

I use xdm mainly because it does not undo any changes I make via xrandr. If using an external monitor, I manually use xrandr to enable the monitor and disable the laptop screen. If I exit out, sddm resets to use both monitors. (I like using only 1 monitor at a time).

But seems after a while, I loose just the F-Keys while in a window manager started via xdm, sddm no issues (in the past it was all keys via xdm). I had found a workaround, but seems after some past upgrade that workaround stopped working. I have been trying to find another method but it is slow going.

Seems only with fluxbox the issue does not occur (something new). It happens with fvwm2&3, twm, mwm and a few others. It happens with and without using an external monitor.

Will update the blog if I find a 'fix".

Regnad Kcin 12-19-2023 09:48 AM

In an ideal world, it's runlevel 3.

business_kid 12-19-2023 09:59 AM

Well, thank you all for the detailed and informative replies. I have all the information I want, with more than a little left over. Accordingly, marking this solved.

So, xdm isn't that bad, sddm isn't that good (Not that I'll ever set up NIS here!), kdm has lots of dependencies, and gdm is either perfect or needs maintaining. So, if I do nothing, I'm OK.

GazL 12-20-2023 09:11 AM

Quote:

Originally Posted by henca (Post 6471290)
Xdm works fine, but lacks som nice features like a menu to choose desktop environment. Instead the choice of desktop environment has to be hardcoded in a file in each users home directory unless they want the system default desktop environment.

That part isn't entirely true. There's certainly no on screen menu and its a bit of a hidden feature, but you can configure xdm to choose different sessions based on a keypress at login time. I've been using that for many years here.

The XDM config and companion Xsession script as shipped in slackware are pretty horrid. One can make it much nicer.

Gnisho 12-22-2023 11:59 PM

Quote:

Originally Posted by henca (Post 6471290)
If I remember right xdm also lacks support for starting multiple sessions for different users on the same machine on different virtual consoles.

You can add more X sessions in /etc/X11/xdm/Xservers. Additional sessions start on next available virtual console. I usually have X on :0 and Xvnc on :1


All times are GMT -5. The time now is 12:24 PM.