You are not logged in.

#1 2017-07-20 17:42:46

dewdrop623
Member
Registered: 2017-07-20
Posts: 5

[SOLVED] can't open gnome-terminal

I recently installed Arch Linux. The only thing that I can't get to work is gnome-terminal.
When I try to open it as a normal user:

user> gnome-terminal
Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: Timeout was reached

When I try to open it as root I get a slightly different error:

root> gnome-terminal
Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: The connection is closed

I have read that this is possibly an issue with the locale settings. If this the issue then I can't seem to find the right set up to make gnome-terminal happy. Here is what I have right now:

user> locale -a
C
POSIX
en_US.utf8
user> localectl
   System Locale: LANG=en_US.UTF-8
       VC Keymap: us
      X11 Layout: us
user> cat /etc/locale.conf
LANG=en_US.UTF-8
user> locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=

I think I want the output of "locale" to read en_US.UTF-8 in each field instead of C. I can do that with "export LANG=en_US.UTF-8", but gnome-terminal still doesn't open (same error).

Any ideas on how to fix this? Alternatively, is there a way to confirm that the locale issue is the real problem and/or get a more useful error message from gnome-terminal?

Last edited by dewdrop623 (2017-07-21 01:16:31)

Offline

#2 2017-07-20 18:00:00

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] can't open gnome-terminal

Your broken locale is the problem. How did you set it and what is your hostname?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-07-20 18:22:22

dewdrop623
Member
Registered: 2017-07-20
Posts: 5

Re: [SOLVED] can't open gnome-terminal

I'm not entirely sure how it's been set.  I have tried several commands when trying to fix this. I have edited /etc/locale.conf (it's contents are above), I have uncommented "en_US.UTF-8 UTF-8" in locale.gen and run the locale-gen command. I have also tried:

localectl set-locale LANG="en_US.UTF-8"

and

localectl set-x11-keymap us

Also, I have rebooted several times.

As for the hostname:

nick> cat /etc/hostname
nick-Desktop-ArchLinux

My hostname was something like "127.0.0.1localhost" at first. (I got /etc/hostname and /etc/hosts mixed up at one point.)

Offline

#4 2017-07-20 18:44:12

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [SOLVED] can't open gnome-terminal

If you're using gnome desktop, try setting language in gnome-control-center -> Region & Language

Offline

#5 2017-07-21 01:14:43

dewdrop623
Member
Registered: 2017-07-20
Posts: 5

Re: [SOLVED] can't open gnome-terminal

Changed the language setting in gnome, and now the terminal opens. Thanks.

Offline

#6 2019-03-29 08:48:49

yosunpeng
Member
Registered: 2019-03-29
Posts: 1

Re: [SOLVED] can't open gnome-terminal

I guess    localectl set-x11-keymap us         worked for me



dewdrop623 wrote:

I'm not entirely sure how it's been set.  I have tried several commands when trying to fix this. I have edited /etc/locale.conf (it's contents are above), I have uncommented "en_US.UTF-8 UTF-8" in locale.gen and run the locale-gen command. I have also tried:

localectl set-locale LANG="en_US.UTF-8"

and

localectl set-x11-keymap us

Also, I have rebooted several times.

As for the hostname:

nick> cat /etc/hostname
nick-Desktop-ArchLinux

My hostname was something like "127.0.0.1localhost" at first. (I got /etc/hostname and /etc/hosts mixed up at one point.)

Offline

#7 2019-03-29 09:16:15

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,709

Re: [SOLVED] can't open gnome-terminal

Please don't necrobump old topics, with a "me too" post. https://wiki.archlinux.org/index.php/Co … bumping%22

Closing.

Offline

Board footer

Powered by FluxBB