• lightdm errors

    From Eben King@21:1/5 to All on Tue Jun 4 16:00:01 2024
    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

    eben@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:

    eben@cerberus:/etc/lightdm$ grep 1920 *
    eben@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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles Curley@21:1/5 to Eben King on Tue Jun 4 18:50:01 2024
    On Tue, 4 Jun 2024 09:55:51 -0400
    Eben King <eben@gmx.us> wrote:

    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/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From eben@gmx.us@21:1/5 to Charles Curley on Tue Jun 4 20:10:01 2024
    On 6/4/24 12:44, Charles Curley wrote:
    On Tue, 4 Jun 2024 09:55:51 -0400
    Eben King <eben@gmx.us> wrote:

    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.

    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:

    eben@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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles Curley@21:1/5 to eben@gmx.us on Tue Jun 4 20:00:01 2024
    Don't tell just me. Please reply to the list.

    On Tue, 4 Jun 2024 13:28:23 -0400
    eben@gmx.us wrote:

    On 6/4/24 12:44, Charles Curley wrote:
    [...]
    [...]
    [...]

    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:

    eben@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.




    --
    Does anybody read signatures any more?

    https://charlescurley.com
    https://charlescurley.com/blog/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)