Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Artix (OpenRC, xfce) problems (Read 830 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Artix (OpenRC, xfce) problems

Hello everybody,
I still have the following two problems with my system.

1. When I login to xfce4 desktop with lxdm or with startxfce4 the program mousepad autostarts. I couldn't find anything to disable?
2. openrc doesn't start lightdm thrue xdm, it ends with a black screen and a blinking cursor (lxdm no problems).

Does anybody knows a solution?

Re: Artix (OpenRC, xfce) problems

Reply #1
https://wiki.archlinux.org/index.php/xfce#Autostart

2 https://wiki.gentoo.org/wiki/LightDM#OpenRC
anti-X  - artix - obarun - Void - systemD Free Space

I can no longer participate in a public forum side by side with neo-nazis and NSA trolls in a moderated sterile environment that is good for business.
Obviously the terms Open and Free mean nothing to you, or your business!

Re: Artix (OpenRC, xfce) problems

Reply #2
1. Unfortunately it's not that easy. I've been looking for mousepad in all these places, but it's not available anywhere. I do not know where to look. Edit: I've now uninstalled mousepad.

2. That's exactly how I got lxdm and SLiM to work, but not lightdm. Therefore, I had suspected incompatibility. But with SLiM i'm not able to shutdown or reboot, everytime it only log me out.

Re: Artix (OpenRC, xfce) problems

Reply #3
1  Possibly somewhere on an autostart configuration file there might be an $edit or $editor function that on xfce is defined as starting mousepad.  Is it opening a blank file or a specific file?  Is there a /etc/xdg/autostart?  What does it say?  Otherwise it is something within ~/.config/...../autostart

2  From the terminal and with xfce policy kit if you enter reboot as a user what does it do?  Does it ask to say yes to reboot and reboots or does it say you don't have privileges.  Same with poweroff -p.  Sudo entering those commands should work but I have been on runit too long to remember.  I am trying to remember the irrelevant thread where someone asked about suspend and hybernate ability and @nous responded with a suggestion of an AUR pkg that did them.  Sorry I haven't touched xfce for years and years.  If it was lxde or openbox I could help.  I see there is an xfce-session and xfce-utils pkg.  xfce-session, which is required by xfce-panel, must have this in the menu for the panel.  I see that it requires gnome polkit and if this hasn't been rebuilt by artix and comes from extra it should work.
Basically a user shouldn't have the rights to reboot or powerdown a system that theoretically may have other users logged on.  Specific polkits may allow or not to do so after they ask the user if they really want to.  The other way is to have a passwordless sudo setup at sudoers, so you can program a menu item as $sudo reboot and it will reboot right away.
anti-X  - artix - obarun - Void - systemD Free Space

I can no longer participate in a public forum side by side with neo-nazis and NSA trolls in a moderated sterile environment that is good for business.
Obviously the terms Open and Free mean nothing to you, or your business!

Re: Artix (OpenRC, xfce) problems

Reply #4
@gripped thank you.
/var/log/lightdm/lightdm.log:
Code: [Select]
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.28.0, UID=0 PID=3450
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+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: Using Xephyr for X servers
[+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.00s] DEBUG: Monitoring logind for seats
[+0.00s] DEBUG: New seat added from logind: seat0
[+0.01s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.01s] DEBUG: Seat seat0: Starting
[+0.01s] DEBUG: Seat seat0: Creating greeter session
[+0.01s] DEBUG: Seat seat0: Creating display server of type x
[+0.01s] DEBUG: posix_spawn avoided (fd close requested)
[+0.01s] DEBUG: Could not run plymouth --ping: Failed to execute child process “plymouth” (No such file or directory)
[+0.01s] DEBUG: Using VT 7
[+0.01s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.01s] DEBUG: XServer 1: Logging to /var/log/lightdm/x-1.log
[+0.01s] DEBUG: XServer 1: Can't launch X server Xephyr, not found in path
[+0.01s] DEBUG: XServer 1: X server stopped
[+0.01s] DEBUG: Releasing VT 7
[+0.01s] DEBUG: Seat seat0: Display server stopped
[+0.01s] DEBUG: Seat seat0: Can't create display server for greeter
[+0.01s] DEBUG: Seat seat0: Session stopped
[+0.01s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+0.01s] DEBUG: Seat seat0: Stopping
[+0.01s] DEBUG: Seat seat0: Stopped
[+0.01s] DEBUG: Failed to start seat: seat0

I've installed lightdm and lightdm-gtk-greeter.
The problem with SLiM is not the permission, but the interpretation. With lxdm everything runs smoothly (except for the ugly look). SLiM, however, interprets restart and shutdown only as logout. Also a
Code: [Select]
# poweroff
result in a logout
I do not understand where the problem with lightdm should be. According to gentoo-wikii, it seems to configure the same way as lxdm.

Re: Artix (OpenRC, xfce) problems

Reply #5
Something is wrong in your setup

Code: [Select]
[+0.00s] DEBUG: Using Xephyr for X servers

I doubt you want to be using Xephyr ? Later error suggests it's not installed.

Re: Artix (OpenRC, xfce) problems

Reply #6
I don't know Xephyr... how can I check where it should be set?

But i've found out that these dir does not exists /usr/share/lightdm/ /usr/local/share/lightdm/ /etc/xdg/lightdm/
Strange...

Re: Artix (OpenRC, xfce) problems

Reply #7
You probably forgot to install a lightdm greeter.

I just tested in vbox, lightdm works just fine if you set the /etc/pam.d/lightdm-greeter to elogind.


Re: Artix (OpenRC, xfce) problems

Reply #9
My log does not mention Xepher. I'm pretty sure it's related that in some way. (often wrong  :)   )

Post your /etc/lightdm/lightdm.conf
And maybe /var/log/lightdm/x-1.log (mentioned in the log you posted, which is weird, you sure you don't have an Xserver running ? would normally be x-0.log i think)

There are other greeters in AUR But I'd get the basic one working first. I use lightdm-slick-greeter
https://aur.archlinux.org/packages/?O=0&SeB=nd&K=lightdm&outdated=&SB=n&SO=a&PP=50&do_Search=Go

Re: Artix (OpenRC, xfce) problems

Reply #10
Now i've uninstalled lightdm and lightdm-gtk-greeter, removed them from paccache und rebootet.
Installed they new and added lightdm to the xdm file.

Same error but different log:
Code: [Select]
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.28.0, UID=0 PID=2239
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+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.00s] DEBUG: Monitoring logind for seats
[+0.00s] DEBUG: New seat added from logind: seat0
[+0.00s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.00s] DEBUG: Seat seat0: Starting
[+0.00s] DEBUG: Seat seat0: Creating greeter session
[+0.00s] DEBUG: Seat seat0: Creating display server of type x
[+0.00s] DEBUG: posix_spawn avoided (fd close requested)
[+0.00s] DEBUG: Could not run plymouth --ping: Failed to execute child process “plymouth” (No such file or directory)
[+0.00s] DEBUG: Using VT 7
[+0.00s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.00s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.00s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+0.00s] DEBUG: XServer 0: Launching X Server
[+0.00s] DEBUG: Launching process 2253: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.00s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.00s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.00s] WARNING: Could not enumerate user data directory /var/lib/lightdm-data: Error opening directory '/var/lib/lightdm-da$
[+0.42s] DEBUG: Got signal 10 from process 2253
[+0.42s] DEBUG: XServer 0: Got signal from X server :0
[+0.42s] DEBUG: XServer 0: Connecting to XServer :0
[+0.42s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified)
[+0.42s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+0.42s] DEBUG: Session pid=2472: Started with service 'lightdm-greeter', username 'lightdm'
[+0.43s] DEBUG: Session pid=2472: Authentication complete with return value 0: Success
[+0.43s] DEBUG: Seat seat0: Session authenticated, running command
[+0.43s] DEBUG: Session pid=2472: Running command /usr/bin/lightdm-gtk-greeter
[+0.44s] WARNING: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknow$
[+0.44s] DEBUG: Loading user config from /etc/lightdm/users.conf
[+0.44s] DEBUG: User desktop added
[+0.44s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+0.44s] WARNING: Could not create user data directory /var/lib/lightdm-data/lightdm: Error creating directory /var/lib/light$
[+0.44s] DEBUG: Session pid=2472: Logging to /var/log/lightdm/seat0-greeter.log
[+0.44s] DEBUG: Activating VT 7
[+0.44s] DEBUG: Greeter closed communication channel
[+0.44s] DEBUG: Session pid=2472: Exited with return value 1
[+0.44s] DEBUG: Seat seat0: Session stopped
[+0.44s] DEBUG: Seat seat0: Stopping; failed to start a greeter
[+0.44s] DEBUG: Seat seat0: Stopping
[+0.44s] DEBUG: Seat seat0: Stopping display server
[+0.44s] DEBUG: Sending signal 15 to process 2253
[+0.61s] DEBUG: Process 2253 exited with return value 0
[+0.61s] DEBUG: XServer 0: X server stopped
[+0.61s] DEBUG: Releasing VT 7
[+0.61s] DEBUG: XServer 0: Removing X server authority /run/lightdm/root/:0
[+0.61s] DEBUG: Seat seat0: Display server stopped
[+0.61s] DEBUG: Seat seat0: Stopped
[+0.61s] DEBUG: Required seat has stopped
[+0.61s] DEBUG: Stopping display manager
[+0.61s] DEBUG: Display manager stopped
[+0.61s] DEBUG: Stopping daemon
[+0.61s] DEBUG: Exiting with return value 1

Re: Artix (OpenRC, xfce) problems

Reply #11
I would check "/var/lib/lightdm-data/" directory, if exist, permissions, owner, users, groups and so on...
Man is as good as his tools.

Re: Artix (OpenRC, xfce) problems

Reply #12
Something does not seem right. The folder did not exist, but it should be created during the installation.
With the folder, same error:
Code: [Select]
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.28.0, UID=0 PID=2239
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+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.00s] DEBUG: Monitoring logind for seats
[+0.00s] DEBUG: New seat added from logind: seat0
[+0.00s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.00s] DEBUG: Seat seat0: Starting
[+0.00s] DEBUG: Seat seat0: Creating greeter session
[+0.00s] DEBUG: Seat seat0: Creating display server of type x
[+0.00s] DEBUG: posix_spawn avoided (fd close requested)
[+0.01s] DEBUG: Could not run plymouth --ping: Failed to execute child process “plymouth” (No such file or directory)
[+0.01s] DEBUG: Using VT 7
[+0.01s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.01s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.01s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+0.01s] DEBUG: XServer 0: Launching X Server
[+0.01s] DEBUG: Launching process 2253: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.01s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.01s] WARNING: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknow$
[+0.01s] DEBUG: Loading user config from /etc/lightdm/users.conf
[+0.01s] DEBUG: User desktop added
[+0.42s] DEBUG: Got signal 10 from process 2253
[+0.42s] DEBUG: XServer 0: Got signal from X server :0
[+0.42s] DEBUG: XServer 0: Connecting to XServer :0
[+0.42s] DEBUG: posix_spawn avoided (fd close requested) (child_setup specified)
[+0.43s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+0.43s] DEBUG: Session pid=2475: Started with service 'lightdm-greeter', username 'lightdm'
[+0.44s] DEBUG: Session pid=2475: Authentication complete with return value 0: Success
[+0.44s] DEBUG: Seat seat0: Session authenticated, running command
[+0.44s] DEBUG: Session pid=2475: Running command /usr/bin/lightdm-gtk-greeter
[+0.44s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+0.44s] DEBUG: Session pid=2475: Logging to /var/log/lightdm/seat0-greeter.log
[+0.44s] DEBUG: Activating VT 7
[+0.44s] DEBUG: Greeter closed communication channel
[+0.44s] DEBUG: Session pid=2475: Exited with return value 1
[+0.44s] DEBUG: Seat seat0: Session stopped
[+0.44s] DEBUG: Seat seat0: Stopping; failed to start a greeter
[+0.44s] DEBUG: Seat seat0: Stopping
[+0.44s] DEBUG: Seat seat0: Stopping display server
[+0.44s] DEBUG: Sending signal 15 to process 2253
[+0.62s] DEBUG: Process 2253 exited with return value 0
[+0.62s] DEBUG: XServer 0: X server stopped
[+0.62s] DEBUG: Releasing VT 7
[+0.62s] DEBUG: XServer 0: Removing X server authority /run/lightdm/root/:0
[+0.62s] DEBUG: Seat seat0: Display server stopped
[+0.62s] DEBUG: Seat seat0: Stopped
[+0.63s] DEBUG: Required seat has stopped
[+0.63s] DEBUG: Stopping display manager
[+0.63s] DEBUG: Display manager stopped
[+0.63s] DEBUG: Stopping daemon
[+0.63s] DEBUG: Exiting with return value 1

What else is needed?

Re: Artix (OpenRC, xfce) problems

Reply #13
It's telling you it failed to start a greeter
Code: [Select]
[+0.44s] DEBUG: Seat seat0: Stopping; failed to start a greeter

Further up it shows you where the greeter log is
/var/log/lightdm/seat0-greeter.log

Have you had a look in there ? Post it and the conf file I mentioned before and the greeter conf file  ;)

Re: Artix (OpenRC, xfce) problems

Reply #14
I would try to get rid of that last warning. Do you have "accountsservice" package ?
But I read it is only optional, so no hard feeling, only trying to remove warnings.

I found similar error in wiki:
https://wiki.archlinux.org/index.php/LightDM#LightDM_freezes_on_login_attempt

But to be more precise it would help if you have log from greeter
Code: [Select]
[+0.44s] DEBUG: Seat seat0: Stopping; failed to start a greeter

Also can you post your "lightdm.conf" ?

In a way the data you gave us are ":( Something went wrong", so I am trying to search for solution with this....
Man is as good as his tools.