You are not logged in.

#1 2020-09-14 16:02:37

Khere
Member
From: Italy
Registered: 2020-03-04
Posts: 53

[SOLVED] Error with sddm at Boot, start only from root tty

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 :

https://pastebin.com/iTA4X1FD

Last edited by Khere (2020-09-15 16:44:30)


Fan of Giorgio Moroder & Mohammad Ammax enemy

Offline

#2 2020-09-14 17:17:19

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 10,764

Re: [SOLVED] Error with sddm at Boot, start only from root tty

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

#3 2020-09-15 08:08:37

Khere
Member
From: Italy
Registered: 2020-03-04
Posts: 53

Re: [SOLVED] Error with sddm at Boot, start only from root tty

I post my journalctl -b output :

https://pastebin.com/m36SGGGx


Fan of Giorgio Moroder & Mohammad Ammax enemy

Offline

#4 2020-09-15 08:22:34

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 10,764

Re: [SOLVED] Error with sddm at Boot, start only from root tty

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

#5 2020-09-15 09:04:03

Khere
Member
From: Italy
Registered: 2020-03-04
Posts: 53

Re: [SOLVED] Error with sddm at Boot, start only from root tty

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

#6 2020-09-15 10:27:44

d_fajardo
Member
Registered: 2017-07-28
Posts: 936

Re: [SOLVED] Error with sddm at Boot, start only from root tty

Read V1del's first post. Have you at least enabled sddm.service?

Offline

#7 2020-09-15 13:06:04

Khere
Member
From: Italy
Registered: 2020-03-04
Posts: 53

Re: [SOLVED] Error with sddm at Boot, start only from root tty

I have enabled sddm.service , after open the issue


Fan of Giorgio Moroder & Mohammad Ammax enemy

Offline

#8 2020-09-15 13:39:05

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 10,764

Re: [SOLVED] Error with sddm at Boot, start only from root tty

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

#9 2020-09-15 14:53:38

Khere
Member
From: Italy
Registered: 2020-03-04
Posts: 53

Re: [SOLVED] Error with sddm at Boot, start only from root tty

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

#10 2020-09-15 15:01:55

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 10,764

Re: [SOLVED] Error with sddm at Boot, start only from root tty

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

#11 2020-09-15 16:41:19

Khere
Member
From: Italy
Registered: 2020-03-04
Posts: 53

Re: [SOLVED] Error with sddm at Boot, start only from root tty

It work, thank you very much, have a nice day


Fan of Giorgio Moroder & Mohammad Ammax enemy

Offline

Board footer

Powered by FluxBB