You are not logged in.
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
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
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
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
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
That message is from gnome-shell (and was not visible in the OP)
You cannot start lightdm from a graphical session.
Offline
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
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
I dont know what should i do ,
and my sentense means God Has A Problem With My Arch
Offline
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
Offline
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
systemctl show display-manager.service
Offline
Its 249 lines !!!
so what i have to do with it
Last edited by danitab (2021-02-26 13:18:06)
Offline
systemctl show display-manager.service | curl -F 'f:1=<-' ix.io
Offline
http://ix.io/2QVZ
Offline
That's lightdm. Since it's eanbled, why do you
press Alt + Ctrl + F2 to command mode , I Type systemctl start lightdm
?
Offline
the sreen were blacked each time and i sometimes have to start it by commands (but sometimes it automatically loads)
Offline
Offline
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
"gnome" (wayland) or "gnome on xorg" - or both?
Offline
i think ,,, there is both of them , but it is on gnome wayland always
Offline
Try gnome on xorg?
Offline
nothning changed !!
i think its the lightdm problem cause sddm is on gnome wayland and it works
Offline
Please post the complete system journal after a failed attempt to start a gnome session.
Offline
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