You are not logged in.
Hi
I have a problem regarding my Arch installation at a Dell Inspiron 13 7000 Series.
Since this laptop wireless hardware have a firmware issue (Atheros QCA6174), I installed
everything offline, using the Archiso page of the wiki and instructions to download and
install packages from a device.
Everything is working just fine, except that my SDDM won't start at boot, even if it's
enabled:
# systemctl enable sddm.service
If I manually starts sddm using
# systemctl start sddm.service
a Plasma 5 session loads without issues.
I generated the example configuration file and modified accordingly:
[Autologin]
# Autologin again on session exit
Relogin=false
# Autologin session
Session=plasma.desktop
# Autologin user
User=chicao
[General]
# Halt command
HaltCommand=/usr/bin/systemctl poweroff
# Initial NumLock state
# Valid values: on|off|none
# If property is set to none, numlock won't be changed
Numlock=none
# Reboot command
RebootCommand=/usr/bin/systemctl reboot
[Theme]
# Current theme name
Current=breeze
# Cursor theme
CursorTheme=breeze
...
The service symlink is properly set:
# ls -la /etc/systemd/system/display-manager.service
[...] /etc/systemd/system/display-manager.service -> /usr/lib/systemd/system/sddm.service
and its syntax and configuration is also properly set:
[Unit]
Description=Simple Desktop Display Manager
Documentation=man:sddm(1) man:sddm.conf(5)
Conflicts=getty@tty1.service
After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service
[Service]
ExecStart=/usr/bin/sddm
Restart=always
#PrivateTmp=yes
[Install]
Alias=display-manager.service
However, running
# systemctl status sddm.service
yields the following output
sddm.service - Simple Desktop Display Manager
Loaded: loaded (/usr/lib/systemd/system/sddm.service; enabled; vendor preset: disabled)
Active: inactive (dead)
Docs: man: sddm(1)
man: sddm.conf(5)
And running
systemctl --all
doesn't show sddm at all, which is weird since it shows the loaded services, both active and inactive.
The sddm.service unit only shows in the listing of unit files:
systemctl list-unit-files | grep sddm
sddm.service enabled
making more stranger the situation.
Anyway, does anybody knows what's the deal of sddm not loading at boot?
Last edited by chicao (2016-06-07 18:35:56)
Offline
At a guess, I would say it looks like you're booting into multi-user.target instead of graphical.target
What do the following say?:
$ systemctl status default.target
$ cat /proc/cmdline
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
These where the outputs
# systemctl status default.target
● multi-user.target - Multi-User System
Loaded: loaded (/usr/lib/systemd/system/multi-user.target; enabled; vendor preset: disabled)
Active: active since Tue 2016-06-07 09:11:17 BRT; 1min 58s ago
Docs: man:systemd.special(7)
Jun 07 09:11:17 anahata systemd[1]: Reached target Multi-User System.
# cat /proc/cmdline
initrd=\EFI\arch\initramfs-linux.img root=PARTUUID=214cda00-b8d8-01d1-006d-a0106cdce800 rw
Offline
So my theory was correct, you've told systemd that you want to boot into multi-user.target instead of graphical.target. Use 'systemctl set-default' to change it back to graphical.target.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Setting the default target as graphical solved the issue:
# systemctl set-default graphical.target
Thank you very much.
I'll mark the post as solved.
Offline