Bug 1185040 - Cannot start gnome-terminal in my non-Gnome environment
Summary: Cannot start gnome-terminal in my non-Gnome environment
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-terminal
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-22 18:53 UTC by Chris Siebenmann
Modified: 2015-12-02 17:10 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-02 07:50:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Chris Siebenmann 2015-01-22 18:53:10 UTC
Description of problem:
I use a fvwm-based custom graphical environment (not started through
*dm but through startx from a console tty login) and in this environment
gnome-terminal refuses to start on my Fedora 21 machine with an extremely
unhelpful diagnostic message.

Version-Release number of selected component (if applicable):
gnome-terminal-3.14.2-2.fc21.x86_64

How reproducible:
Completely. I 've rebooted my machine and it still happens.

Steps to Reproduce:
1. start gnome-terminal in an xterm window
2. gnome-terminal fails to start and spits out a cryptical error

Actual results:
bash-4.3$ gnome-terminal
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 with status 8

Expected results:
A terminal window appears.

Additional info:
Some Internet searching suggests that this might be related to locales.
Locale settings:

$ localectl
   System Locale: LANG=en_US.UTF-8
       VC Keymap: us
      X11 Layout: us
       X11 Model: pc105+inet
     X11 Variant: terminate:ctrl_alt_bksp,

$ printenv | grep L
LC_COLLATE=C
LC_CTYPE=en_US.UTF-8

Clearing these and setting LANG=en_US.UTF-8 makes no difference in the
outcome.

Comment 1 Chris Siebenmann 2015-01-22 19:04:14 UTC
Explicitly starting /usr/libexec/gnome-terminal-server before I try to run
gnome-terminal works, but gnome-terminal-server exits after gnome-terminal
quits. I assume that this is not how things are supposed to work.

Comment 2 Egmont Koblinger 2015-01-22 22:34:41 UTC
(In reply to Chris Siebenmann from comment #1)

> but gnome-terminal-server exits after gnome-terminal quits

This one is intended. The server exits when the last terminal is closed, or if no terminal is opened within 10s.

Launching g-t should though launch g-t-server if required, but I'm afraid it uses dbus or something similar for that which you don't have running.

Comment 3 Chris Siebenmann 2015-01-22 22:52:03 UTC
I actually have dbus running, started via '/usr/bin/dbus-launch
--exit-with-session'. With 'dbus-monitor' I can see the request go out
over the session dbus to org.freedesktop.DBus (which d-feet tells me
is there):

method call sender=:1.353 -> dest=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=StartServiceByName
   string "org.gnome.Terminal"
   uint32 0

With dedicated strace work I can see that gnome-terminal-server is
started by dbus-daemon but then exits writing an error message to stderr:
	Non UTF-8 locale (ANSI_X3.4-1968) is not supported!

Inspection of the dbus-daemon's /proc/<pid>/environ says that it has no
$LANG set but has LC_COLLATE=C. Experimentation suggests that despite
there being a system locale set (to a UTF-8 environment), g-t-s now
requires either $LC_CTYPE or $LANG to be set explicitly.

(Ie, g-t-s will start by hand in my normal environment but if I scrub
LC_CTYPE out it will fail to start with the same error message.)

Comment 4 Egmont Koblinger 2015-01-22 23:15:47 UTC
Oh, I see. Then it sounds like https://bugzilla.gnome.org/show_bug.cgi?id=732127.

Comment 5 Fedora End Of Life 2015-11-04 13:18:01 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '21'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 21 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 6 Fedora End Of Life 2015-12-02 07:50:31 UTC
Fedora 21 changed to end-of-life (EOL) status on 2015-12-01. Fedora 21 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.