LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-18-2023, 12:55 PM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,366

Rep: Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335
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?
 
Old 12-18-2023, 01:33 PM   #2
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,388

Rep: Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109
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

Last edited by marav; 12-18-2023 at 01:39 PM.
 
3 members found this post helpful.
Old 12-18-2023, 01:35 PM   #3
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,005
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
sddm = kdm with the Plasma 5 transition.
 
Old 12-18-2023, 04:19 PM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
Quote:
Originally Posted by marav View Post
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.

Last edited by Didier Spaier; 12-18-2023 at 04:33 PM.
 
Old 12-18-2023, 04:23 PM   #5
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,025

Rep: Reputation: 1214Reputation: 1214Reputation: 1214Reputation: 1214Reputation: 1214Reputation: 1214Reputation: 1214Reputation: 1214Reputation: 1214
The SDDM is a Qt5 only application and it can be installed without the other packages from /kde series.
 
Old 12-18-2023, 04:35 PM   #6
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 403

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
Quote:
Originally Posted by business_kid View Post
...[*]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.
 
1 members found this post helpful.
Old 12-18-2023, 04:55 PM   #7
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,388

Rep: Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109Reputation: 4109
Quote:
Originally Posted by Didier Spaier View Post
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 View Post
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 :-)
 
Old 12-18-2023, 05:09 PM   #8
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
Quote:
Originally Posted by BrunoLafleur View Post
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.
 
Old 12-18-2023, 08:28 PM   #9
DryFalls
Member
 
Registered: Apr 2021
Posts: 43

Rep: Reputation: Disabled
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.
 
Old 12-19-2023, 01:33 AM   #10
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 979

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Quote:
Originally Posted by business_kid View Post
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 View Post
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 View Post
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
 
2 members found this post helpful.
Old 12-19-2023, 08:16 AM   #11
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 698
Blog Entries: 1

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
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".
 
1 members found this post helpful.
Old 12-19-2023, 09:48 AM   #12
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
In an ideal world, it's runlevel 3.
 
3 members found this post helpful.
Old 12-19-2023, 09:59 AM   #13
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,366

Original Poster
Rep: Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335
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.
 
Old 12-20-2023, 09:11 AM   #14
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,904

Rep: Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025
Quote:
Originally Posted by henca View Post
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.
 
Old 12-22-2023, 11:59 PM   #15
Gnisho
Member
 
Registered: Aug 2012
Location: WA
Distribution: slackware
Posts: 72

Rep: Reputation: Disabled
Quote:
Originally Posted by henca View Post
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
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
inxi + window managers using other window managers h2-1 Linux - Desktop 16 12-21-2023 06:29 PM
Different display managers on different screens 4of11 Linux - Software 1 07-08-2004 01:13 PM
Installing '3rd party' display managers in FC2 paegus Linux - Software 0 06-21-2004 01:56 PM
display managers? citrus Linux - General 4 02-17-2004 09:45 AM
Window Managers vs. Desktop Managers mikeshn Linux - General 4 02-11-2004 11:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration