You are not logged in.

#1 2021-02-24 22:48:47

danitab
Member
Registered: 2021-02-24
Posts: 13

LightDm Doesn't Work

I wanted to enable lightdm and start it ,
But when i type

sudo systemctl start lightdm             
[sudo] password for dani: 
Job for lightdm.service failed because the control process exited with error code.
See "systemctl status lightdm.service" and "journalctl -xe" for details.
 

and command

 journalctl -xe 
Hint: You are currently not seeing messages from other users and the system.
      Users in groups 'adm', 'systemd-journal', 'wheel' can see all messages.
      Pass -q to turn off this notice.
░░ The job identifier is 510.
Feb 25 02:13:33 danial systemd[13988]: app-gnome-gnome\x2dterminal-15879.scope:>
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit UNIT has successfully entered the 'dead' state.
Feb 25 02:13:40 danial sudo[15934]: pam_systemd_home(sudo:account): systemd-hom>
Feb 25 02:13:40 danial sudo[15934]:     dani : TTY=pts/0 ; PWD=/home/dani ; USE>
Feb 25 02:13:40 danial sudo[15934]: pam_unix(sudo:session): session opened for >
Feb 25 02:13:41 danial sudo[15934]: pam_unix(sudo:session): session closed for >
Feb 25 02:13:41 danial gnome-shell[14046]: Failed to use stored monitor configu>
Feb 25 02:13:41 danial gnome-shell[14046]: libinput error: event13 - SYNA7DB5:0>
Feb 25 02:13:41 danial gnome-shell[14046]: See https://wayland.freedesktop.org/>
Feb 25 02:13:42 danial gnome-shell[14046]: Window manager warning: Overwriting >
Feb 25 02:13:42 danial gnome-shell[14046]: Window manager warning: Overwriting >
Feb 25 02:13:42 danial gnome-shell[14046]: Window manager warning: Overwriting >
Feb 25 02:13:42 danial gnome-shell[14046]: Window manager warning: Overwriting >
Feb 25 02:13:42 danial gnome-shell[14046]: Window manager warning: Overwriting >
Feb 25 02:13:42 danial gnome-shell[14046]: Window manager warning: Overwriting >
Feb 25 02:13:42 danial gnome-shell[14046]: Window manager warning: Overwriting >
Feb 25 02:13:42 danial gnome-shell[14046]: Window manager warning: Overwriting >
Feb 25 02:13:42 danial gnome-shell[14046]: Window manager warning: Overwriting  

I Dont know How to Config  It Cause my system resolution is 1920x1680

Offline

#2 2021-02-24 22:57:32

seth
Member
Registered: 2012-09-03
Posts: 51,608

Re: LightDm Doesn't Work

I don't know what your resolution has to do w/ anything, but you're apparently running this from a gnome-shell what means you've reached a graphical.target (and it's likely GDM) so you can't start lightdm and it doesn't make any sense to do so either.

=> What are you *actually* trying to do?

Offline

#3 2021-02-25 08:10:26

danitab
Member
Registered: 2021-02-24
Posts: 13

Re: LightDm Doesn't Work

I want to enable lightdm, but it does'nt work.
and when i type

journalctl -xe

It takes me this error

pam_systemd_home(sudo:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.

 
and if you want to know my resolution, its 1920x1080

Offline

#4 2021-02-25 11:38:49

seth
Member
Registered: 2012-09-03
Posts: 51,608

Re: LightDm Doesn't Work

I want to enable lightdm

Well, then you'll have to *enable* it. nb. that most likely you'll have to disable gdm as well (since I assume you've that enabled right now)

It takes me this error

That's not an error but meaningless systemd noise.
Also "journalctl -xe" is useless, "-x" is essentially spam and "-e" just scrolls the pager for you.
If you want to see the system journal (which is going to be relevant for lightdm), you'll have to run "sudo journalctl" or add yourself to the special groups as the command told you…

and if you want to know

No, why?
For some reason your OP stated

I Dont know How to Config  It Cause my system resolution is 1920x1680

which seems out of context and makes no obvious sense at all.

Offline

#5 2021-02-26 08:37:04

danitab
Member
Registered: 2021-02-24
Posts: 13

Re: LightDm Doesn't Work

OK Look , I want to enable and start lightdm . First

 systemctl enable lightdm
Created symlink /etc/systemd/system/display-manager.service → /usr/lib/systemd/system/lightdm.service.

OK It Works , Second

systemctl start lightdm 
Job for lightdm.service failed because the control process exited with error code.
See "systemctl status lightdm.service" and "journalctl -xe" for details.

I type both of them for details

systemctl status lightdm.service 
● lightdm.service - Light Display Manager
     Loaded: loaded (/usr/lib/systemd/system/lightdm.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Fri 2021-02-26 11:54:23 +0330; 1min 46s ago
       Docs: man:lightdm(1)
    Process: 1712 ExecStart=/usr/bin/lightdm (code=exited, status=1/FAILURE)
   Main PID: 1712 (code=exited, status=1/FAILURE)

AND

journalctl -xe 
Failed to use stored monitor configuration: Invalid mode 1680x1050 (59.883251) for monitor 'LGD 0x065a']

I said my resolution is 1920x1080 cause this  error is about 1680x1050  ^^^^
and excuse me.. cause my language is not very goor

Offline

#6 2021-02-26 08:56:44

seth
Member
Registered: 2012-09-03
Posts: 51,608

Re: LightDm Doesn't Work

That message is from gnome-shell (and was not visible in the OP)
You cannot start lightdm from a graphical session.

Offline

#7 2021-02-26 09:20:19

danitab
Member
Registered: 2021-02-24
Posts: 13

Re: LightDm Doesn't Work

Ok , another problem...... when i reboot and press Alt + Ctrl + F2 to command mode , I Type

 systemctl start lightdm 

it works with it theme (I install Theme on my lightdm) but when i type my pass to go to my Gnome , the screen were blacked !! (Oh God You Have A Problem With My Arch)

Offline

#8 2021-02-26 09:44:39

seth
Member
Registered: 2012-09-03
Posts: 51,608

Re: LightDm Doesn't Work

press Alt + Ctrl + F2

likely meas there's another display server on tty1...

You Have A Problem With My Arch

No we don't. Neither a problem nor is it archlinux...

Offline

#9 2021-02-26 09:55:29

danitab
Member
Registered: 2021-02-24
Posts: 13

Re: LightDm Doesn't Work

I dont know what should i do ,
and my  sentense means God Has A Problem With My Arch

Offline

#10 2021-02-26 12:48:09

seth
Member
Registered: 2012-09-03
Posts: 51,608

Re: LightDm Doesn't Work

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

Offline

#11 2021-02-26 13:07:57

danitab
Member
Registered: 2021-02-24
Posts: 13

Re: LightDm Doesn't Work

Output is this

bluetooth.service                        | bluetooth.target.wants
dbus-org.bluez.service                   | system
dbus-org.freedesktop.nm-dispatcher.service | system
dirmngr.socket                           | sockets.target.wants
display-manager.service                  | system
getty@tty1.service                       | getty.target.wants
gpg-agent-browser.socket                 | sockets.target.wants
gpg-agent-extra.socket                   | sockets.target.wants
gpg-agent.socket                         | sockets.target.wants
gpg-agent-ssh.socket                     | sockets.target.wants
NetworkManager.service                   | multi-user.target.wants
NetworkManager-wait-online.service       | network-online.target.wants
p11-kit-server.socket                    | sockets.target.wants
pipewire.socket                          | sockets.target.wants
pulseaudio.socket                        | sockets.target.wants
remote-fs.target                         | multi-user.target.wants
xdg-user-dirs-update.service             | default.target.wants

Offline

#12 2021-02-26 13:10:48

seth
Member
Registered: 2012-09-03
Posts: 51,608

Re: LightDm Doesn't Work

systemctl show display-manager.service

Offline

#13 2021-02-26 13:17:28

danitab
Member
Registered: 2021-02-24
Posts: 13

Re: LightDm Doesn't Work

Its 249 lines !!!
so what i have to do with it

Last edited by danitab (2021-02-26 13:18:06)

Offline

#14 2021-02-26 13:19:51

seth
Member
Registered: 2012-09-03
Posts: 51,608

Re: LightDm Doesn't Work

systemctl show display-manager.service | curl -F 'f:1=<-' ix.io

Offline

#15 2021-02-26 13:24:58

danitab
Member
Registered: 2021-02-24
Posts: 13

Re: LightDm Doesn't Work

http://ix.io/2QVZ

Offline

#16 2021-02-26 13:28:39

seth
Member
Registered: 2012-09-03
Posts: 51,608

Re: LightDm Doesn't Work

That's lightdm. Since it's eanbled, why do you

press Alt + Ctrl + F2 to command mode , I Type systemctl start lightdm

?

Offline

#17 2021-02-26 13:32:55

danitab
Member
Registered: 2021-02-24
Posts: 13

Re: LightDm Doesn't Work

the sreen were blacked each time and i sometimes have to start it by commands (but sometimes it automatically loads)

Offline

#19 2021-02-26 13:46:20

danitab
Member
Registered: 2021-02-24
Posts: 13

Re: LightDm Doesn't Work

Ok , one of my 2 problems fixed, lightdm automatically loads but when i type my password the screen were blacked and doesnt show my gnome desktop env , and i have to press that keys to go to command mode and stop lightdm and start sddm ,(maybe i have to switch to sddm)

Last edited by danitab (2021-02-26 13:47:52)

Offline

#20 2021-02-26 13:49:02

seth
Member
Registered: 2012-09-03
Posts: 51,608

Re: LightDm Doesn't Work

"gnome" (wayland) or "gnome on xorg" - or both?

Offline

#21 2021-02-26 13:50:44

danitab
Member
Registered: 2021-02-24
Posts: 13

Re: LightDm Doesn't Work

i think ,,, there is both of them , but it is on gnome wayland always

Offline

#22 2021-02-26 13:53:37

seth
Member
Registered: 2012-09-03
Posts: 51,608

Re: LightDm Doesn't Work

Try gnome on xorg?

Offline

#23 2021-02-26 13:57:13

danitab
Member
Registered: 2021-02-24
Posts: 13

Re: LightDm Doesn't Work

nothning changed !!
i think its the lightdm problem cause sddm is on gnome wayland and it works

Offline

#24 2021-02-26 14:44:51

seth
Member
Registered: 2012-09-03
Posts: 51,608

Re: LightDm Doesn't Work

Please post the complete system journal after a failed attempt to start a gnome session.

Offline

#25 2021-02-26 14:56:30

danialtabkhi
Banned
Registered: 2021-02-24
Posts: 4

Re: LightDm Doesn't Work

When lightdm loads I inter my password to load my gnome wayland but the sreen were blacked and nothing.. I press Ctrl Alt F2 and

systemctl stop lightdm

and

systemctl start sddm

Then the simple sddm comes and i type my password and gnome loads and i can open firefox and chat with you ,
Thank you
Do you think i have to creat another topic about this problem ???

Last edited by danialtabkhi (2021-02-26 14:57:58)

Offline

Board footer

Powered by FluxBB