Gnome terminal hangs on autostart rarely
Hello!
I just start to face strange gnome autostart behavior with autostart terminal applications. When system boots, gnome showing terminal windows with no content and no way to interact with it (I can close it).
I found this behavior already been described in 10 years old bug here:
I face the same on my laptop with recent linux (debian 12 / bookworm). I have terminal window on screen with default title and no output. It stays there. I unable to type anything. Terminal does not respond to the Ctrl+C. Listing X11 windows showing following window class and window title and PID:
29360138 - CLASS='gnome-terminal-server' TITLE='Терминал' P='1691'
In my case I'm using Gnome (43.1-1) with old slow laptop (that can be racing issue).
I'm using this startup script:
~/.config/autostart/playlist.desktop
[Desktop Entry]
Type=Application
Exec=env PATH='/home/admin/bin:/home/admin/bin:/home/admin/.go/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin:/usr/sbin' AUTOSTART='/home/admin/bin/playlist-1' bash --init-file /home/admin/bin/playlist
Hidden=false
NoDisplay=false
Terminal=true
X-GNOME-Autostart-enabled=true
Name=playlist
Most of the time it works fine, but sometimes it showing blank terminal window. I do not think this is gnome-terminal related issues. But gnome-shell it self and some racing conditions involved.
This is all my laptop specs and logs: