LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-20-2021, 08:29 AM   #1
timsoft
Member
 
Registered: Oct 2004
Location: scotland
Distribution: slackware 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 420

Rep: Reputation: 111Reputation: 111
Question changing to graphical login on current kdm is missing


Hi All, I have come accross a problem in that normally to enable graphical boot/login I just change the id entry in inittab from 3 to 4
Trying it with current didn't work for me.
I checked the rc.4 script to see what should be happening.
sddm doesn't appear to work on my test machine, and kdm is missing entirely.

startx from text login works fine.
what happened to the kde login manager? I can't find it when greping /var/lib/pkgtool/packages/*
 
Old 07-20-2021, 08:33 AM   #2
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 1,507

Rep: Reputation: 1228Reputation: 1228Reputation: 1228Reputation: 1228Reputation: 1228Reputation: 1228Reputation: 1228Reputation: 1228Reputation: 1228
Quote:
Originally Posted by timsoft View Post
Hi All, I have come accross a problem in that normally to enable graphical boot/login I just change the id entry in inittab from 3 to 4
Trying it with current didn't work for me.
I checked the rc.4 script to see what should be happening.
sddm doesn't appear to work on my test machine, and kdm is missing entirely.

startx from text login works fine.
what happened to the kde login manager? I can't find it when greping /var/lib/pkgtool/packages/*
The Plasma5 uses SDDM as login manager.
 
Old 07-20-2021, 09:35 AM   #3
timsoft
Member
 
Registered: Oct 2004
Location: scotland
Distribution: slackware 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 420

Original Poster
Rep: Reputation: 111Reputation: 111
Unfortunately sddm doesn't appear to work on my test pc. when in runlevel 4 it does nothing, and you are dropped to a regular text login

Attempting to run it from a run level3 login and it does nothing, it just sits with the text there, until i press ctrl-C to get back to a text prompt.

I verified that startx and startkwayland work on their own from run level 3.
 
Old 07-20-2021, 10:54 AM   #4
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 1,507

Rep: Reputation: 1228Reputation: 1228Reputation: 1228Reputation: 1228Reputation: 1228Reputation: 1228Reputation: 1228Reputation: 1228Reputation: 1228
Quote:
Originally Posted by timsoft View Post
Unfortunately sddm doesn't appear to work on my test pc. when in runlevel 4 it does nothing, and you are dropped to a regular text login

Attempting to run it from a run level3 login and it does nothing, it just sits with the text there, until i press ctrl-C to get back to a text prompt.

I verified that startx and startkwayland work on their own from run level 3.
SDDM should run as root to do its job. You can change to runlevel 4 on /etc/inittab

If everything else, then you hit a bug on SDDM. You can look on its log to see what it does not like: /var/log/sddm.log

Last edited by LuckyCyborg; 07-20-2021 at 11:07 AM.
 
Old 07-20-2021, 11:37 AM   #5
timsoft
Member
 
Registered: Oct 2004
Location: scotland
Distribution: slackware 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 420

Original Poster
Rep: Reputation: 111Reputation: 111
hmmm. When I log in as root in init 3 sddm appears to hang when I try to run it.
looking at /var/log/sddm I see
Code:
datestamp (II) DAEMON: Initializing...
datestamp (II) DAEMON: Starting...
datestamp (II) DAEMON: Logind interface found
then after waiting for a minute and nothing happens, I ctrl-c to get to a prompt, and
Code:
datestamp (II) DAEMON: Signal received: SIGNINT
is added to the log

it doesn't actually appear to do anything. I tried manually switching (ctrl-alt-Fx) between the 4 text vts and 7 (normally the graphics one, but there is nothing on the graphics one).

I do have a radeon.modeset=0 on my kernel line (otherwise I can't see anything part-way through the kernel boot), but as both x and wayland start manually ok, that shouldn't effect things.
 
Old 07-20-2021, 11:42 AM   #6
timsoft
Member
 
Registered: Oct 2004
Location: scotland
Distribution: slackware 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 420

Original Poster
Rep: Reputation: 111Reputation: 111
I tried running sddm in test mode, and it endlessly goes in a loop filling up the log. I can provide the repeating part if it would help
 
Old 07-21-2021, 08:30 AM   #7
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 199

Rep: Reputation: Disabled
In the past I had some problems with sddm on Ubuntu with sddm not lauching and freezing some times. And from time to time it was working...

So in the current Slackware I don't use it on that laptop. I use gdm or kdm (I have a recompiled sbo like version).

I have also an arm version of the current Slackware on a Raspberry PI4 and I use gdm because SDDM seems to have the same stability problems (but with very different hardware).

gdm is easy to install. It has few dependencies.
 
Old 07-21-2021, 08:49 AM   #8
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 199

Rep: Reputation: Disabled
Maybe an explanation for the problem :
https://bugzilla.redhat.com/show_bug.cgi?id=1912046

Slackware has now elogind which maybe have the same sort of problem as systemd for SDDM because it is an extract of systemd. It is not directly the fault of systemd but some variables given to it are not POSIX so they are filtered.
 
Old 07-21-2021, 10:22 AM   #9
timsoft
Member
 
Registered: Oct 2004
Location: scotland
Distribution: slackware 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 420

Original Poster
Rep: Reputation: 111Reputation: 111
Thanks BrunoLafleur, I had a look at that, and checked env, but there wasn't a single environment variable with non standard characters
(A-Z,1-9,_ ) so it doesn't look like that is the cause.
 
Old 07-21-2021, 11:21 AM   #10
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 3,699

Rep: Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531
Is this some sort of minimalist install? instead of the Full Recommended Install? The only issue I have ever seen with SDDM is that /etc/sddm.conf contains the line

Code:
# The lowest virtual terminal number that will be used.
MinimumVT=7
which, for a time, did not auto switch VTs for me resulting in a blank VT1 and requiring a manual "Alt-F7" to get to X. These days it works fine with no manual intervention.
 
Old 07-22-2021, 03:55 AM   #11
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 199

Rep: Reputation: Disabled
The problems reported for SDDM seems to be very random. They don't seem to depends on graphical cards nor with the kernel or are common to at least some of them on different architecture.

For me I have only full current Slackware. But problems appears with very different arch and distributions.

And also env variables maybe set inside components of the system and maybe not visible in the console environnement of the user.

Also PAM is setting some env variables in particular for desktop managers like SDDM, KDM or GDM. In the Slackware current they seem to be correctly set.
 
Old 07-23-2021, 05:21 AM   #12
timsoft
Member
 
Registered: Oct 2004
Location: scotland
Distribution: slackware 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 420

Original Poster
Rep: Reputation: 111Reputation: 111
in my case the install is a full install of current. I have tried manually switching to vt7 but there is nothing on that page.
I haven't got round to trying it on some different hardware, but I can rig up a barebones and try it out to see if it affects more than one bit of hardware for me. The hardware giving me the problem is a 27" imac which reports an RV770/M98L ati graphics with lspci, although as previously noted I do have radeon.nomodeset=0 as a kernel option so that I can see stuff, (and I did install the x86-video-fbdev from extra). The fact I can run x or wayland manually seems to point to an sddm issue.
 
Old 07-23-2021, 09:42 AM   #13
timsoft
Member
 
Registered: Oct 2004
Location: scotland
Distribution: slackware 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 420

Original Poster
Rep: Reputation: 111Reputation: 111
I should comment that on the problem computer, which although it is set to boot to runlevel 4, appears to be in runlevel 3, ie no graphical login,
sddm and sddm.bin appear to be running (ps -A shows them) even though there is no graphical display started.
 
Old 07-23-2021, 09:55 AM   #14
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 199

Rep: Reputation: Disabled
Quote:
Originally Posted by timsoft View Post
I should comment that on the problem computer, which although it is set to boot to runlevel 4, appears to be in runlevel 3, ie no graphical login,
sddm and sddm.bin appear to be running (ps -A shows them) even though there is no graphical display started.
There is also a lot of SDDM problems due to generating random data at boot.

And also SDDM launching before video drivers.

I don't know if those are pertinent with Slackware current.

Are you using generic or full kernel ?
 
Old 07-23-2021, 11:36 AM   #15
timsoft
Member
 
Registered: Oct 2004
Location: scotland
Distribution: slackware 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 420

Original Poster
Rep: Reputation: 111Reputation: 111
I am using huge kernel (5.13.4), everything up to date as of today
 
  


Reply

Tags
kdm, missing, slackware current


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Kdm 3 --> Kdm 4 & Distro Agnostic njdube SUSE / openSUSE 0 06-03-2008 07:06 PM
Adding kdm to init.d so LFS boots to kdm StevePhM Linux From Scratch 4 08-08-2005 09:49 PM
Need help configuring KDM on MDK10C so that it is like KDM on 9.2 bhtooefr Mandriva 0 05-06-2004 01:19 PM
Need help changing graphical login to regular login jnezezon Linux - Newbie 2 11-13-2003 09:36 PM
Graphical Auto-Login without using KDM or GDM soda Linux - General 7 12-01-2002 12:57 PM

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

All times are GMT -5. The time now is 11:04 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