The officially official Devuan Forum!

You are not logged in.

#1 2019-10-31 06:21:31

SmokeyGrey
Member
Registered: 2019-04-15
Posts: 19  

Beowulf XFCE Display Manager

On my Beowulf XFCE+Slim+Consolekit installation, a recent update to xfce4-session pulled in elogind and lightdm through

Recommends: <logind>
  libpam-elogind
Recommends: light-locker

Meanwhile, task-xfce-desktop pulls in slim and consolekit through

Depends: slim
Recommends: libpolkit-backend-consolekit-1-0

I assume the addition of light-locker is to make up for the removal of a dependency on xscreensaver. A cleaner way to do this would be to use slimlock. Unfortunately, as packaged, xfce doesn't use slimlock. To fix this, the file

/usr/bin/xflock4

which is part of xfce4-session, can be changed from

for lock_cmd in \
    "xscreensaver-command -lock" \
    "light-locker-command --lock" \
    "gnome-screensaver-command --lock" \
    "mate-screensaver-command --lock"
do
    $lock_cmd >/dev/null 2>&1 && exit
done

to

for lock_cmd in \
    "slimlock" \
    "xscreensaver-command -lock" \
    "light-locker-command --lock" \
    "gnome-screensaver-command --lock" \
    "mate-screensaver-command --lock"
do
    $lock_cmd >/dev/null 2>&1 && exit
done

Last edited by SmokeyGrey (2019-10-31 06:22:35)

Offline

#2 2019-11-05 11:59:15

SmokeyGrey
Member
Registered: 2019-04-15
Posts: 19  

Re: Beowulf XFCE Display Manager

How about if I phrase this as a simple, concise question?

Why is XFCE pulling in both Slim and LightDM in Beowulf? This seems messy and unnecessary.

Offline

#3 2019-11-05 15:55:47

fsmithred
Administrator
Registered: 2016-11-25
Posts: 1,290  

Re: Beowulf XFCE Display Manager

Sorry I didn't respond sooner. I passed the message along and we're working on it. Package dependencies will be adjusted to fix this.

Offline

Board footer