You are not logged in.
I have configured autologin following https://wiki.archlinux.org/title/LightDM
grep -v '#' lightdm.conf
[LightDM]
run-directory=/run/lightdm[Seat:*]
session-wrapper=/etc/lightdm/Xsession
[LightDM]
run-directory=/run/lightdm[Seat:*]
session-wrapper=/etc/lightdm/Xsession
autologin-user=buzz
autologin-session=/usr/share/xsessions/mate.desktop
autologin-user-timeout=0
`
[XDMCPServer][VNCServer]
From /var/log/lightdm/lightdm.log
DEBUG: Seat seat0: Failed to find session configuration /usr/share/xsessions/mate.desktop
But
# ls -l /usr/share/xsessions/mate.desktop
-rw-r--r-- 1 root root 8.4K 2021-05-07 00:09 /usr/share/xsessions/mate.desktop
Last edited by buzzwallard (2021-06-02 14:13:22)
Offline
Do you meet
You must be part of the autologin group to be able to login automatically without entering your password:
Online
Do you meet
The linked wiki wrote:You must be part of the autologin group to be able to login automatically without entering your password:
groups buzz
wheel users autologin nopasswdlogin buzz
Offline
buzzwallard: If you were wondering what happened to your first post, you hit report instead of reply
Last edited by ewaller (2021-06-02 01:37:29)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
buzzwallard: If you were wondering what happened to your first post, you hit report instead of reply
Thanks. Sorry.
Bet I do that again though.
Offline
https://wiki.archlinux.org/title/LightD … TTY_output
Otherwise please post the complete lightdm and xorg logs
Online
Ah thank you.
The dialog appears after I manually start lightdm. So would that be the greeter?
Offline
Manually starting lightdm will still attempt to auto-login your user.
Please test a different session, post the lightdm log and link a screenshot so everyone and myself has a visual idea what you're talking about.
Last edited by seth (2021-06-02 13:25:33)
Online
Manually starting lightdm will still attempt to auto-login your user.
Yes. I get that.
Please test a different session, post the lightdm log and link a screenshot so everyone and myself has a visual idea what you're talking about.
There is nothing but happy news in the lightdm log and in the journalctl output.
The crucial piece we're missing is -- NVIDIA.
I had enabled 'Force Composition Pipeline" through nvidia-settings and then merged the config with the existing config. This put
Option "metamodes" "HDMI-0: nvidia-auto-select +0+0 {ForceCompositionPipeline=On}"
into /etc/X11/xorg.conf
All was well until I rebooted -- or restarted lightdm.
Once I removed that line and restarted, I was back to working.
Thanks very much for your work on this site, Seth. I see you here a lot helping out. I am grateful for that.
Offline
That sounds weird - did you invalidate the xorg config?
Or just no HDMI-0?
Do you still have or can you recreate the "bad" file?
Sidenote: you should™ not be using a static server config anyway. Certainly not the cruft that nvidia-xconfg/settings generates.
Online
That sounds weird - did you invalidate the xorg config?,[
Do you still have or can you recreate the "bad" file?
Maybe? I'll regenerate it now. Hang on.
cat /etc/X11/xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 390.143 (dvs-builder@U64-P10-14) Fri Mar 12 07:19:34 UTC 2021# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 390.143 (dvs-builder@U64-P10-14) Fri Mar 12 07:18:28 UTC 2021Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSectionSection "Files"
EndSectionSection "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSectionSection "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSectionSection "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "DELL U2419H"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 76.0
Option "DPMS"
EndSectionSection "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 560M"
EndSectionSection "Screen"
# Removed Option "metamodes" "HDMI-0: nvidia-auto-select +0+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-1"
Option "metamodes" "HDMI-0: nvidia-auto-select +0+0 {ForceCompositionPipeline=On}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Or just no HDMI-0?
Both displays are affected.
Sidenote: you should™ not be using a static server config anyway. Certainly not the cruft that nvidia-xconfg/settings generates.
Lesson learned! But why? How to regenerate the original?
Offline
There's nothign relevant in that config - kbd and mouse drivers are dead anyway and will just cause errors in the xorg log.
The server layout is boring and will be autodetected.
The only thing non-standard is "Option "metamodes" "HDMI-0: nvidia-auto-select +0+0 {ForceCompositionPipeline=On}"" which you could augment eg.
/etc/X11/xorg-conf.d/20-nvidia.conf
Section "Device"
Identifier "Default nvidia Device"
Driver "nvidia"
# Option "metamodes" "HDMI-0: nvidia-auto-select +0+0 {ForceCompositionPipeline=On}
Option "ForceCompositionPipeline" "true" # try this instead
EndSection
I suspect that just
Option "metamodes" "HDMI-0: nvidia-auto-select +0+0"
will get you the misbehavior?
Online
The only thing non-standard is "Option "metamodes" "HDMI-0: nvidia-auto-select +0+0 {ForceCompositionPipeline=On}"" which you could augment eg.
/etc/X11/xorg-conf.d/20-nvidia.conf
This broke it really bad. I didn't even see the password dialog
Adding
Option "metamodes" "HDMI-0: nvidia-auto-select +0+0"
does not cause a problem
Offline
So it doesn't like the composition pipeline?
=> xorg log from such failure run?
Online
xorg.log
Offline
That's the running server which "only" has (the functional)
[ 13.358] (**) NVIDIA(0): Option "MetaModes" "HDMI-0: nvidia-auto-select +0+0"
You probably need /var/log/Xorg.0.log.old?
Online
Ah !
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[ 15.316] Build Operating System: Linux Archlinux
[ 15.316] Current Operating System: Linux asgl 5.10.41-1-lts #1 SMP Fri, 28 May 2021 15:03:28 +0000 x86_64
[ 15.316] Kernel command line: initrd=\intel-ucode.img initrd=\initramfs-linux-lts.img root=PARTUUID=9e3f593e-405c-fc42-a5d1-6be5608380ed rw
[ 15.316] Build Date: 13 April 2021 03:12:10PM
[ 15.316]
[ 15.316] Current version of pixman: 0.40.0
[ 15.316] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 15.316] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 15.317] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jun 2 08:12:48 2021
[ 15.317] (==) Using config file: "/etc/X11/xorg.conf"
[ 15.317] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 15.317] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 15.317] Parse error on line 1 of section OutputClass in file /etc/X11/xorg.conf.d/20-nvidia.conf
"Option" is not a valid keyword in this section.
[ 15.317] (EE) Problem parsing the config file
[ 15.317] (EE) Error parsing the config file
[ 15.317] (EE)
Fatal server error:
[ 15.317] (EE) no screens found(EE)
[ 15.317] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 15.317] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 15.317] (EE)
[ 15.317] (EE) Server terminated with error (1). Closing log file.
Offline
[ 15.317] Parse error on line 1 of section OutputClass in file /etc/X11/xorg.conf.d/20-nvidia.conf
"Option" is not a valid keyword in this section.
Who said something about OutputClass?
https://www.youtube.com/watch?v=T_x6QmuJdms
Online
Beats me, all I have is this:
[seth wrote:
The only thing non-standard is "Option "metamodes" "HDMI-0: nvidia-auto-select +0+0 {ForceCompositionPipeline=On}"" which you could augment eg.
/etc/X11/xorg-conf.d/20-nvidia.conf
So being a good little fixer I added /etc/X11/xorg.conf.d/20-nvidia.conf
# cat /etc/X11/xorg.conf.d/20-nvidia.conf
"Option "metamodes" "HDMI-0: nvidia-auto-select +0+0 {ForceCompositionPipeline=On}"
Last edited by buzzwallard (2021-06-02 22:29:47)
Offline
Yeah, but you can't just add it "somewhere", it has to be a proper section - try
Section "Device" # section header. mandatory. always.
Identifier "Default nvidia Device" # section id - string doesn't matter but mandatory. always.
Driver "nvidia" # match so we apply to the proper driver
Option "ForceCompositionPipeline" "true" # the option you want to set
EndSection # section footer. mandatory. always.
You'll notice that this is the file I suggested previously - only the comments changed
Online
Hey! That worked! And thanks for the comments to the file elements.
I was not suspecting you of giving bad information, Seth. Let that be clear.
This is the newb section after all. I know my place.
Last edited by buzzwallard (2021-06-03 12:17:03)
Offline