You are not logged in.
Hi i have a problem with sddm, when i boot my O.S. it doesn't start and start only if i log in with root user and start the service with systemctl.
How can i fix that ?
That's the output of journalct -b -u sddm :
Last edited by Khere (2020-09-15 16:44:30)
Fan of Giorgio Moroder & Mohammad Ammax enemy
Offline
There's no issue in that log. Did you forget to enable the service? If that isn't it you might be running into a race condition with SDDM and your graphics adapter in which case you want to enable early KMS for whichever module applies. Otherwise post a complete
sudo journalctl -b
from an affected boot as well as a xorg.log if present.
Last edited by V1del (2020-09-14 17:18:09)
Offline
I post my journalctl -b output :
Fan of Giorgio Moroder & Mohammad Ammax enemy
Offline
set 15 10:04:49 arch systemd[1]: Queued start job for default target Multi-User System.
There's no attempt at the graphical target made, read my first link and all links in that section.
Offline
What i have to change in usr/share/xsessions/plasma.desktop
That's my plasma.desktop file instructions
[Desktop Entry]
Type=XSession
Exec=/usr/bin/startplasma-x11
TryExec=/usr/bin/startplasma-x11
X-KDE-PluginInfo-Version=5.19.5
Thx for your help.
Last edited by Khere (2020-09-16 07:46:48)
Fan of Giorgio Moroder & Mohammad Ammax enemy
Offline
Read V1del's first post. Have you at least enabled sddm.service?
Offline
I have enabled sddm.service , after open the issue
Fan of Giorgio Moroder & Mohammad Ammax enemy
Offline
Read: https://wiki.archlinux.org/index.php/Sy … _boot_into
and maybe post
systemctl status sddm graphical.target display-manager
systemctl get-default
ls -l /usr/lib/systemd/system/default.target /etc/systemd/system/default.target
Also I think you did look at the wrong section in the wiki that you posted your xsession file. If one posts a link with a headline the browser will scroll that section to the top of the view, you need to read the section I posted not the one talking about xsessions below it.
Offline
That's the output of systemctl status sddm graphical.target display-manager:
sddm.service - Simple Desktop Display Manager
Loaded: loaded (/usr/lib/systemd/system/sddm.service; enabled; vendor pres>
Active: active (running) since Tue 2020-09-15 16:48:13 CEST; 1min 12s ago
Docs: man:sddm(1)
man:sddm.conf(5)
Main PID: 400 (sddm)
Tasks: 8 (limit: 4600)
Memory: 72.6M
CGroup: /system.slice/sddm.service
├─400 /usr/bin/sddm
└─402 /usr/lib/Xorg -nolisten tcp -auth /var/run/sddm/{798e690c-38>
set 15 16:48:38 arch sddm-helper[482]: pam_systemd_home(sddm:account): systemd->
set 15 16:48:38 arch sddm[400]: Authenticated successfully
set 15 16:48:38 arch sddm-helper[482]: pam_kwallet5(sddm:setcred): pam_kwallet5>
set 15 16:48:38 arch sddm-helper[482]: pam_unix(sddm:session): session opened f>
set 15 16:48:38 arch sddm[400]: Auth: sddm-helper exited successfully
set 15 16:48:38 arch sddm[400]: Greeter stopped.
set 15 16:48:38 arch sddm-helper[482]: gkr-pam: gnome-keyring-daemon started pr>
set 15 16:48:38 arch sddm-helper[482]: pam_kwallet5(sddm:session): pam_kwallet5>
set 15 16:48:38 arch sddm-helper[482]: Starting: "/usr/share/sddm/scripts/Xsess>
set 15 16:48:38 arch sddm[400]: Session started
● graphical.target - Graphical Interface
Loaded: loaded (/usr/lib/systemd/system/graphical.target; static)
Active: inactive (dead)
Docs: man:systemd.special(7)
● sddm.service - Simple Desktop Display Manager
Loaded: loaded (/usr/lib/systemd/system/sddm.service; enabled; vendor pres>
Active: active (running) since Tue 2020-09-15 16:48:13 CEST; 1min 12s ago
Docs: man:sddm(1)
man:sddm.conf(5)
Main PID: 400 (sddm)
Tasks: 8 (limit: 4600)
Memory: 72.6M
CGroup: /system.slice/sddm.service
├─400 /usr/bin/sddm
└─402 /usr/lib/Xorg -nolisten tcp -auth /var/run/sddm/{798e690c-38>
set 15 16:48:38 arch sddm-helper[482]: pam_systemd_home(sddm:account): systemd->
set 15 16:48:38 arch sddm[400]: Authenticated successfully
set 15 16:48:38 arch sddm-helper[482]: pam_kwallet5(sddm:setcred): pam_kwallet5>
set 15 16:48:38 arch sddm-helper[482]: pam_unix(sddm:session): session opened f>
set 15 16:48:38 arch sddm[400]: Auth: sddm-helper exited successfully
set 15 16:48:38 arch sddm[400]: Greeter stopped.
set 15 16:48:38 arch sddm-helper[482]: gkr-pam: gnome-keyring-daemon started pr>
set 15 16:48:38 arch sddm-helper[482]: pam_kwallet5(sddm:session): pam_kwallet5>
set 15 16:48:38 arch sddm-helper[482]: Starting: "/usr/share/sddm/scripts/Xsess>
set 15 16:48:38 arch sddm[400]: Session started
The output of :
sudo systemctl get-default:
multi-user.target
The output of ;
ls -l /usr/lib/systemd/system/default.target /etc//systemd/system/default.target:
lrwxrwxrwx 1 root root 41 26 ago 08.52 /etc//systemd/system/default.target -> /usr/lib/systemd/system/multi-user.target
lrwxrwxrwx 1 root root 16 13 set 20.28 /usr/lib/systemd/system/default.target -> graphical.target
Last edited by Khere (2020-09-16 07:46:13)
Fan of Giorgio Moroder & Mohammad Ammax enemy
Offline
Please wrap outputs in [ code ] [ /code ] tags without the spaces.
Your default target is still wrong, and for some reason you seem to have a manually allocated multi-user.target that overrides the default set by the enablement:
rm /etc/systemd/system/default.target
Offline
It work, thank you very much, have a nice day
Fan of Giorgio Moroder & Mohammad Ammax enemy
Offline