You are not logged in.
gnome-terminal does not launch, other terminals work fine.
If I launch gnome-terminal from another terminal, I get:
% gnome-terminal
# Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: Timeout was reached
This happens for every user, even freshly created ones; I've tried both bash and zsh and nothing changes.
I've been having this issue for months, I've googled a lot and read a lot of threads, on archlinux forum as well, but couldn't find any solution. Everyone, even [SOLVED] threads, pointed at locale issues, but none of proposed solutions worked for me.
This system is an rsync clone from another archlinux system, made exactly 1 year ago. The original system works fine and never had any issue with gnome-terminal. I've seen only 2 differences: LC_ALL= in /etc/locale.conf and a permission issue on 'localectl list-locales'.
I didn't set LC_ALL In either system, I don't know what is setting it to "en_US.UTF-8".
Cloned archlinux OS, gnome-terminal not working:
% locale
LANG=en_GB.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8
% localectl list-locales
Failed to execute 'pager', using next fallback pager: Permission denied
en_GB.UTF-8
en_US.UTF-8
it_IT.UTF-8
% sudo localectl list-locales
en_GB.UTF-8
en_US.UTF-8
it_IT.UTF-8
% cat /etc/locale.conf
LC_ALL=
LANG=en_GB.UTF-8
GDM_LANG=en_GB.UTF-8
LC_CTYPE=C
LC_NUMERIC=it_IT.UTF-8
LC_TIME=it_IT.UTF-8
LC_COLLATE=C
LC_MONETARY=it_IT.UTF-8
#LC_MESSAGES=it_IT.UTF-8
LC_PAPER=it_IT.UTF-8
#LC_NAME=en_GB.UTF-8
#LC_ADDRESS=it_IT.UTF-8
#LC_TELEPHONE=it_IT.UTF-8
LC_MEASUREMENT=it_IT.UTF-8
#LC_IDENTIFICATION=en_GB.UTF-8
% cat /etc/locale.gen
# Configuration file for locale-gen
#
# lists of locales that are to be generated by the locale-gen command.
#
# Each line is of the form:
#
# <locale> <charset>
#
# where <locale> is one of the locales given in /usr/share/i18n/locales
# and <charset> is one of the character sets listed in /usr/share/i18n/charmaps
#
# Examples:
# en_US ISO-8859-1
# en_US.UTF-8 UTF-8
# de_DE ISO-8859-1
# de_DE@euro ISO-8859-15
#
# The locale-gen command will generate all the locales,
# placing them in /usr/lib/locale.
#
# A list of supported locales is included in this file.
# Uncomment the ones you need.
#
en_GB.UTF-8 UTF-8
en_US.UTF-8 UTF-8
it_IT.UTF-8 UTF-8
Original archlinux OS, gnome-terminal working:
% locale
LANG=en_GB.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8
% localectl list-locales
en_GB.UTF-8
en_US.UTF-8
it_IT.UTF-8
% cat /etc/locale.conf
#LANG=en_GB.UTF-8
#LC_ALL=en_GB.UTF-8
LANG=en_GB.UTF-8
#LC_ALL=C
GDM_LANG=en_GB.UTF-8
#LC_CTYPE=C
#LC_NUMERIC=en_GB.UTF-8
#LC_TIME=en_GB.UTF-8
#LC_COLLATE=C
#LC_MONETARY=it_IT.UTF-8
#LC_MESSAGES=en_GB.UTF-8
#LC_PAPER=en_GB.UTF-8
#LC_NAME=en_GB.UTF-8
#LC_ADDRESS=en_GB.UTF-8
#LC_TELEPHONE=it_IT.UTF-8
#LC_MEASUREMENT=it_IT.UTF-8
#LC_IDENTIFICATION=en_GB.UTF-8
% cat /etc/locale.gen
# Configuration file for locale-gen
#
# lists of locales that are to be generated by the locale-gen command.
#
# Each line is of the form:
#
# <locale> <charset>
#
# where <locale> is one of the locales given in /usr/share/i18n/locales
# and <charset> is one of the character sets listed in /usr/share/i18n/charmaps
#
# Examples:
# en_US ISO-8859-1
# en_US.UTF-8 UTF-8
# de_DE ISO-8859-1
# de_DE@euro ISO-8859-15
#
# The locale-gen command will generate all the locales,
# placing them in /usr/lib/locale.
#
# A list of supported locales is included in this file.
# Uncomment the ones you need.
#
en_GB.UTF-8 UTF-8
en_US.UTF-8 UTF-8
it_IT.UTF-8 UTF-8
Last edited by buntolo (2021-02-25 19:51:20)
Offline
dbus-send --session --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.ListNames
Did you maybe clone some of the volatile or system FS?
Offline
dbus-send --session --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.ListNames
% dbus-send --session --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.ListNames
method return time=1615821758.571131 sender=org.freedesktop.DBus -> destination=:1.173 serial=3 reply_serial=2
array [
string "org.freedesktop.DBus"
string "org.mate.Terminal.Display_0"
string "org.freedesktop.Notifications"
string ":1.108"
string ":1.9"
string "org.gnome.Mutter.DisplayConfig"
string "org.gnome.GPaste"
string "org.freedesktop.systemd1"
string "org.gnome.Mutter.IdleMonitor"
string "org.gnome.Boxes.SearchProvider"
string "org.gnome.evolution.dataserver.AddressBook10"
string "org.gnome.SettingsDaemon.Wacom"
string "org.gnome.SettingsDaemon.MediaKeys"
string "org.gtk.vfs.Daemon"
string "org.gnome.SettingsDaemon.Datetime"
string "org.gnome.SettingsDaemon.PrintNotifications"
string "org.pulseaudio.Server"
string "org.gnome.SettingsDaemon.XSettings"
string "org.gnome.Mutter.ScreenCast"
string "org.gnome.ControlCenter.SearchProvider"
string "org.gnome.GPaste.Daemon"
string "org.gnome.SettingsDaemon.UsbProtection"
string ":1.80"
string "org.gnome.SessionManager"
string ":1.82"
string ":1.60"
string ":1.83"
string ":1.61"
string ":1.170"
string ":1.62"
string ":1.40"
string "org.gnome.evolution.dataserver.Sources5"
string ":1.171"
string ":1.63"
string "org.gnome.SettingsDaemon.ScreensaverProxy"
string ":1.41"
string "org.gtk.vfs.UDisks2VolumeMonitor"
string "org.a11y.Bus"
string ":1.172"
string ":1.86"
string ":1.42"
string "org.gnome.Mutter.RemoteDesktop"
string ":1.20"
string ":1.173"
string "org.gnome.Calendar"
string ":1.87"
string ":1.65"
string "org.gnome.SettingsDaemon.Power"
string ":1.43"
string "org.gnome.Shell.AudioDeviceSelection"
string ":1.21"
string "org.gnome.Identity"
string ":1.66"
string ":1.44"
string "org.gnome.keyring"
string ":1.22"
string "org.gnome.Shell.CalendarServer"
string "org.freedesktop.PackageKit"
string ":1.67"
string ":1.45"
string "org.gnome.Shell"
string ":1.23"
string "org.gnome.Epiphany.SearchProvider"
string ":1.46"
string ":1.24"
string ":1.69"
string ":1.47"
string "org.gnome.Shell.Wacom.PadOsd"
string ":1.25"
string ":1.156"
string ":1.48"
string ":1.26"
string ":1.157"
string ":1.113"
string ":1.49"
string "org.gnome.Shell.Screenshot"
string ":1.27"
string ":1.158"
string "org.gtk.Settings"
string ":1.28"
string ":1.159"
string "org.gtk.vfs.GPhoto2VolumeMonitor"
string ":1.29"
string "ca.desrt.dconf"
string "org.freedesktop.Telepathy.ChannelDispatcher"
string "org.gtk.vfs.mountpoint_8048"
string "org.gnome.SettingsDaemon.Sound"
string ":1.118"
string "org.gnome.SettingsDaemon.Rfkill"
string "org.freedesktop.ScreenSaver"
string ":1.119"
string "org.gtk.MountOperationHandler"
string "org.gnome.Shell.Introspect"
string "org.gnome.evolution.dataserver.Calendar8"
string "org.gnome.Magnifier"
string "org.gnome.tweak-tool.lid-inhibitor"
string "org.gtk.vfs.AfcVolumeMonitor"
string "org.freedesktop.FileManager1"
string "org.gtk.vfs.mountpoint_7938"
string "org.gnome.SettingsDaemon.Smartcard"
string "org.gnome.SettingsDaemon.A11ySettings"
string "org.PulseAudio1"
string "org.freedesktop.Telepathy.Client.GnomeShell._3a1_2e21.n0"
string "org.gnome.Nautilus"
string "org.gtk.vfs.mountpoint_http"
string "org.gnome.SettingsDaemon.Housekeeping"
string "org.gtk.vfs.GoaVolumeMonitor"
string "org.gnome.Panel"
string "org.freedesktop.Telepathy.AccountManager"
string "org.gnome.Calculator.SearchProvider"
string "org.gnome.SettingsDaemon.Sharing"
string "org.gtk.Notifications"
string "org.gnome.Evolution-alarm-notify"
string ":1.70"
string ":1.71"
string "org.gnome.ScreenSaver"
string "org.gnome.OnlineAccounts"
string ":1.72"
string "org.gnome.Shell.Notifications"
string ":1.50"
string "org.freedesktop.impl.portal.desktop.gnome"
string ":1.73"
string ":1.51"
string ":1.160"
string "org.gtk.vfs.Metadata"
string ":1.74"
string "org.gnome.SettingsDaemon.Color"
string ":1.52"
string ":1.30"
string ":1.161"
string "com.nextcloudgmbh.Nextcloud"
string ":1.75"
string ":1.53"
string ":1.31"
string ":1.162"
string ":1.76"
string "org.gnome.SettingsDaemon.Keyboard"
string ":1.54"
string ":1.32"
string ":1.10"
string "org.freedesktop.impl.portal.PermissionStore"
string ":1.163"
string ":1.55"
string ":1.33"
string ":1.11"
string "org.gnome.keyring.SystemPrompter"
string ":1.164"
string ":1.78"
string ":1.56"
string ":1.34"
string ":1.12"
string "org.freedesktop.Telepathy.MissionControl5"
string ":1.121"
string ":1.79"
string ":1.57"
string ":1.35"
string ":1.0"
string ":1.13"
string ":1.166"
string ":1.122"
string ":1.58"
string ":1.36"
string ":1.1"
string ":1.14"
string ":1.167"
string ":1.123"
string ":1.59"
string ":1.37"
string "org.freedesktop.secrets"
string ":1.15"
string ":1.168"
string "org.gnome.Contacts.SearchProvider"
string "org.gtk.vfs.MTPVolumeMonitor"
string ":1.16"
string ":1.169"
string ":1.125"
string "org.freedesktop.Tracker3.Miner.Files"
string ":1.103"
string ":1.39"
string ":1.4"
string ":1.17"
string ":1.104"
string ":1.18"
string ":1.149"
string "org.gnome.Software"
string "org.gnome.Disks.NotificationMonitor"
string ":1.19"
]
Did you maybe clone some of the volatile or system FS?
It may be the case. I usually avoid /proc and /sys, but I usually don't bother avoiding /dev etc, because it's still quick.
Should I delete theme and restart?
Offline
The session bus is there and responds.
=> man coredumpctl, maybe gnome-terminal simply segfaults.
Offline
The session bus is there and responds.
=> man coredumpctl, maybe gnome-terminal simply segfaults.
I've created a dump for gnome-terminal: core.40821.
# gdb /usr/bin/gnome-terminal core.40821
GNU gdb (GDB) 10.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/gnome-terminal...
(No debugging symbols found in /usr/bin/gnome-terminal)
warning: Can't open file /memfd:wayland-cursor (deleted) during file-backed mapping note processing
warning: Can't open file /usr/lib/libdatrie.so.1.3.5 during file-backed mapping note processing
warning: Can't open file /usr/lib/libzstd.so.1.4.8 during file-backed mapping note processing
warning: Can't open file /usr/lib/libpangoft2-1.0.so.0.4800.2 during file-backed mapping note processing
warning: Can't open file /usr/lib/libpangocairo-1.0.so.0.4800.2 during file-backed mapping note processing
warning: Can't open file /usr/lib/libgnutls.so.30.29.0 during file-backed mapping note processing
warning: Can't open file /usr/lib/libpango-1.0.so.0.4800.2 during file-backed mapping note processing
warning: Can't open file /usr/lib/libgdk-3.so.0.2404.21 during file-backed mapping note processing
warning: Can't open file /usr/lib/libgtk-3.so.0.2404.21 during file-backed mapping note processing
[New LWP 40821]
[New LWP 40822]
[New LWP 40823]
[New LWP 40824]
[New LWP 40825]
warning: .dynamic section for "/usr/lib/libgnutls.so.30" is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for "/usr/lib/libsystemd.so.0" is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for "/usr/lib/libpangoft2-1.0.so.0" is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for "/usr/lib/libzstd.so.1" is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for "/usr/lib/gio/modules/libdconfsettings.so" is not at the expected address (wrong library or version mismatch?)
Warning: couldn't activate thread debugging using libthread_db: Cannot find new threads: generic error
warning: File "/usr/lib/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file add
add-auto-load-safe-path /usr/lib/libthread_db-1.0.so
line to your configuration file "/root/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/root/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `gnome-terminal'.
#0 0x00007f0c2d46537f in poll () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x7f0c29ef7bc0 (LWP 40821))]
(gdb)
So I've created .gdbinit with this inside it:
# cat .gdbinit
# warning: File "/usr/lib/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
# To enable execution of this file add
# add-auto-load-safe-path /usr/lib/libthread_db-1.0.so
#line to your configuration file "/root/.gdbinit".
add-auto-load-safe-path /usr/lib/libthread_db-1.0.so
# To completely disable this security protection add
# set auto-load safe-path /
# line to your configuration file "/root/.gdbinit".
# For more information about this security protection see the
# "Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
# info "(gdb)Auto-loading safe path"
Now I get:
# gdb /usr/bin/gnome-terminal core.40821
GNU gdb (GDB) 10.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/gnome-terminal...
(No debugging symbols found in /usr/bin/gnome-terminal)
warning: Can't open file /memfd:wayland-cursor (deleted) during file-backed mapping note processing
warning: Can't open file /usr/lib/libdatrie.so.1.3.5 during file-backed mapping note processing
warning: Can't open file /usr/lib/libzstd.so.1.4.8 during file-backed mapping note processing
warning: Can't open file /usr/lib/libpangoft2-1.0.so.0.4800.2 during file-backed mapping note processing
warning: Can't open file /usr/lib/libpangocairo-1.0.so.0.4800.2 during file-backed mapping note processing
warning: Can't open file /usr/lib/libgnutls.so.30.29.0 during file-backed mapping note processing
warning: Can't open file /usr/lib/libpango-1.0.so.0.4800.2 during file-backed mapping note processing
warning: Can't open file /usr/lib/libgdk-3.so.0.2404.21 during file-backed mapping note processing
warning: Can't open file /usr/lib/libgtk-3.so.0.2404.21 during file-backed mapping note processing
[New LWP 40821]
[New LWP 40822]
[New LWP 40823]
[New LWP 40824]
[New LWP 40825]
warning: .dynamic section for "/usr/lib/libgnutls.so.30" is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for "/usr/lib/libsystemd.so.0" is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for "/usr/lib/libpangoft2-1.0.so.0" is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for "/usr/lib/libzstd.so.1" is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for "/usr/lib/gio/modules/libdconfsettings.so" is not at the expected address (wrong library or version mismatch?)
Warning: couldn't activate thread debugging using libthread_db: Cannot find new threads: generic error
Warning: couldn't activate thread debugging using libthread_db: Cannot find new threads: generic error
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `gnome-terminal'.
#0 0x00007f0c2d46537f in poll () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x7f0c29ef7bc0 (LWP 40821))]
(gdb)
Reading here: https://stackoverflow.com/questions/143 … g-warnings
I've added this at the end of .gdbinit:
# https://stackoverflow.com/questions/14364781/gdb-debugging-warnings
set debug libthread-db 1
Now I get:
# gdb /usr/bin/gnome-terminal core.40821
GNU gdb (GDB) 10.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/gnome-terminal...
(No debugging symbols found in /usr/bin/gnome-terminal)
warning: Can't open file /memfd:wayland-cursor (deleted) during file-backed mapping note processing
warning: Can't open file /usr/lib/libdatrie.so.1.3.5 during file-backed mapping note processing
warning: Can't open file /usr/lib/libzstd.so.1.4.8 during file-backed mapping note processing
warning: Can't open file /usr/lib/libpangoft2-1.0.so.0.4800.2 during file-backed mapping note processing
warning: Can't open file /usr/lib/libpangocairo-1.0.so.0.4800.2 during file-backed mapping note processing
warning: Can't open file /usr/lib/libgnutls.so.30.29.0 during file-backed mapping note processing
warning: Can't open file /usr/lib/libpango-1.0.so.0.4800.2 during file-backed mapping note processing
warning: Can't open file /usr/lib/libgdk-3.so.0.2404.21 during file-backed mapping note processing
warning: Can't open file /usr/lib/libgtk-3.so.0.2404.21 during file-backed mapping note processing
[New LWP 40821]
[New LWP 40822]
[New LWP 40823]
[New LWP 40824]
[New LWP 40825]
warning: .dynamic section for "/usr/lib/libgnutls.so.30" is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for "/usr/lib/libsystemd.so.0" is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for "/usr/lib/libpangoft2-1.0.so.0" is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for "/usr/lib/libzstd.so.1" is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for "/usr/lib/gio/modules/libdconfsettings.so" is not at the expected address (wrong library or version mismatch?)
Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /usr/lib/libthread_db.so.1.
Found 0 new threads in iteration 0.
Warning: thread_db_find_new_threads_silently: Cannot find new threads: generic error
Warning: couldn't activate thread debugging using libthread_db: Cannot find new threads: generic error
Trying host libthread_db library: /usr/lib/libthread_db.so.1.
Found 0 new threads in iteration 0.
Warning: thread_db_find_new_threads_silently: Cannot find new threads: generic error
Warning: couldn't activate thread debugging using libthread_db: Cannot find new threads: generic error
thread_db_load_search returning 0
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
Trying host libthread_db library: libthread_db.so.1.
Host libthread_db.so.1 resolved to: /usr/lib/libthread_db.so.1.
Found 0 new threads in iteration 0.
Found 0 new threads in iteration 1.
Found 0 new threads in iteration 2.
Found 0 new threads in iteration 3.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
thread_db_load_search returning 1
Found 0 new threads in iteration 0.
Core was generated by `gnome-terminal'.
#0 0x00007f0c2d46537f in poll () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x7f0c29ef7bc0 (LWP 40821))]
(gdb)
I'm having issues googling these warnings. More importantly:
1) I don't understand who's the game blocker here
2) What addresses/versions does it expect?
3) Who exactly is asking for which specific library? Are those all gnome-terminal direct "requests"?
4) Is there a guide to troubleshoot this stuff? If I google these stuff, I hardly get anything.
Offline
Sorry, the idea was to look at the recorded coredumps to see whether there are incidents involving gnome-terminal
The warnings pretty much all say "gnome-terminal was compiled against a bunch of older libs", that's not necessarily ("unlikely") a problem.
Why are you running this as root? Do you generally operate in a root shell? Do you try to run gnome-terminal as root when if fails?
Edit:
loginctl session-status
Last edited by seth (2021-03-17 07:57:20)
Offline
Sorry, the idea was to look at the recorded coredumps to see whether there are incidents involving gnome-terminal
The warnings pretty much all say "gnome-terminal was compiled against a bunch of older libs", that's not necessarily ("unlikely") a problem.Why are you running this as root? Do you generally operate in a root shell? Do you try to run gnome-terminal as root when if fails?
Edit:loginctl session-status
There was no recorded coredump for gnome-terminal, I had to create it.
Since they're just warning about old libraries, do you mean that compiling it against new libraries won't solve the issue?
I never run it as root, I did so as an extra attempt to ignore eventual permission problems; at first I did everything as normal user. Also some # are just commented out lines from text files.
% loginctl session-status
Failed to execute 'pager', using next fallback pager: Permission denied
1 - buntolo (1002)
Since: Wed 2021-03-17 11:53:14 CET; 6min ago
Leader: 497 (gdm-session-wor)
Seat: seat0; vc2
TTY: tty2
Service: gdm-autologin; type wayland; class user
State: active
Unit: session-1.scope
├─497 gdm-session-worker [pam/gdm-autologin]
├─638 /usr/bin/gnome-keyring-daemon --daemonize --login
├─646 /usr/lib/gdm-wayland-session /usr/bin/gnome-session
└─680 /usr/lib/gnome-session-binary
Mar 17 11:53:15 pc-buntolo2 systemd[1]: Started Session 1 of user buntolo.
% sudo loginctl session-status
1 - buntolo (1002)
Since: Wed 2021-03-17 11:53:14 CET; 6min ago
Leader: 497 (gdm-session-wor)
Seat: seat0; vc2
TTY: tty2
Service: gdm-autologin; type wayland; class user
State: active
Unit: session-1.scope
├─497 gdm-session-worker [pam/gdm-autologin]
├─638 /usr/bin/gnome-keyring-daemon --daemonize --login
├─646 /usr/lib/gdm-wayland-session /usr/bin/gnome-session
└─680 /usr/lib/gnome-session-binary
Mar 17 11:53:15 pc-buntolo2 systemd[1]: Started Session 1 of user buntolo.
I'm wondering: would be helpful to recursively nuke gnome-terminal and all its dependencies and install them anew?
I was thinking, first attempt nuke recursive reinstall depth 1:
% pactree -d 1 -u gnome-terminal
gnome-terminal
vte3
gsettings-desktop-schemas
If that doesn't work, attempt extra depth:
% pactree -d 2 -u gnome-terminal
gnome-terminal
vte3
gtk3
pcre2
gnutls
fribidi
systemd-libs
vte-common
gsettings-desktop-schemas
glib2
dconf
cantarell-fonts
adobe-source-code-pro-fonts
If that's not enough, depth 3, and so on. I suppose that with anything above depth 2 I'd be better off using chroot from live USB.
Last edited by buntolo (2021-03-17 11:12:05)
Offline
There was no recorded coredump for gnome-terminal, I had to create it.
You merely ran it in the debugger, but this suggest that gnome-terminal doesn't segfault.
Since they're just warning about old libraries, do you mean that compiling it against new libraries won't solve the issue?
Highly unlikely. Also it's the same situation for everyone, so there'd be more complaints by now.
I never run it as root
Good, please keep it that way and esp. don't "sudo gnome-terminal" or so.
would be helpful to recursively nuke gnome-terminal and all its dependencies and install them anew?
Unlikely.
Service: gdm-autologin; type wayland; class user
Does it work in an gnome/xorg session?
Offline
Maybe try 'strace' to see what its doing right before the error.
sys2064
Offline
Service: gdm-autologin; type wayland; class user
Does it work in an gnome/xorg session?
I've stopped gdm, installed xorg-xinit, copied the base/skel .xinitrc in user home and launched gnome-terminal from xterm: same result.
Maybe try 'strace' to see what its doing right before the error.
This is the 'strace gnome-terminal' I run from xterm under xorg with killed gdm/wayland:
https://pastebin.com/tVhfzK60
Sorry for using pastebin.com but:
1) It's 3000+ lines long.
2) paste.rs is refusing to put it online ("The request was well-formed but was unable to be followed due to semantic errors.")
Offline
It's dbus-activated and the strace only shows the service not responding.
ps aux | grep terminal
Can you run
/usr/lib/gnome-terminal-server
?
Offline
I've just noticed this message was left in browser's memory without having being actually submitted...
It's dbus-activated and the strace only shows the service not responding.
ps aux | grep terminal
Can you run
/usr/lib/gnome-terminal-server
?
% ps aux | grep terminal
buntolo 10123 1.5 0.5 474208 42956 ? Sl 11:38 0:00 mate-terminal
buntolo 10294 7.0 0.3 373808 24780 pts/0 Sl+ 11:39 0:00 gnome-terminal
buntolo 10302 0.0 0.0 6416 2348 pts/1 S+ 11:39 0:00 grep --color=auto terminal
% /usr/lib/gnome-terminal-server
Display does not support owner-change; copy/paste will be broken!
The last message about owner-change it's about issues with copy-paste on Wayland, but I don't care.
I'm at a loss: I don't know how to troubleshoot, where to look for relevant error messages or at which point in the launching process it stop/crashes.
Last edited by buntolo (2021-04-02 09:23:37)
Offline
So there is a running gnome- and mate-terminal process, but no gnome-terminal-server (before you run it)
I assume the mate-terminal is what you're currently operating in?
=> Kill the gnome-terminal process and try again.
If that still doesn't work, try to use alacritty and ensure to kill mate-terminal processes as well (and use alacritty to host your interactve shell)
If that *still* doesn't work, run "/usr/lib/gnome-terminal-server &" and then try to start gnome-terminal and if /that/ doesn't work either, let's see
dbus-send --session --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.ListNames
again to see whether the gnome-terminal-server registers (and then we'll try to talk to it)
Offline
So there is a running gnome- and mate-terminal process, but no gnome-terminal-server (before you run it)
I assume the mate-terminal is what you're currently operating in?=> Kill the gnome-terminal process and try again.
If that still doesn't work, try to use alacritty and ensure to kill mate-terminal processes as well (and use alacritty to host your interactve shell)
If that *still* doesn't work, run "/usr/lib/gnome-terminal-server &" and then try to start gnome-terminal
This made it. I had 2 alacritty terminals opened, I launched the server in the first one and the terminal in the second one: gnome-terminal opened instantly. I can spam (instantly) new gnome-terminal instances from the existing ones using Ctrl + Shift + N; each is working fine, it can launch commands with no delay.
and if /that/ doesn't work either, let's see
dbus-send --session --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.ListNames
again to see whether the gnome-terminal-server registers (and then we'll try to talk to it)
I did this as well in case it may help:
% dbus-send --session --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.ListNames
method return time=1618573701.507928 sender=org.freedesktop.DBus -> destination=:1.222 serial=3 reply_serial=2
array [
string "org.freedesktop.DBus"
string "org.freedesktop.Notifications"
string ":1.9"
string ":1.208"
string "org.gnome.Mutter.DisplayConfig"
string "org.gnome.GPaste"
string "org.freedesktop.systemd1"
string "org.gtk.vfs.mountpoint_1564"
string "org.gnome.Mutter.IdleMonitor"
string "org.gnome.evolution.dataserver.AddressBook10"
string "org.gnome.SettingsDaemon.Wacom"
string "org.gnome.SettingsDaemon.MediaKeys"
string "org.gtk.vfs.Daemon"
string "org.gnome.SettingsDaemon.PrintNotifications"
string "org.gnome.SettingsDaemon.Datetime"
string "org.pulseaudio.Server"
string "org.gnome.SettingsDaemon.XSettings"
string "org.gnome.Mutter.ScreenCast"
string "org.gnome.ControlCenter.SearchProvider"
string "org.gnome.GPaste.Daemon"
string "org.gnome.SettingsDaemon.UsbProtection"
string "org.gnome.SessionManager"
string ":1.82"
string ":1.60"
string ":1.83"
string ":1.61"
string ":1.62"
string ":1.40"
string "org.gnome.evolution.dataserver.Sources5"
string ":1.171"
string ":1.63"
string "org.gnome.SettingsDaemon.ScreensaverProxy"
string ":1.41"
string "org.gtk.vfs.UDisks2VolumeMonitor"
string "org.a11y.Bus"
string ":1.64"
string ":1.42"
string "org.gnome.Mutter.RemoteDesktop"
string ":1.20"
string ":1.151"
string ":1.87"
string "org.gnome.Calendar"
string "org.gnome.SettingsDaemon.Power"
string ":1.65"
string ":1.43"
string "org.gnome.Shell.AudioDeviceSelection"
string ":1.21"
string "org.gnome.Identity"
string ":1.66"
string ":1.44"
string "org.gnome.keyring"
string ":1.22"
string "org.gnome.Shell.CalendarServer"
string ":1.89"
string "org.freedesktop.PackageKit"
string ":1.67"
string ":1.45"
string "org.gnome.Shell"
string ":1.23"
string "org.gnome.Epiphany.SearchProvider"
string "org.gtk.vfs.mountpoint_11309"
string ":1.132"
string ":1.46"
string ":1.24"
string ":1.210"
string ":1.199"
string ":1.133"
string ":1.69"
string ":1.47"
string "org.gnome.Shell.Wacom.PadOsd"
string ":1.25"
string ":1.134"
string ":1.48"
string ":1.26"
string ":1.49"
string "org.gnome.Shell.Screenshot"
string ":1.27"
string "org.gtk.Settings"
string ":1.28"
string ":1.214"
string "org.gtk.vfs.GPhoto2VolumeMonitor"
string ":1.29"
string "ca.desrt.dconf"
string "org.freedesktop.Telepathy.ChannelDispatcher"
string ":1.216"
string "org.gnome.SettingsDaemon.Sound"
string ":1.217"
string "org.freedesktop.ScreenSaver"
string "org.gnome.SettingsDaemon.Rfkill"
string ":1.218"
string "org.gtk.MountOperationHandler"
string "org.gnome.Shell.Introspect"
string "org.gnome.evolution.dataserver.Calendar8"
string "org.gnome.Magnifier"
string "org.gtk.vfs.mountpoint_1434"
string "org.gnome.tweak-tool.lid-inhibitor"
string "org.gtk.vfs.AfcVolumeMonitor"
string "org.gnome.SettingsDaemon.Smartcard"
string "org.gnome.SettingsDaemon.A11ySettings"
string "org.PulseAudio1"
string "org.freedesktop.Telepathy.Client.GnomeShell._3a1_2e21.n0"
string "org.gnome.SettingsDaemon.Housekeeping"
string "org.gtk.vfs.GoaVolumeMonitor"
string "org.gnome.Panel"
string "org.freedesktop.Telepathy.AccountManager"
string "org.gnome.SettingsDaemon.Sharing"
string ":1.90"
string "org.gtk.Notifications"
string "org.gnome.Evolution-alarm-notify"
string ":1.70"
string ":1.71"
string "org.gnome.ScreenSaver"
string "org.gnome.OnlineAccounts"
string ":1.94"
string ":1.72"
string "org.gnome.Shell.Notifications"
string ":1.50"
string "org.freedesktop.impl.portal.desktop.gnome"
string ":1.95"
string ":1.73"
string ":1.51"
string ":1.96"
string "org.gtk.vfs.Metadata"
string "org.gnome.SettingsDaemon.Color"
string ":1.52"
string ":1.30"
string ":1.97"
string ":1.75"
string ":1.53"
string ":1.31"
string ":1.98"
string "org.gnome.SettingsDaemon.Keyboard"
string ":1.54"
string ":1.32"
string ":1.10"
string "org.freedesktop.impl.portal.PermissionStore"
string "org.gtk.vfs.mountpoint_dnssd"
string ":1.99"
string ":1.55"
string ":1.33"
string ":1.11"
string "org.gnome.keyring.SystemPrompter"
string ":1.56"
string ":1.34"
string ":1.12"
string "org.freedesktop.Telepathy.MissionControl5"
string "org.gnome.gedit"
string ":1.220"
string ":1.57"
string ":1.35"
string ":1.0"
string ":1.13"
string ":1.221"
string ":1.58"
string ":1.1"
string ":1.14"
string ":1.222"
string ":1.167"
string ":1.59"
string ":1.37"
string "org.freedesktop.secrets"
string ":1.15"
string "org.gnome.Contacts.SearchProvider"
string ":1.38"
string "org.gtk.vfs.MTPVolumeMonitor"
string ":1.16"
string "org.freedesktop.Tracker3.Miner.Files"
string ":1.39"
string ":1.4"
string ":1.17"
string ":1.18"
string "org.gnome.Software"
string "org.gnome.Disks.NotificationMonitor"
string ":1.19"
]
Offline
Cool.
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline
Cool.
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Is there a way to troubleshoot why gnome-terminal is not starting gnome-terminal-server?
Also, why does
dbus-launch gnome-terminal
works, albeit very, very, very slow?
Shouldn't the environmental variables from the new session bus instance be the same as the already existing session?
Offline
"dbus-launch gnome-terminal" creates a new dbus environment, this is probably drawing some more daemons which delays the startup time (I assume that's the slow part?)
So this wasn't a one-off, I guess…
Is there a gnome-terminal process right after you login, w/o ever attempting to run gnome-terminal?
If so, do you have some autostarting gnome-terminal?
Offline
Also, why does
dbus-launch gnome-terminal
works, albeit very, very, very slow?
Shouldn't the environmental variables from the new session bus instance be the same as the already existing session?
There's a bug in `xdg-desktop-portal` which causes the slow `dbus-launch gnome-terminal` start, see here for more information:
https://bugs.launchpad.net/ubuntu/+sour … ug/1878081
I still don't know why `dbus-launch` is required, this behavior seems recent, but I use `Alacritty` as daily driver so no clue when this changed, will probably automagically fix after some update(s).
Offline