Skip to main content
Topic: Plasma OpenRC refuses to boot properly, while every other init works (Read 1480 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: Plasma OpenRC refuses to boot properly, while every other init works

Reply #15
Alright, I fresh installed again, and updated. Oddly, no black screen with just a cursor, but the GUI loading bar still does not move at all.

errors.log:

Code: [Select]
Jun 23 15:35:01 Geth crond[2090]: (root) CAN'T OPEN (/etc/crontab): No such file or directory
Jun 23 15:37:10 Geth /etc/init.d/local[2426]: rc-update: service `consolefont' is not in the runlevel `default'
Jun 23 15:37:10 Geth kernel: nouveau 0000:01:00.0: gr: intr 00000040

crond.log:

Code: [Select]
Jun 23 15:35:01 Geth crond[2090]: (root) CAN'T OPEN (/etc/crontab): No such file or directory
Jun 23 15:35:01 Geth crond[2090]: (*system*) RELOAD (/etc/cron.d/0hourly)
Jun 23 15:35:16 Geth crond[2090]: (CRON) INFO (Shutting down)
Jun 23 15:35:16 Geth crond[7157]: (CRON) STARTUP (1.6.1)
Jun 23 15:35:16 Geth crond[7157]: (CRON) INFO (Syslog will be used instead of sendmail.)
Jun 23 15:35:16 Geth crond[7157]: (CRON) INFO (RANDOM_DELAY will be scaled with factor 14% if used.)
Jun 23 15:35:16 Geth crond[7157]: (CRON) INFO (running with inotify support)
Jun 23 15:35:16 Geth crond[7157]: (CRON) INFO (@reboot jobs will be run at computer's startup.)
Jun 23 15:36:48 Geth crond[7157]: (CRON) INFO (Shutting down)
Jun 23 15:37:08 Geth crond[2113]: (CRON) STARTUP (1.6.1)
Jun 23 15:37:08 Geth crond[2113]: (CRON) INFO (Syslog will be used instead of sendmail.)
Jun 23 15:37:08 Geth crond[2113]: (CRON) INFO (RANDOM_DELAY will be scaled with factor 79% if used.)
Jun 23 15:37:08 Geth crond[2113]: (CRON) INFO (running with inotify support)
Jun 23 15:37:41 Geth crond[2113]: (CRON) INFO (Shutting down)

sddm.log:

Code: [Select]
[15:20:31.853] (II) DAEMON: Initializing...
[15:20:31.860] (II) DAEMON: Starting...
[15:20:31.860] (II) DAEMON: Logind interface found
[15:20:31.861] (II) DAEMON: Adding new display on vt 7 ...
[15:20:31.864] (II) DAEMON: Loading theme configuration from ""
[15:20:31.864] (II) DAEMON: Display server starting...
[15:20:31.864] (II) DAEMON: Adding cookie to "/var/run/sddm/{d1ca2758-33ee-4c5f-ba49-b70579389b7f}"
[15:20:31.881] (II) DAEMON: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt7 -auth
var/run/sddm/{d1ca2758-33ee-4c5f-ba49-b70579389b7f} -noreset -displayfd 17
[15:20:33.119] (II) DAEMON: Setting default cursor
[15:20:33.131] (II) DAEMON: Running display setup script "/usr/share/sddm/scripts/Xsetup"
[15:20:33.135] (II) DAEMON: Display server started.
[15:20:33.136] (II) DAEMON: Reading from "/usr/share/xsessions/plasma.desktop"
[15:20:33.136] (II) DAEMON: Reading from "/usr/share/xsessions/plasma.desktop"
[15:20:33.136] (II) DAEMON: Session "/usr/share/xsessions/plasma.desktop" selected, command: "dbus
run-session /usr/bin/startplasma-x11"
[15:20:33.158] (II) HELPER: [PAM] Starting...
[15:20:33.158] (II) HELPER: [PAM] Authenticating...
[15:20:33.159] (II) HELPER: [PAM] Preparing to converse...
[15:20:33.159] (II) HELPER: [PAM] Conversation with 1 messages
[15:20:33.159] (II) HELPER: [PAM] returning.
[15:20:33.160] (II) DAEMON: Authenticated successfully
[15:20:33.241] (II) HELPER: Starting: "/usr/share/sddm/scripts/Xsession \"dbus-run-session /usr/bin
startplasma-x11\""
[15:20:33.242] (II) HELPER: Adding cookie to "/home/geth/.Xauthority"
[15:20:33.246] (II) DAEMON: Session started
[15:22:33.583] (II) HELPER: [PAM] Closing session
[15:22:33.587] (II) HELPER: [PAM] Ended.
[15:22:33.589] (WW) DAEMON: Auth: sddm-helper exited with 1
[15:36:48.406] (WW) DAEMON: Signal received: SIGTERM
[15:36:48.406] (II) DAEMON: Display server stopping...
[15:36:48.440] (II) DAEMON: Display server stopped.
[15:36:48.440] (II) DAEMON: Running display stop script "/usr/share/sddm/scripts/Xstop"
[15:37:10.018] (II) DAEMON: Initializing...
[15:37:10.032] (II) DAEMON: Starting...
[15:37:10.033] (II) DAEMON: Logind interface found
[15:37:10.035] (II) DAEMON: Adding new display on vt 7 ...
[15:37:10.039] (II) DAEMON: Loading theme configuration from ""
[15:37:10.039] (II) DAEMON: Display server starting...
[15:37:10.039] (II) DAEMON: Adding cookie to "/var/run/sddm/{ef281ae9-58f9-4e89-82df-87d8763a42ad}"
[15:37:10.051] (II) DAEMON: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt7 -auth
var/run/sddm/{ef281ae9-58f9-4e89-82df-87d8763a42ad} -noreset -displayfd 17
[15:37:11.186] (II) DAEMON: Setting default cursor
[15:37:11.200] (II) DAEMON: Running display setup script "/usr/share/sddm/scripts/Xsetup"[15:37:11.204] (II) DAEMON: Display server started.
[15:37:11.205] (II) DAEMON: Reading from "/usr/share/xsessions/plasma.desktop"
[15:37:11.205] (II) DAEMON: Reading from "/usr/share/xsessions/plasma.desktop"
[15:37:11.205] (II) DAEMON: Session "/usr/share/xsessions/plasma.desktop" selected, command: "dbus
run-session /usr/bin/startplasma-x11"
[15:37:11.234] (II) HELPER: [PAM] Starting...
[15:37:11.234] (II) HELPER: [PAM] Authenticating...
[15:37:11.235] (II) HELPER: [PAM] Preparing to converse...
[15:37:11.235] (II) HELPER: [PAM] Conversation with 1 messages
[15:37:11.236] (II) HELPER: [PAM] returning.
[15:37:11.238] (II) DAEMON: Authenticated successfully
[15:37:11.291] (II) HELPER: Starting: "/usr/share/sddm/scripts/Xsession \"dbus-run-session /usr/bin
startplasma-x11\""
[15:37:11.292] (II) HELPER: Adding cookie to "/home/geth/.Xauthority"
[15:37:11.296] (II) DAEMON: Session started
[15:37:41.294] (WW) DAEMON: Signal received: SIGTERM
[15:37:41.294] (II) DAEMON: Display server stopping...
[15:37:41.360] (II) DAEMON: Display server stopped.
[15:37:41.360] (II) DAEMON: Running display stop script "/usr/share/sddm/scripts/Xstop"
[15:37:41.364] (WW) DAEMON: QProcess: Destroyed while process ("/usr/lib/sddm/sddm-helper") is still
running.


daemon.log:

Code: [Select]
Jun 23 15:37:41 Geth /etc/init.d/NetworkManager[3846]: status: stopping
Jun 23 15:37:41 Geth supervise-daemon[1709]: stopping /usr/lib/elogind/elogind, pid 1710
Jun 23 15:37:41 Geth supervise-daemon[1709]: Will stop PID 1710
Jun 23 15:37:41 Geth supervise-daemon[1709]: Sending signal 15 to PID 1710
Jun 23 15:37:41 Geth supervise-daemon[1595]: stopping /usr/bin/dbus-daemon, pid 1596
Jun 23 15:37:41 Geth supervise-daemon[1595]: Will stop PID 1596
Jun 23 15:37:41 Geth supervise-daemon[1595]: Sending signal 15 to PID 1596
Jun 23 15:37:41 Geth ModemManager[2149]: <warn> could not acquire the
'org.freedesktop.ModemManager1' service name
Jun 23 15:37:41 Geth nm-dispatcher[3803]: Caught signal 15, shutting down...
Jun 23 15:37:41 Geth ModemManager[2149]: <info> ModemManager is shut down
Jun 23 15:37:42 Geth supervise-daemon[2066]: stopping /usr/bin/syslog-ng, pid 2067
Jun 23 15:37:42 Geth supervise-daemon[2066]: Will stop PID 2067
Jun 23 15:37:42 Geth supervise-daemon[2066]: Sending signal 15 to PID 2067

rc.log:

Code: [Select]

rc boot logging started at Thu Jun 23 15:20:25 2022

termencoding | * Setting terminal encoding [UTF-8] ...
modules | * Loading module crypto_user ...
[ ok ]
[ ok ]
keymaps | * Setting keyboard mode [UTF-8] ...
[ ok ]
keymaps | * Loading key mappings [us] ...
hwclock | * Setting system clock using the hardware clock [UTC] ...
[ ok ]
[ ok ]
loopback | * Bringing up network interface lo ...
sysctl | * Configuring kernel parameters ...
[ ok ]
procfs | * Mounting misc binary format filesystem ...
[ ok ]
fsck | * Checking local filesystems ...
[ ok ]
fsck |fsck.fat 4.2 (2021-01-31)
fsck |/dev/sda1: 6 files, 74/76643 clusters
hostname | * Setting hostname to Geth from /etc/hostname ...
[ ok ]
[ ok ]
root | * Remounting filesystems ...
binfmt | * Loading custom binary format handlers ...
[ ok ]
[ ok ]
mtab | * Updating /etc/mtab ...
mtab | * Creating mtab symbolic link
swap | * Activating swap devices ...
[ ok ]
[ ok ]
localmount | * Mounting local filesystems ...
[ ok ]
bootmisc | * Creating user login records ...
opensysusers | * Setting up sysusers.d entries ...
opentmpfiles-setup| * Setting up tmpfiles.d entries ...
[ ok ]
[ ok ]
[ ok ]
save-keymaps | * Saving key mapping ...
save-termencoding | * Saving terminal encoding ...[ ok ]
net.lo | * Bringing up interface lo
net.lo | * Caching network module dependencies
dbus | * Starting dbus ...
[ ok ]
net.lo | * 127.0.0.1/8 ...
[ ok ]
net.lo | * Adding routes
net.lo | * 127.0.0.0/8 via 127.0.0.1 ...
[ ok ]
[ ok ]
[ ok ]
elogind | * Starting elogind ...
[ ok ]

rc boot logging stopped at Thu Jun 23 15:20:30 2022


rc default logging started at Thu Jun 23 15:20:30 2022

syslog-ng | * Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ...
NetworkManager | * Starting NetworkManager ...
bluetoothd | * Starting bluetoothd ...
[ ok ]
[ ok ]
[ ok ]
syslog-ng | * /var/lib/syslog-ng: correcting mode
syslog-ng | * Starting syslog-ng ...
[ ok ]
cronie | * Starting cronie ...
[ ok ]
acpid | * Starting acpid ...
[ ok ]
NetworkManager |Connecting..... 1sConnecting...... 1sConnecting.......
1sConnecting........ 1sConnecting......... 1sConnecting.......... 1sConnecting...........1sConnecting............ 1sConnecting............. 1sConnecting.............. 1sConnecting...............1sConnecting............... 0s [offline]
NetworkManager | * Marking NetworkManager as inactive. It will automatically be marked
NetworkManager | * as started after a network connection has been established.
netmount | * WARNING: netmount will start when NetworkManager has started
NetworkManager | * WARNING: NetworkManager has started, but is inactive
sddm | * Starting sddm ...
avahi-daemon | * Starting avahi-daemon ...
[ ok ]

[ ok ]
cupsd | * Starting cupsd ...
[ ok ]
local | * Starting local ...
[ ok ]

rc default logging stopped at Thu Jun 23 15:20:32 2022


rc shutdown logging started at Thu Jun 23 15:36:47 2022

 * Caching service dependencies ...
[ ok ]
openrc-settingsd | * Stopping openrc-settingsd ...
cupsd | * Stopping cupsd ...
swap | * Deactivating swap devices ...
local | * Stopping local ...
bluetoothd | * Stopping bluetoothd ...
[ ok ]
sddm | * Stopping sddm ...
acpid | * Stopping acpid ...
[ ok ]
netmount | * Unmounting network filesystems ...
[ !! ]
[ ok ]
[ ok ]
cronie | * Stopping cronie ...
[ ok ]
[ ok ]
avahi-daemon | * Stopping avahi-daemon ...
NetworkManager | * Stopping NetworkManager ...
[ ok ]
[ ok ]
syslog-ng | * Stopping syslog-ng ...
[ ok ]
elogind | * Stopping elogind ...
[ ok ]
[ ok ]
dbus | * Stopping dbus ...
[ ok ]
[ ok ]
localmount | * Unmounting loop devices
localmount | * Unmounting filesystems
localmount | * Unmounting /tmp ...[ ok ]
localmount | * Unmounting /boot/efi ...
[ ok ]
hwclock | * Setting hardware clock using the system clock [UTC] ...
udev | * Stopping udev ...
[ ok ]
[ ok ]

rc shutdown logging stopped at Thu Jun 23 15:36:49 2022


rc shutdown logging started at Thu Jun 23 15:36:47 2022

 * Caching service dependencies ...
[ ok ]
openrc-settingsd | * Stopping openrc-settingsd ...
cupsd | * Stopping cupsd ...
swap | * Deactivating swap devices ...
local | * Stopping local ...
bluetoothd | * Stopping bluetoothd ...
[ ok ]
sddm | * Stopping sddm ...
acpid | * Stopping acpid ...
[ ok ]
netmount | * Unmounting network filesystems ...
[ !! ]
[ ok ]
[ ok ]
cronie | * Stopping cronie ...
[ ok ]
[ ok ]
avahi-daemon | * Stopping avahi-daemon ...
NetworkManager | * Stopping NetworkManager ...
[ ok ]
[ ok ]
syslog-ng | * Stopping syslog-ng ...
[ ok ]
elogind | * Stopping elogind ...
[ ok ]
[ ok ]
dbus | * Stopping dbus ...
[ ok ]
[ ok ]
localmount | * Unmounting loop deviceslocalmount | * Unmounting filesystems
localmount | * Unmounting /tmp ...
[ ok ]
localmount | * Unmounting /boot/efi ...
[ ok ]
hwclock | * Setting hardware clock using the system clock [UTC] ...
udev | * Stopping udev ...
[ ok ]
[ ok ]

rc shutdown logging stopped at Thu Jun 23 15:36:49 2022


rc boot logging started at Thu Jun 23 15:37:07 2022

termencoding | * Setting terminal encoding [UTF-8] ...
[ ok ]
modules | * Loading module crypto_user ...
[ ok ]
keymaps | * Setting keyboard mode [UTF-8] ...
[ ok ]
keymaps | * Loading key mappings [us] ...
hwclock | * Setting system clock using the hardware clock [UTC] ...
[ ok ]
[ ok ]
procfs | * Mounting misc binary format filesystem ...
[ ok ]
loopback | * Bringing up network interface lo ...
sysctl | * Configuring kernel parameters ...
[ ok ]
hostname | * Setting hostname to Geth from /etc/hostname ...
fsck | * Checking local filesystems ...
[ ok ]
[ ok ]
fsck |fsck.fat 4.2 (2021-01-31)
fsck |/dev/sda1: 6 files, 74/76643 clusters
[ ok ]
binfmt | * Loading custom binary format handlers ...
[ ok ]
root | * Remounting filesystems ...
[ ok ]
mtab | * Updating /etc/mtab ...
mtab | * Creating mtab symbolic link
[ ok ]swap | * Activating swap devices ...
[ ok ]
localmount | * Mounting local filesystems ...
[ ok ]
opensysusers | * Setting up sysusers.d entries ...
seedrng | * Seeding random number generator ...
seedrng | * Saving 256 bits of creditable seed for next boot
opentmpfiles-setup| * Setting up tmpfiles.d entries ...
[ ok ]
[ ok ]
[ ok ]
bootmisc | * Creating user login records ...
[ ok ]
save-keymaps | * Saving key mapping ...
dbus | * Starting dbus ...
[ ok ]
[ ok ]
consolefont | * Setting console font [default8x16] ...
net.lo | * Bringing up interface lo
net.lo | * Caching network module dependencies
save-termencoding | * Saving terminal encoding ...
[ ok ]
elogind | * Starting elogind ...
[ ok ]
[ ok ]
net.lo | * 127.0.0.1/8 ...
[ ok ]
net.lo | * Adding routes
net.lo | * 127.0.0.0/8 via 127.0.0.1 ...
[ ok ]
[ ok ]

rc boot logging stopped at Thu Jun 23 15:37:08 2022


rc default logging started at Thu Jun 23 15:37:08 2022

syslog-ng | * Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ...
bluetoothd | * Starting bluetoothd ...
[ ok ]
NetworkManager | * Starting NetworkManager ...
[ ok ]
[ ok ]
syslog-ng | * Starting syslog-ng ...[ ok ]
cronie | * Starting cronie ...
[ ok ]
acpid | * Starting acpid ...
[ ok ]
NetworkManager |Connecting.... 1sConnecting..... 1sConnecting......
1sConnecting....... 1sConnecting........ 1sConnecting......... 1sConnecting..........1sConnecting........... 1sConnecting............ 1sConnecting............. 1sConnecting..............1sConnecting............... 1sConnecting............... 0s [offline]
NetworkManager | * Marking NetworkManager as inactive. It will automatically be marked
NetworkManager | * as started after a network connection has been established.
netmount | * WARNING: netmount will start when NetworkManager has started
NetworkManager | * WARNING: NetworkManager has started, but is inactive
avahi-daemon | * Starting avahi-daemon ...
sddm | * Starting sddm ...
[ ok ]
[ ok ]
cupsd | * Starting cupsd ...
[ ok ]
local | * Starting local ...
[ ok ]

rc default logging stopped at Thu Jun 23 15:37:10 2022


rc shutdown logging started at Thu Jun 23 15:37:41 2022

netmount | * Unmounting network filesystems ...
openrc-settingsd | * Stopping openrc-settingsd ...
seedrng | * Saving random number generator seed ...
[ ok ]
sddm | * Stopping sddm ...
seedrng | * Seeding 256 bits and crediting
seedrng | * Saving 256 bits of creditable seed for next boot
acpid | * Stopping acpid ...
cronie | * Stopping cronie ...
cupsd | * Stopping cupsd ...
local | * Stopping local ...
[ ok ]
[ ok ]
[ ok ]
bluetoothd | * Stopping bluetoothd ...
swap | * Deactivating swap devices ...
[ ok ]

[ !! ]
[ ok ]
[ ok ]
NetworkManager | * Stopping NetworkManager ...
avahi-daemon | * Stopping avahi-daemon ...
[ ok ]
[ ok ]
elogind | * Stopping elogind ...
[ ok ]
[ ok ]
dbus | * Stopping dbus ...
[ ok ]
[ ok ]
syslog-ng | * Stopping syslog-ng ...
[ ok ]
localmount | * Unmounting loop devices
localmount | * Unmounting filesystems
localmount | * Unmounting /tmp ...
[ ok ]
localmount | * Unmounting /boot/efi ...
[ ok ]
hwclock | * Setting hardware clock using the system clock [UTC] ...
udev | * Stopping udev ...
[ ok ]
[ ok ]

rc shutdown logging stopped at Thu Jun 23 15:37:43 2022

 

Re: Plasma OpenRC refuses to boot properly, while every other init works

Reply #16
Yep, using startx, I opened konsole successfully. So what does this suggest? It is a problem with sddm not working properly?

Could be sddm but maybe not.
You showed you could get a very basic desktop with no sddm and by running
Code: [Select]
startx /usr/bin/konsole
Did you also try starting KDE / Plasma this way ? I just had a fiddle with the VM I made and for whatever reason I could not get a Plasma desktop using a startx one liner but it worked fine putting what I said into ~/.xinitrc and just running
Code: [Select]
startx

From your description I'm guessing you chose the 'autologin' feature during installation ?
As you don't mention entering a password on the sddm screen.

It would seem that the issue is with loading Plasma not with sddm but that's not certain to me.
Which is why you should try loading Plasma via startx to see if the same issue remains or does not.

I don't use a display manager as I don't see the need and have experienced odd behavior from them in the past.
My Artix install automatically logs me onto tty1 at boot then I type my alias to startx 'sx' and viola desktop.


Re: Plasma OpenRC refuses to boot properly, while every other init works

Reply #17

From your description I'm guessing you chose the 'autologin' feature during installation ?
As you don't mention entering a password on the sddm screen.

It autologs in yes. I am doubtful that it is Plasma that is the issue, as using any other init works flawlessly, only OpenRC has issues.

Re: Plasma OpenRC refuses to boot properly, while every other init works

Reply #18
It autologs in yes. I am doubtful that it is Plasma that is the issue, as using any other init works flawlessly, only OpenRC has issues.

Well it seems to be getting past the sddm stage and hanging at the loading of Plasma.
Just because Plasma works on other init type iso's doesn't mean it's openrc at fault.
There could be other peculiarities as to how the openrc iso was built. Which is causing problems ?

I've told you twice what I'd try next.

If it was me and that hadn't worked the next thing I'd try would be creating a temp user account and trying to start Plasma with a fresh and clean set of user settings.

Re: Plasma OpenRC refuses to boot properly, while every other init works

Reply #19
Well it seems to be getting past the sddm stage and hanging at the loading of Plasma.
Just because Plasma works on other init type iso's doesn't mean it's openrc at fault.
There could be other peculiarities as to how the openrc iso was built. Which is causing problems ?

I've told you twice what I'd try next.

If it was me and that hadn't worked the next thing I'd try would be creating a temp user account and trying to start Plasma with a fresh and clean set of user settings.
I have figured it out! It is the auto-login feature. Leaving it off and reinstalling, and even past updating, I can successfully sign in and it loads up the desktop just fine.

The cause of the problem is the auto-login feature which is not allowing the system to load the desktop.

Re: Plasma OpenRC refuses to boot properly, while every other init works

Reply #20
The cause of the problem is the auto-login feature which is not allowing the system to load the desktop.
Glad you got it working. In the case of the VM I span up it worked both with and without autologin.
sddm handles the autologin so I guess we can say it was an sddm problem or at least related to sddm ?

If you want autologin, and the device is to be single user then sddm is bringing very little to the table.
It's fairly trivial to remove sddm, set the system to autologin to a tty, and then make X start automatcally.

To autologin to tty1 edit /etc/conf.d/agetty.tty1 to
Code: [Select]
# make agetty quiet
quiet="yes"

# Set the baud rate of the terminal line
baud="38400"

# set the terminal type
term_type="linux"

# extra options to pass to agetty for this port
agetty_options="--autologin YOURUSERNAME -J"
To start X automatically I used to have something like this in the user ~/.bash_profile
Code: [Select]
#Startx Automatically
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
. startx
logout
fi
I haven't tested the X bit. I prefer to start X manually now. But I used to have something like that. Check X isn't running, check we're on tty1. If so startx