LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-28-2015, 03:19 PM   #1
eddygrinder
Member
 
Registered: Dec 2007
Location: portugal
Distribution: The one and only... Slack
Posts: 71

Rep: Reputation: 15
sddm Not working on slack current


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
Attached Thumbnails
Click image for larger version

Name:	IMG_20150228_204254.jpg
Views:	187
Size:	260.4 KB
ID:	17697  
 
Old 02-28-2015, 04:19 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
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.
 
Old 02-28-2015, 04:45 PM   #3
eddygrinder
Member
 
Registered: Dec 2007
Location: portugal
Distribution: The one and only... Slack
Posts: 71

Original Poster
Rep: Reputation: 15
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

Last edited by eddygrinder; 02-28-2015 at 04:47 PM.
 
Old 02-28-2015, 04:54 PM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
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.
 
Old 02-28-2015, 05:08 PM   #5
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by Alien Bob View Post
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?

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?

Last edited by Darth Vader; 02-28-2015 at 05:14 PM.
 
Old 02-28-2015, 05:26 PM   #6
eddygrinder
Member
 
Registered: Dec 2007
Location: portugal
Distribution: The one and only... Slack
Posts: 71

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Alien Bob View Post
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
 
Old 02-28-2015, 05:33 PM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by eddygrinder View Post
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}’
 
Old 02-28-2015, 08:32 PM   #8
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Has anyone else been getting a login loop with sddm?
 
Old 03-01-2015, 05:15 AM   #9
eddygrinder
Member
 
Registered: Dec 2007
Location: portugal
Distribution: The one and only... Slack
Posts: 71

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Alien Bob View Post
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

Last edited by eddygrinder; 03-01-2015 at 05:59 AM.
 
Old 03-06-2015, 06:15 PM   #10
eddygrinder
Member
 
Registered: Dec 2007
Location: portugal
Distribution: The one and only... Slack
Posts: 71

Original Poster
Rep: Reputation: 15
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
 
Old 05-13-2022, 11:30 AM   #11
SunnyJim
Member
 
Registered: Jan 2016
Location: Canada
Distribution: slackware and linux mint
Posts: 110

Rep: Reputation: Disabled
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.

Last edited by SunnyJim; 05-13-2022 at 11:33 AM. Reason: spelling error
 
1 members found this post helpful.
Old 05-13-2022, 11:38 AM   #12
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,482

Rep: Reputation: 3286Reputation: 3286Reputation: 3286Reputation: 3286Reputation: 3286Reputation: 3286Reputation: 3286Reputation: 3286Reputation: 3286Reputation: 3286Reputation: 3286
Quote:
Originally Posted by SunnyJim View Post
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?
 
1 members found this post helpful.
Old 05-14-2022, 01:18 AM   #13
SunnyJim
Member
 
Registered: Jan 2016
Location: Canada
Distribution: slackware and linux mint
Posts: 110

Rep: Reputation: Disabled
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.
 
  


Reply


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
Kde4 compose stopped working after last current update (slack-13_64) erickFis Slackware 3 01-29-2010 07:24 AM
[SOLVED] java not working in konqueror / slack current Old_Fogie Slackware 3 12-19-2009 12:17 PM
Cinelerra - Anyone have it working in Slack Current? BobNutfield Slackware 10 08-07-2009 05:37 PM
Multi_key not working in Slack-current? BroX Slackware 1 04-17-2007 12:10 PM
Alsa not working correctly with SB Live under Slack Current njbrain Linux - General 5 04-01-2004 09:42 PM

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

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