Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lightdm starts up then immediately removes login dialog box
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 934
Location: Queensland

PostPosted: Tue Aug 31, 2021 8:33 am    Post subject: lightdm starts up then immediately removes login dialog box Reply with quote

As per this short video (11 MiB), when lightdm starts up, it shows the login dialog as expected, but then immediately removes it. Any idea why?
xrandr:
Screen 0: minimum 8 x 8, current 7424 x 2160, maximum 32767 x 32767
DP1 connected 2560x1600+3840+323 (normal left inverted right x axis y axis) 590mm x 330mm
   2560x1600     59.97*+
   1920x1200     59.95 
   1920x1080     60.00    50.00    59.94 
   1920x1080i    60.00    50.00    59.94 
   1680x1050     59.88 
   1600x900      60.00 
   1280x1024     60.02 
   1280x800      59.91 
   1280x720      60.00    50.00    59.94 
   1024x768      60.00 
   800x600       60.32 
   720x576       50.00 
   720x480       60.00    59.94 
   640x480       60.00    59.94 
DP2 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 950mm x 540mm
   3840x2160     30.00*   25.00    24.00    29.97    23.98 
   1920x2160     59.99 
   2560x1440     59.95 
   1920x1080     60.00    60.00    50.00    59.94 
   1920x1080i    60.00    50.00    59.94 
   1680x1050     59.95 
   1280x1024     75.02    60.02 
   1440x900      59.89 
   1280x960      60.00 
   1280x720      60.00    50.00    59.94 
   1024x768      75.03    70.07    60.00 
   832x624       74.55 
   800x600       72.19    75.00    60.32    56.25 
   720x576       50.00 
   720x480       60.00    59.94 
   640x480       75.00    72.81    66.67    60.00    59.94 
   720x400       70.08 
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
VGA1 connected 1024x768+6400+832 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768      60.00*
   800x600       60.32    56.25 
   848x480       60.00 
   640x480       59.94 
   1680x1050_60.00  59.95 
VIRTUAL1 disconnected (normal left inverted right x axis y axis)


[Fixed syntax in the url -tag. -- Zucca]
_________________
Michael Mounteney
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2961
Location: Edge of marsh USA

PostPosted: Wed Sep 01, 2021 2:46 am    Post subject: Reply with quote

Is the pretty waterfall picture familiar?

It could be an advanced security feature. (humor)

Did you upgrade to x11-misc/xscreensaver-6.01-r3 recently? (I'm suspecting the new xscreensaver or one of its dependencies of misbehaving and deplcleaned it this afternoon. It will take a day or two to confirm that was the issue, so I'm just dangling this out there.)
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
dbtx
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jan 2020
Posts: 117

PostPosted: Wed Sep 01, 2021 4:33 pm    Post subject: Reply with quote

Hello,
Do you have an xorg.conf, or are the other displays being autodetected? It looks like lightdm isn't "immediately removing the dialog" so much as the primary display is dropping out from under it, though briefly. I would guess that lightdm gets confused about where the dialog is or should be, so it doesn't reappear when the wallpaper does. I mean, it's like the primary display comes up instantly and then blinks off and back on while the others are added and Screen 0's dimensions change to 7424x2160. If you disconnect the smaller displays before starting lightdm, does this problem go away?
Back to top
View user's profile Send private message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 934
Location: Queensland

PostPosted: Tue Sep 07, 2021 12:21 pm    Post subject: Reply with quote

dbtx is correct. If I disconnect the other displays, the login dialog appears on the primary display and stays there.

So, next question: is it possible to make the dialog appear on a specific display, or on every display? sddm does the latter.
_________________
Michael Mounteney
Back to top
View user's profile Send private message
dbtx
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jan 2020
Posts: 117

PostPosted: Wed Sep 08, 2021 7:17 pm    Post subject: Reply with quote

I don't see an option for that but here are some things you could try:

1. prove that the problem is really the screen layout/dimensions changing:
unplug the other displays, and plug one of them in after the login box appears, to see if it blinks and disappears again

2. if it is, then it's probably a bug in lightdm or the greeter you're using. Maybe upstream thinks you're not supposed to hot-add displays while the login is showing, but one of your monitors took a bit longer to wake up, thus triggering it, so maybe they know or maybe they want to know.

3. Try using a different greeter:
I don't know what x11-misc/lightdm-mini-greeter looks like and I didn't ask if you're using gtk. mini might have better options, or no such problem.

4. try forcing the dialog location in e.g. /etc/lightdm/lightdm-gtk-greeter.conf:
Code:
[greeter]
position=100 100

and adjust it as desired, perhaps 1800 900. the default is 50% 50% and that calculation could be the source of the problem

5. try setting a hacky workaround in /etc/lightdm/lightdm.conf:
Code:
[Seat:*]
display-setup-script=until `xrandr | grep -q 7424`; do sleep 1; done

"should" stall things until your X screen is at its correct size but I didn't try it. It might not even like bash syntax in there, in which case, paste it into /usr/local/bin/scriptnamehere, chmod +x it, and point to it

6. Brute Force: add Device and Screen and ServerLayout sections to xorg.conf so that Screen 0 is already the right size

HTH
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum