I have a "fix/workaround" for this auto-login-no-window-resize issue,
which has been bugging me ever since I went Ubuntu 24.04!

My situation: have always used auto-login.  Since moving to 24.04
(most?) windows do not show a "shadow" on their borders and hovering the
mouse does not give a resize-cursor.  Logging out and re-logging in with
username+password fixes both.  Importantly, I find the same problem and
same solution whether I use default Wayland or switch to my preferred
Xorg (because of other Wayland issues).

One post here suggests this behaviour may have gone away at 24.10+?  I
cannot say.  But if like me you remain on 24.04 then read on....

I found the auto-login settings are saved in `/etc/gdm3/custom.conf`.
That contained:

```
[daemon]
AutomaticLoginEnable=true
AutomaticLogin=jon

# Uncomment the line below to force the login screen to use Xorg
#WaylandEnable=false

# Enabling automatic login

# Enabling timed login
#  TimedLoginEnable = true
#  TimedLogin = user1
#  TimedLoginDelay = 10
```

I changed to *comment out* the two `AutomaticLogin...` lines and
uncommented the `Enabling timed login` section to read:

```
[daemon]
#AutomaticLoginEnable=true
#AutomaticLogin=jon

# Uncomment the line below to force the login screen to use Xorg
#WaylandEnable=false

# Enabling automatic login

# Enabling timed login
TimedLoginEnable = true
TimedLogin = jon
TimedLoginDelay = 5

```

So `TimedLogin` is set to my username.  I played with `TimedLoginDelay`
value (which is in seconds): at 5 seconds the desktop works correctly,
when I tried making it 2 seconds it seemed too little and the no-drag
re-appeared.  YMMV.

This means that after boot instead of *immediately* logging me in
without "prompt" screen it now shows username box ready to click +
password.  You see a little "progress line" under your name, and after
my specified 5 second delay it auto-logs me in.

At this point I see all windows have the "black border shadow" and
hovering mouse gives resize-cursor and can resize.  All seems well, just
like if you had not used auto-login in the first place or re-logged in
to fix.

I hope this might help anyone... :)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2064177

Title:
  Window borders and shadows missing from GTK3 dialogs (if autologin is
  enabled and Xorg is used)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gtk/+bug/2064177/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to