You are not logged in.
Pages: 1
Background:
I'm not new to Linux, and have been using the OS since 1996. I am fairly new to desktop Linux, as most of my experience is server side (BIND, Apache, PKI, etc.). I was previously using Ubuntu GNOME, with no complaints, but decided to give Arch a try. I got the system up and running, with pretty much everything I need; however, I'm having an odd issue with GNOME Terminal.
Firstly, yes, I have researched this within the forums, and there are tons of threads about this topic. I am 99.999% certain this is not a locale problem, as I've already checked and re-checked everything. Upon a reboot or login, Terminal launches the first time without issue. Subsequent launches cause the Terminal to hang. Running it from Terminator, an error message is displayed indicating a timeout (Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.Terminal exited). Someone suggested trying to launch Terminal via Dbus (dbus-launch gnome-terminal), and it DOES work every time. So, obviously I want to fix the issue, not simply modify the launcher arguments for the program. Someone suggested placing "dbus-launch gnome-shell" in ~/.xinitrc, but I have no "xinitrc" because I'm using GDM to manage/start GNOME, not Xorg.
If it helps, when I originally installed the system, I installed GNOME, GNOME-Extra, and other related packages, but NOT Xorg. GNOME was using Wayland, which I missed at first. I went back and installed Xorg, Xorg-utils, Xinit, etc. and changed GDM to use Xorg by default instead of Wayland.
Any suggestions are appreciated.
Offline
If using dbus-launch "fixes" the problem, then the root of the problem is likely the lack of a proper logind session for your user as dbus-launch should no longer be explicitly called as the user dbus session is started by systemd-logind.
Can you post the output of the following two commands from Terminator within gnome:
echo $XDG_VTNR
loginctl"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thank you - yes, I certainly will. I am at work now, but will do so as soon as I return home.
Offline
echo $XDG_VTNR
2
loginctl
SESSION UID USER SEAT
c2 1000 arch seat0
c1 120 gdm seat0
2 sessions listed.
Offline
Assuming "arch" is your user account, that looks reasonable. So that doesn't seem to be the problem.
EDIT: Of course the UID confirms that's your user account. So you do seem to have a valid logind session.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Indeed. I'm not sure what else to try.
Offline
I found the problem. As with my other Linux boxes, I am calling screenFetch from .bashrc. If I remove that and log out, I can launch GNOME Terminal every time without fail. Something about screenFetch is causing issues. It will launch the first time, but afterwards no dice.
Offline
Adding "dbus-update-activation-environment --all" to the end of .bashrc seems to correct the issue, and screenFetch no longer freezes the GNOME Terminal.
Offline
Pages: 1