LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-27-2018, 09:58 AM   #1
regis_n_bits
Member
 
Registered: Mar 2006
Distribution: Slackware64 14.2 (kernel 4.4.52)
Posts: 92

Rep: Reputation: Disabled
Warning Message for SDDM After Applying New /etc/passwd in Current with Plasma5


New laptop with Slackware64-current (March 26 2018) plus the latest Plasma5 packages from AlienBob. The inittab runlevel set to "4".

After updating current's packages from the March 26th updates I noticed that there were new files from the "etc" package:
passwd.new
shadow.new
group.new
gshadow.new

The differences I see are regarding sddm. The changes are:
passwd - sddm user directory is changed from "var/lib/sddm" to "/var/empty"
group - sddm removed from video group

I manually applied these changes to the "passwd" and "group" files (using vipw and vigr).

However, I notice that I get a warning pop-up message from Plasma whenever I login, or log out of a session as a regular user. The message indicates from SDDM indicates that the directory,or file, "/var/empty/.config/sddm-greetrc" is not writeable. I have to then press Enter to acknowledge the message to proceed. After that everything else appears normal.

I don't know if this is due to the Plasma5 packages from AlienBob that I have installed. I don't have KDE4 installed anymore to see if the problem also appears there.

For now I have reverted my manual changes to "passwd" and "group" to go back to the pre- March 26th values. No more sign of the warning message when logging in and out of Plasma5.
 
Old 03-27-2018, 10:22 AM   #2
Petri Kaukasoina
Member
 
Registered: Mar 2007
Posts: 353

Rep: Reputation: 199Reputation: 199
Quote:
Originally Posted by regis_n_bits View Post
The differences I see are regarding sddm. The changes are:
passwd - sddm user directory is changed from "var/lib/sddm" to "/var/empty"
group - sddm removed from video group
Code:
Fri Nov 20 05:25:18 UTC 2015:
a/etc-14.2-x86_64-4.txz:  Rebuilt.
  Added SDDM user/group, UID 64, GID 64.
sddm home directory was already then /var/empty and it never was in group video.

There were no new or changed files in March 26th etc-15.0-x86_64-2.txz package: even the passwd.new and group.new files were the same as before.

No idea about Plasma5.

Last edited by Petri Kaukasoina; 03-27-2018 at 10:41 AM.
 
Old 03-27-2018, 01:34 PM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,287

Rep: Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435
Yeah, Pat added a sddm user on my request but then unfortunately did not use the correct homedirectory (which is /var/lib/sddm) and also did not add the sddm user to the video group. The latter may be a requirement that got added after sddm user was added to the passwd file in -current... membership of the 'video' group is a requirement for non-PAM distros.
I remember asking Pat to change the sddm user configuration but obviously that never happened.
 
Old 03-27-2018, 08:53 PM   #4
regis_n_bits
Member
 
Registered: Mar 2006
Distribution: Slackware64 14.2 (kernel 4.4.52)
Posts: 92

Original Poster
Rep: Reputation: Disabled
I don't know when the old sddm home directory got set to /var/lib/sddm (I never edited it).

Don't know if Pat will update the sddm home directory in 'etc'. This issue may only be relevant for Plasma5 (which is not part of current).



Now that I think about it, I used AlienBob's liveslak to install Slackware on the laptop back on March 12th or 13th. So maybe the sddm home directory was set to /var/lib/sddm when it was installed? Anyways, the passwd and group values are correct (just have to remember to not apply those *.new files).

Last edited by regis_n_bits; 03-27-2018 at 09:02 PM. Reason: Added third paragraph.
 
Old 03-28-2018, 03:39 AM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,287

Rep: Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435Reputation: 5435
Quote:
Originally Posted by regis_n_bits View Post
I don't know when the old sddm home directory got set to /var/lib/sddm (I never edited it).

Don't know if Pat will update the sddm home directory in 'etc'. This issue may only be relevant for Plasma5 (which is not part of current).



Now that I think about it, I used AlienBob's liveslak to install Slackware on the laptop back on March 12th or 13th. So maybe the sddm home directory was set to /var/lib/sddm when it was installed? Anyways, the passwd and group values are correct (just have to remember to not apply those *.new files).
When you install my sddm-qt5 package from the 'ktown' repository which contains Plasma5 desktop, its doinst.sh script which runs at the end of the installation reconfigures the sddm account and ensures that the correct homedirectory is being used. So no matter what the sddm user account looked like before, it will be corrected before the first start of the SDDM login manager.
 
Old 03-29-2018, 10:20 PM   #6
regis_n_bits
Member
 
Registered: Mar 2006
Distribution: Slackware64 14.2 (kernel 4.4.52)
Posts: 92

Original Poster
Rep: Reputation: Disabled
New etc package in current changelog. Marking this thread as solved.
Code:
Thu Mar 29 01:02:50 UTC 2018
a/etc-15.0-x86_64-3.txz: Rebuilt.
       When adding an sddm user, use $HOME = /var/lib/sddm.
       Make sure the sddm user is a member of the video group.
 
Old 09-13-2018, 11:48 AM   #7
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2 FVWM
Posts: 547

Rep: Reputation: 147Reputation: 147
Never mind I've removed Plasma 5, opting for Lumina and FVWM

Last edited by bamunds; 09-13-2018 at 01:02 PM. Reason: Never mind I've removed Plasma 5, opting for Lumina and FVWM
 
Old 09-13-2018, 02:58 PM   #8
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,594

Rep: Reputation: Disabled
It took me a few seconds to realize that you resurrected a 5+ months old thread... It's time sip my coffee
 
  


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
[SOLVED] Today's -current icu4c upgrade broke ktown's sddm dugan Slackware 36 12-09-2017 05:50 AM
[SOLVED] KJots on Slackware64-current of 19th November with Alien's Plasma5 November Updates gargamel Slackware 6 11-21-2017 06:18 PM
[SOLVED] Plasma5 - SDDM black screen after kernel/mesa/xorg update michelino Slackware 2 04-26-2016 10:23 AM
sddm Not working on slack current eddygrinder Slackware 9 03-06-2015 07:15 PM

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

All times are GMT -5. The time now is 04:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration