Discussion:
lightdm errors
(too old to reply)
Eben King
2024-06-04 14:00:01 UTC
Permalink
If this is off topic, let me know a better forum please.

Overnight, I'm getting errors every 2s from lightdm.
Jun 04 01:57:01 cerberus lightdm[1546921]: xrandr: cannot find mode 1920x1200
Jun 04 01:57:03 cerberus lightdm[1546948]: xrandr: cannot find mode 1920x1200
Jun 04 01:57:05 cerberus lightdm[1546982]: xrandr: cannot find mode 1920x1200
Jun 04 01:57:07 cerberus lightdm[1547009]: xrandr: cannot find mode 1920x1200

and so on.

I have three monitors on the onboard connectors. The left (1920x1080) is
tall, the other two (1920x1200) are wide. The default situation was that
the monitors were in the wrong order, and the left one was sideways. I
wrote a script which used xrandr to fix this in XFCE, though I rarely need it.

Anyhow I don't know where that error is coming from. There's a line

***@cerberus:/etc/lightdm$ grep fixm *
lightdm.conf:# greeter-setup-script = /export/bin/fixmonitors

but as you see it's commented out. And the string "1920x1200" appears
nowhere in the config files:

***@cerberus:/etc/lightdm$ grep 1920 *
***@cerberus:/etc/lightdm$

Does anyone know how to increase logging in lightdm so I can see why it's
complaining? Thanks.

--
The United States of America: Screwing with
the English Language for over 200 years.

-- Mike Sphar on ASR
Charles Curley
2024-06-04 16:50:01 UTC
Permalink
On Tue, 4 Jun 2024 09:55:51 -0400
Post by Eben King
Jun 04 01:57:07 cerberus lightdm[1547009]: xrandr: cannot find mode 1920x1200
and so on.
I have three monitors on the onboard connectors. The left
(1920x1080) is tall, the other two (1920x1200) are wide. The default
situation was that the monitors were in the wrong order, and the left
one was sideways. I wrote a script which used xrandr to fix this in
XFCE, though I rarely need it.
I suggest you use arandr to set things as you wish, then export a
script to automate that setup. Then call the script from your session
manager.

Or, since you are using XFCE, Applications -> Settings -> Display and
set things up there.
--
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/
Charles Curley
2024-06-04 18:00:01 UTC
Permalink
Don't tell just me. Please reply to the list.

On Tue, 4 Jun 2024 13:28:23 -0400
[...]
[...]
[...]
I did that a while back, when I set the monitors up this way. They
were arranged correctly once I logged in. It's just in lightdm that
they were wrong. They are correct now (I actually don't know why,
unless it's ignoring the hash mark for that line), but I get those
errors, which might be related to it not going into suspend overnight.
xrandr: cannot find mode 1920x1200
13581 May 25 00:41:10 cerberus lightdm[2823087]: xrandr: cannot
find mode 1920x1200
14599 May 26 01:35:52 cerberus lightdm[282746]: xrandr: cannot
find mode 1920x1200
17512 May 27 01:02:53 cerberus lightdm[951063]: xrandr: cannot
find mode 1920x1200
18670 May 28 00:38:05 cerberus lightdm[1676638]: xrandr: cannot
find mode 1920x1200
13689 May 29 00:34:24 cerberus lightdm[2413887]: xrandr: cannot
find mode 1920x1200
14006 May 30 01:52:22 cerberus lightdm[3092520]: xrandr: cannot
find mode 1920x1200
14376 May 31 01:40:14 cerberus lightdm[3751983]: xrandr: cannot
find mode 1920x1200
15296 Jun 01 00:58:00 cerberus lightdm[206925]: xrandr: cannot
find mode 1920x1200
16280 Jun 02 00:00:00 cerberus lightdm[175982]: xrandr: cannot
find mode 1920x1200
13209 Jun 03 02:25:20 cerberus lightdm[909251]: xrandr: cannot
find mode 1920x1200
12630 Jun 04 01:56:54 cerberus lightdm[1546837]: xrandr: cannot
find mode 1920x1200
There are no errors on the 23rd related to xrandr, so I suspect
something happened on the 24th.
<investigation happens>
The logged event right before lightdm started acting up was
May 24 21:25:01 cerberus dbus-daemon[1362]: [session uid=1000
pid=1362] Activating service name='org.xfce.Xfconf' req>
May 24 21:25:01 cerberus dbus-daemon[1362]: [session uid=1000
pid=1362] Successfully activated service 'org.xfce.Xfco>
Maybe that dbus update was bad? Or I only updated part of it or
something?
--
This message was created using recycled electrons.
--
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/
e***@gmx.us
2024-06-04 18:10:01 UTC
Permalink
Post by Charles Curley
On Tue, 4 Jun 2024 09:55:51 -0400
Post by Eben King
Jun 04 01:57:07 cerberus lightdm[1547009]: xrandr: cannot find mode 1920x1200
and so on.
I have three monitors on the onboard connectors. The left
(1920x1080) is tall, the other two (1920x1200) are wide. The default
situation was that the monitors were in the wrong order, and the left
one was sideways. I wrote a script which used xrandr to fix this in
XFCE, though I rarely need it.
I suggest you use arandr to set things as you wish, then export a
script to automate that setup. Then call the script from your session >
manager.
Post by Charles Curley
Or, since you are using XFCE, Applications -> Settings -> Display and
set things up there.
I did that a while back, when I set the monitors up this way. They were
arranged correctly once I logged in. It's just in lightdm that they were
wrong. They are correct now (I actually don't know why, unless it's
ignoring the hash mark for that line), but I get those errors, which might
be related to it not going into suspend overnight.

I modified lightdm's config on 20 May (so says my log), but:

***@cerberus:~$ sudo journalctl | grep xrandr | uniq -c --check-chars=6
3015 May 24 21:25:03 cerberus lightdm[2714286]: xrandr: cannot find mode
1920x1200
13581 May 25 00:41:10 cerberus lightdm[2823087]: xrandr: cannot find mode
1920x1200
14599 May 26 01:35:52 cerberus lightdm[282746]: xrandr: cannot find mode
1920x1200
17512 May 27 01:02:53 cerberus lightdm[951063]: xrandr: cannot find mode
1920x1200
18670 May 28 00:38:05 cerberus lightdm[1676638]: xrandr: cannot find mode
1920x1200
13689 May 29 00:34:24 cerberus lightdm[2413887]: xrandr: cannot find mode
1920x1200
14006 May 30 01:52:22 cerberus lightdm[3092520]: xrandr: cannot find mode
1920x1200
14376 May 31 01:40:14 cerberus lightdm[3751983]: xrandr: cannot find mode
1920x1200
15296 Jun 01 00:58:00 cerberus lightdm[206925]: xrandr: cannot find mode
1920x1200
16280 Jun 02 00:00:00 cerberus lightdm[175982]: xrandr: cannot find mode
1920x1200
13209 Jun 03 02:25:20 cerberus lightdm[909251]: xrandr: cannot find mode
1920x1200
12630 Jun 04 01:56:54 cerberus lightdm[1546837]: xrandr: cannot find mode
1920x1200

There are no errors on the 23rd related to xrandr, so I suspect something
happened on the 24th.

<investigation happens>

The logged event right before lightdm started acting up was
May 24 21:25:01 cerberus dbus-daemon[1362]: [session uid=1000 pid=1362]
Activating service name='org.xfce.Xfconf' req>
May 24 21:25:01 cerberus dbus-daemon[1362]: [session uid=1000 pid=1362]
Successfully activated service 'org.xfce.Xfco>

Maybe that dbus update was bad? Or I only updated part of it or something?

--

This message was created using recycled electrons.

Loading...