LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   sddm Not working on slack current (https://www.linuxquestions.org/questions/slackware-14/sddm-not-working-on-slack-current-4175535382/)

eddygrinder 02-28-2015 03:19 PM

sddm Not working on slack current
 
1 Attachment(s)
Hi,
Need help regarding sddm. I'm using slackware current and installed kde5 from ktown.

However, sddm isn't working. The messages are in the attached imagem.

Start with init 3 and startx I have no problem.

Thanks a lot for your help,
Eduardo

Alien Bob 02-28-2015 04:19 PM

You should not be starting sddm from the commandline.
In my blog articles accompanying my KDE 5 package releases, I explain how to use SDDM.

eddygrinder 02-28-2015 04:45 PM

Hi Eric,
Thanks for the reply. I've read your blog but it's the same.

When I start using init 4, sddm won't start either.
I have to go over command line to run kde.

I've edited xinit also but it revert to xwm

Eduardo

Alien Bob 02-28-2015 04:54 PM

The errors you see in the screenshot are caused because you started sddm as your own user.
The sddm-qt5 package creates a new user account "sddm" on your system and it will run as that user when you start it from runlevel 4.
There is a possibility that the ownership of files created during its startup are incorrect (since you started it manually, some of these files will be owned by you instead of the "sddm" user).
Try removing all these files and then change your computer to runlevel 4 again. Also, check if the "sddm" user is actually created and if its homedirectory "/var/lib/sddm/" exists and is owned by the "sddm" user.

Darth Vader 02-28-2015 05:08 PM

Quote:

Originally Posted by Alien Bob (Post 5324873)
The errors you see in the screenshot are caused because you started sddm as your own user.
The sddm-qt5 package creates a new user account "sddm" on your system and it will run as that user when you start it from runlevel 4.
There is a possibility that the ownership of files created during its startup are incorrect (since you started it manually, some of these files will be owned by you instead of the "sddm" user).
Try removing all these files and then change your computer to runlevel 4 again. Also, check if the "sddm" user is actually created and if its homedirectory "/var/lib/sddm/" exists and is owned by the "sddm" user.

Amazing! Then if I will do something like: "init 4" as "root", from the Linux console, I will (possible) frak-up the system, after installing of the next-gen KDE? :hattip:

BTW. Shocking news for the new KDE5 users! You have one brand-new user account in your system(s)! When you expected to tell us that? :D

eddygrinder 02-28-2015 05:26 PM

Quote:

Originally Posted by Alien Bob (Post 5324873)
The errors you see in the screenshot are caused because you started sddm as your own user.
The sddm-qt5 package creates a new user account "sddm" on your system and it will run as that user when you start it from runlevel 4.
There is a possibility that the ownership of files created during its startup are incorrect (since you started it manually, some of these files will be owned by you instead of the "sddm" user).
Try removing all these files and then change your computer to runlevel 4 again. Also, check if the "sddm" user is actually created and if its homedirectory "/var/lib/sddm/" exists and is owned by the "sddm" user.

OK, I didn't quite understand what files should I remove.

I backuped some files like: serverauth, xsession, etc.

Restarted the PC with default init 4 but still nothing. What I get is the same blinking cursor on top left corner.

However, I can't find /var/lib/sddm

Thanks, Eric

Alien Bob 02-28-2015 05:33 PM

Quote:

Originally Posted by eddygrinder (Post 5324883)
What I get is the same blinking cursor on top left corner.

However, I can't find /var/lib/sddm

Thanks, Eric

Let me quote my own article:
Quote:

When you try SDDM in runlevel 4 and the screen stays black with a blinking cursor in the upper left, this is probably caused by a missing homedirectory for the “sddm” user.
Solution: Check the output of command, it should return “/var/lib/sddm” and that directory must exist and be owned by the “sddm” user:
$ getent passwd sddm | awk -F ‘:’ ‘{print $6}’

ReaperX7 02-28-2015 08:32 PM

Has anyone else been getting a login loop with sddm?

eddygrinder 03-01-2015 05:15 AM

Quote:

Originally Posted by Alien Bob (Post 5324888)
Let me quote my own article:

ent/"]my own article[/URL]:[/QUOTE]

OK, thanks for your patience.

The getent (...) gives /var/lib/sddm but as this dir doesn't exist ao I created (sddm own and user). Now sddm starts but It freezes.
As always, I read your blog, edited xinit but something incredible stupid is happening here...

Thanks

eddygrinder 03-06-2015 06:15 PM

Hi,
I just finished to update kde to the latest version on ktown.
I haven't figured out why I can't login with sddm and kde.

However, I have two WM: enlightenment and kde. Using E sddm works fine, with kde it freezes and I have to ctrl+alt+backspace

Eduardo

SunnyJim 05-13-2022 11:30 AM

possibly defunkt sddm
 
when i try xdm as opposed to sddm it actually works ! i get an x-window a login prompt as opposed to a non-functional sddm,

Starting up X11 session manager...
and then a bash login prompt.
Although i had to edit /etc/rc.d/rc.4 and comment out:

# Look for SDDM as well:
#if [ -x /usr/bin/sddm ]; then
# exec /usr/bin/sddm
#fi

for it to work. Any ideas on how to get sddm to work right would be great.
More functionality is better. And yeah i added sddm to the video group and also
/var/lib/sddm does exist and is owned by sddm. And yes this is slackware 15.

LuckyCyborg 05-13-2022 11:38 AM

Quote:

Originally Posted by SunnyJim (Post 6352971)
And yes this is slackware 15.

And yes, NO congratulations for resurrecting a 7 (SEVEN) years old thread!

What stops you to make a new thread, man?

SunnyJim 05-14-2022 01:18 AM

ah i didn't think i needed to sorry. looks like xdm works ok though. sddm DOES look a bit troublesome from what i can see
so that justifies it a bit.


All times are GMT -5. The time now is 05:00 AM.