The officially official Devuan Forum!

You are not logged in.

#1 2019-02-07 20:04:56

rolfie
Member
Registered: 2017-11-25
Posts: 1,173  

[Solved] Mate and lightdm on Beowulf

Got Beowulf installed from the just rebuilt netinstall iso. Just went as far the get the command line working, no desktop. No issues, this
worked perfectly. Used openrc. All in VBox, guest and host amd64, host and guest extensions are installed.

Then manually installed xorg, lightdm and mate-desktop-environment-extra. No errors from apt. When I reboot, I get the lightdm loginscreen, but there is no way to enter username/password, nor can I access any of the icons present in the top panel. No reaction at all.

What is wrong here?

There is an error during boot from eudev, needs service unmountroot (I hope this is correct, the output scrolls very fast and CRTL-S does not work). Is this the key? What do I need to install or re-configure?

Thank you for your feedback, Rolf

Last edited by rolfie (2019-02-09 16:18:52)

Online

#2 2019-02-07 21:43:58

ChuangTzu
Member
Registered: 2018-06-13
Posts: 148  

Re: [Solved] Mate and lightdm on Beowulf

Do you have lightdm-gtk-greeter?  If not apt install it then reboot.

Offline

#3 2019-02-08 09:57:28

rolfie
Member
Registered: 2017-11-25
Posts: 1,173  

Re: [Solved] Mate and lightdm on Beowulf

Is installed, version 2.0.6-1. lightdm is version 1.26.0-3.

Tried to add lightdm-gtk-greeter-settings, does not make a difference.

Thanks, Rolf

Last edited by rolfie (2019-02-08 10:00:11)

Online

#4 2019-02-08 11:10:22

dxrobertson
Member
Registered: 2017-05-04
Posts: 232  

Re: [Solved] Mate and lightdm on Beowulf

I dont know why your particular lightdm would be having troubles, I perform similar manual installs with netinst.iso without issue.   Lightdm has logs in /var/log/lightdm.  Maybe try stopping the lightdm service, then starting and see if it complains about anything.

rc-service lightdm stop

rc-service lightdm start

Offline

#5 2019-02-08 12:27:07

rolfie
Member
Registered: 2017-11-25
Posts: 1,173  

Re: [Solved] Mate and lightdm on Beowulf

Have no chance to get to a console either. I can boot Knoppix as Live system into this VM and chroot to check what is installed, install with apt .... 

Here are some logs:

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.26.0, UID=0 PID=1809
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/01_debian.conf
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Registered seat module unity
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.02s] DEBUG: Monitoring logind for seats
[+0.02s] DEBUG: New seat added from logind: seat0
[+0.02s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.02s] DEBUG: Seat seat0: Starting
[+0.02s] DEBUG: Seat seat0: Creating greeter session
[+0.02s] DEBUG: Seat seat0: Creating display server of type x
[+0.02s] DEBUG: posix_spawn avoided (fd close requested) 
[+0.02s] DEBUG: Could not run plymouth --ping: Failed to execute child process “plymouth” (No such file or directory)
[+0.02s] DEBUG: Using VT 7
[+0.02s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.02s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.02s] DEBUG: XServer 0: Writing X server authority to /var/run/lightdm/root/:0
[+0.02s] DEBUG: XServer 0: Launching X Server
[+0.02s] DEBUG: Launching process 1821: /usr/bin/X :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.02s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.02s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.02s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.09s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.09s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.11s] DEBUG: posix_spawn avoided (automatic reaping requested) (fd close requested) 
[+0.29s] DEBUG: Got signal 10 from process 1821
[+0.29s] DEBUG: XServer 0: Got signal from X server :0
[+0.29s] DEBUG: XServer 0: Connecting to XServer :0
[+0.29s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified) 
[+0.29s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+0.29s] DEBUG: Session pid=1893: Started with service 'lightdm-greeter', username 'lightdm'
[+0.30s] DEBUG: Session pid=1893: Authentication complete with return value 0: Success
[+0.30s] DEBUG: Seat seat0: Session authenticated, running command
[+0.30s] DEBUG: Session pid=1893: Running command /usr/sbin/lightdm-gtk-greeter
[+0.30s] DEBUG: Creating shared data directory /var/lib/lightdm/data/lightdm
[+0.30s] DEBUG: Session pid=1893: Logging to /var/log/lightdm/seat0-greeter.log
[+0.30s] DEBUG: Activating VT 7
[+0.42s] DEBUG: Greeter connected version=1.26.0 api=1 resettable=false
[+0.59s] DEBUG: Greeter start authentication
[+0.59s] DEBUG: Session pid=1925: Started with service 'lightdm', username '(null)'
[+0.61s] DEBUG: Session pid=1925: Got 1 message(s) from PAM
[+0.61s] DEBUG: Prompt greeter with 1 message(s)
cat seat0-greeter.log

** (process:1893): WARNING **: 12:57:34.553: Failed to open CK session: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files
** Message: 12:57:34.574: Starting lightdm-gtk-greeter 2.0.6 (Dec 27 2018, 16:15:47)
** Message: 12:57:34.576: [Configuration] Reading file: /usr/share/lightdm/lightdm-gtk-greeter.conf.d/01_debian.conf
** Message: 12:57:34.576: [Configuration] Reading file: /etc/lightdm/lightdm-gtk-greeter.conf

** (lightdm-gtk-greeter:1899): WARNING **: 12:57:34.699: [PIDs] Failed to execute command: upstart

(lightdm-gtk-greeter:1899): Gtk-WARNING **: 12:57:35.049: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menubar owner GreeterMenuBar)

(lightdm-gtk-greeter:1899): Gtk-WARNING **: 12:58:00.787: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menubar owner GreeterMenuBar)

(lightdm-gtk-greeter:1899): Gtk-WARNING **: 12:59:00.856: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menubar owner GreeterMenuBar)

(lightdm-gtk-greeter:1899): Gtk-WARNING **: 13:00:00.920: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menubar owner GreeterMenuBar)

In here is a complant that consolekit is missing. Can this be the reason? elogind is installed.

X.Org X Server 1.20.3
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.0-8-amd64 x86_64 Debian
Current Operating System: Linux rh055 4.19.0-2-amd64 #1 SMP Debian 4.19.16-1 (2019-01-17) x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-4.19.0-2-amd64 root=UUID=0aab8de5-7fa6-4847-87a3-de5caf7539d6 ro quiet
Build Date: 25 October 2018  06:15:23PM
xorg-server 2:1.20.3-1 (https://www.debian.org/support) 
Current version of pixman: 0.36.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Feb  8 12:57:34 2019
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
error setting MTRR (base = 0x00000000e0000000, size = 0x03000000, type = 1) No such device or address (6)

Anything in there that catches somebodies eyes?

Thanks, Rolf

Last edited by rolfie (2019-02-08 12:43:39)

Online

#6 2019-02-08 14:29:53

dxrobertson
Member
Registered: 2017-05-04
Posts: 232  

Re: [Solved] Mate and lightdm on Beowulf

** (process:1893): WARNING **: 12:57:34.553: Failed to open CK session: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files

I get this warning also, so it should not be the cause of problems.

Something I do see in your lightdm.log thats different from mine, an excerpt from my log:

[+0.74s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.74s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.77s] WARNING: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
[+0.77s] DEBUG: Loading user config from /etc/lightdm/users.conf
[+1.07s] DEBUG: User dxrobertson added
[+1.07s] DEBUG: posix_spawn avoided (automatic reaping requested) (fd close requested) 

And then this is different, from my log:

[+4.79s] DEBUG: Activating VT 7
[+6.29s] DEBUG: Greeter connected version=1.26.0 api=1 resettable=false
[+7.97s] DEBUG: Greeter start authentication for dxrobertson
[+7.97s] DEBUG: Session pid=2405: Started with service 'lightdm', username 'dxrobertson'
[+8.06s] DEBUG: Session pid=2405: Got 1 message(s) from PAM
[+8.06s] DEBUG: Prompt greeter with 1 message(s)
[+11.49s] DEBUG: Continue authentication
[+11.54s] DEBUG: Session pid=2405: Authentication complete with return value 0: Success
[+11.54s] DEBUG: Authenticate result for user dxrobertson: Success
[+11.54s] DEBUG: User dxrobertson authorized
[+11.55s] DEBUG: Greeter sets language en_US.utf8
[+11.59s] DEBUG: Greeter requests session lxqt

I dont know, maybe they are different because you have never actually performed a login.

Do you have a symlink in /etc/alternatives/lightdm-greeter that points to /usr/share/xgreeters/lightdm-gtk-greeter.desktop?

As far as getting to a console, can you <CTRL><ALT>F2 to get to a terminal console?  Then it would be <CTRL><ALT>F7 to get back to gui/lightdm.

Offline

#7 2019-02-08 14:36:46

dxrobertson
Member
Registered: 2017-05-04
Posts: 232  

Re: [Solved] Mate and lightdm on Beowulf

Is desktop-base installed?

Offline

#8 2019-02-08 15:36:35

rolfie
Member
Registered: 2017-11-25
Posts: 1,173  

Re: [Solved] Mate and lightdm on Beowulf

dxrobertson wrote:

Do you have a symlink in /etc/alternatives/lightdm-greeter that points to /usr/share/xgreeters/lightdm-gtk-greeter.desktop?

As far as getting to a console, can you <CTRL><ALT>F2 to get to a terminal console?  Then it would be <CTRL><ALT>F7 to get back to gui/lightdm.

Is desktop-base installed?

The symlink is there and points to the same location.

desktop-base is installed, version 10.0.0 testing.

<CTRL><ALT>F2 brings me to a console on my workstation (ASCII), <ALT>F2 causes no reaction on the VM. It looks to me as if the keyboard is dead.

Thanks, Rolf

Online

#9 2019-02-08 15:40:34

golinux
Administrator
Registered: 2016-11-25
Posts: 3,318  

Re: [Solved] Mate and lightdm on Beowulf

From the ASCII release notes:

### Session management and policykit backends

Devuan 2.0 ASCII provides a choice of 5 Desktop Environments at
install time (XFCE, Cinnamon, KDE, LXQT, MATE), while many other
window managers are available from the repositories.

These days, Desktop Environments rely on a session management system
to allow the user to perform several typical tasks without requiring
administrator privileges, including suspending/rebooting/shutting down
the system, mounting external devices, configuring networking, and so
on.

Two of such session management systems are available in Devuan 2.0
ASCII, namely:

  - consolekit
  - elogind

These session managers are mutually exclusive, only one of them can be
installed and active at a time to avoid unwanted interference.  In
order to grant processes in the unprivileged user session access to
select privileged operations, the installed session manager is
connected to the policykit-1 framework by a set of matching back-end
libraries.

Each of the 5 DEs available in Devuan comes with a recommended default
combination of login manager (either slim or lightdm) and session
management system:

  - XFCE: slim + consolekit
  - Cinnamon: lightdm + elogind
  - KDE: lightdm + elogind
  - LXQT: lightdm + elogind
  - MATE: slim + consolekit
 
In order for session management to work correctly, the login manager
(aka display manager, DM) has to register the user session with the
installed session manager (i.e. either consolekit or elogind), which
in turn has to cooperate with the relevant components of the desktop
environment. The default pairings listed above are known to work well
and do not require user intervention, but other combinations are
possible.

Offline

#10 2019-02-08 15:56:25

xinomilo
Unknown
Registered: 2017-07-02
Posts: 315  

Re: [Solved] Mate and lightdm on Beowulf

there's a bug in eudev 3.2.7-5, check devuan bug : https://bugs.devuan.org//cgi/bugreport.cgi?bug=290

Offline

#11 2019-02-08 16:17:39

rolfie
Member
Registered: 2017-11-25
Posts: 1,173  

Re: [Solved] Mate and lightdm on Beowulf

@Golinux: I don't like slim at all. Got 3 ASCII PCs up and running with lightdm/Mate/elogind with the help of this forum. I expect Beowulf to be the same.

@xinomilo: bugs 290/111 describe what I see here. I will give an earlier version of eudev a try if I manage to get it installed.

Thanks, Rolf

Online

#12 2019-02-08 16:26:04

xinomilo
Unknown
Registered: 2017-07-02
Posts: 315  

Re: [Solved] Mate and lightdm on Beowulf

@rolfie, use a live cd , download older versions (=3.2.7-3) of eudev & libeudev1 from https://pkgmaster.devuan.org/devuan/pool/main/e/eudev/ to devuan partition/usb stick,
reboot to devuan recovery mode, and install (dpkg -i $package) the downloaded debs.
that's just one way to do it. (couldn't get network from recovery mode as #111 mentioned, so had to use live cd)

also my 2c :
mate w/ slim+consolekit is buggy in beowulf. works fine in ascii.
mate w/ lightdm+elogind is a better more stable choice with newer versions of policykit, elogind, etc.

Offline

#13 2019-02-08 16:56:07

sgage
Member
Registered: 2016-12-01
Posts: 341  

Re: [Solved] Mate and lightdm on Beowulf

xinomilo wrote:

@rolfie, use a live cd , download older versions (=3.2.7-3) of eudev & libeudev1 from https://pkgmaster.devuan.org/devuan/pool/main/e/eudev/ to devuan partition/usb stick,
reboot to devuan recovery mode, and install (dpkg -i $package) the downloaded debs.
that's just one way to do it. (couldn't get network from recovery mode as #111 mentioned, so had to use live cd)

also my 2c :
mate w/ slim+consolekit is buggy in beowulf. works fine in ascii.
mate w/ lightdm+elogind is a better more stable choice with newer versions of policykit, elogind, etc.

MATE with slim and consolekit have been working fine for me in beowulf.

Offline

#14 2019-02-08 17:04:18

xinomilo
Unknown
Registered: 2017-07-02
Posts: 315  

Re: [Solved] Mate and lightdm on Beowulf

sgage wrote:

MATE with slim and consolekit have been working fine for me in beowulf.

i had a couple of issues with consolekit, described here : https://lists.dyne.org/lurker/message/2 … b2.en.html
gone, when switched to elogind.
but then again every setup is different, maybe it wasn't buggy for everyone.

Offline

#15 2019-02-08 17:12:51

golinux
Administrator
Registered: 2016-11-25
Posts: 3,318  

Re: [Solved] Mate and lightdm on Beowulf

Just wondering what you have in your sources.list. This is what I have:

deb http://pkgmaster.devuan.org/merged/ beowulf main 
deb http://pkgmaster.devuan.org/merged/ beowulf-security main 
deb http://pkgmaster.devuan.org/devuan/ experimental main 
deb http://pkgmaster.devuan.org/merged/ ceres main 

Obviously take care with what ceres installs.  That bit me a week or so ago.

Offline

#16 2019-02-08 17:15:18

sgage
Member
Registered: 2016-12-01
Posts: 341  

Re: [Solved] Mate and lightdm on Beowulf

xinomilo wrote:
sgage wrote:

MATE with slim and consolekit have been working fine for me in beowulf.

i had a couple of issues with consolekit, described here : https://lists.dyne.org/lurker/message/2 … b2.en.html
gone, when switched to elogind.
but then again every setup is different, maybe it wasn't buggy for everyone.

Yes. And different people use different software and may not come up against the bug(s). And bugs come and go through the dev cycle. Whatever works for you!

Offline

#17 2019-02-08 17:39:07

rolfie
Member
Registered: 2017-11-25
Posts: 1,173  

Re: [Solved] Mate and lightdm on Beowulf

@xinomilo: thanks for the tip to use a Live CD to download the files directly to a folder in the VM, that really helped. The downgrade works, I can use the VM now.

A try to get

apt install eudev=3.2.7-3

working failed, a USB stick was not recognised from the rescue mode as device, I could not mount it.

I think I need to pin this version for the time until a fix is around, don't I?

Thank your for your contributions, Rolf

PS: when I first tried ASCII/Mate/lightdm about a year ago, I used consolekit because I was used to it and had issues like no shutdown, no automount of USB devices, no access to synaptic. All gone when using elogind. There are some threads in here with my contributions.

Online

#18 2019-02-09 16:18:22

rolfie
Member
Registered: 2017-11-25
Posts: 1,173  

Re: [Solved] Mate and lightdm on Beowulf

Update:

Version 3.2.7-6 is in the repository now, fixes the issue.

Thanks, ROlf

Online

Board footer