You are not logged in.
Pages: 1
Topic closed
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
Your broken locale is the problem. How did you set it and what is your hostname?
Offline
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
If you're using gnome desktop, try setting language in gnome-control-center -> Region & Language
Offline
Changed the language setting in gnome, and now the terminal opens. Thanks.
Offline
I guess localectl set-x11-keymap us worked for me
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
Please don't necrobump old topics, with a "me too" post. https://wiki.archlinux.org/index.php/Co … bumping%22
Closing.
Online
Pages: 1
Topic closed