[SOLVED] chsh to tsh causes gnome-terminal to fail

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] chsh to tsh causes gnome-terminal to fail

Postby cmorning » Jul 18th, '19, 04:05

I just installed Mageia 7 on my new Dell Latitude 3400 laptop. Everything working well with one exception so far.
When I change the default shell to tcsh, I cannot use gnome-terminal. It gives me an error

Code: Select all
   # Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0:
    Error calling StartServiceByName for org.gnome.Terminal: Timeout was reached


gnome-terminal works ok with bash as my default shell, but I really prefer tcsh shell.
xterm works with either default shell, but I prefer gnome-terminal. Any suggestions how to
overcome this problem?
Last edited by isadora on Jul 22nd, '19, 11:20, edited 2 times in total.
Reason: Placed command-output in between [CODE]-tags for better readability ;) And topic moved to appropriate sub-forum.
cmorning
 
Posts: 14
Joined: Feb 18th, '14, 22:48

Re: chsh to tsh causes gnome-terminal to fail

Postby ITA84 » Jul 18th, '19, 09:22

Looking around a bit, it might be a locale issue. You could try launching tcsh via xterm and posting the output of the 'locale' command
ITA84
 
Posts: 199
Joined: Mar 5th, '13, 18:15

Re: chsh to tsh causes gnome-terminal to fail

Postby cmorning » Jul 19th, '19, 17:37

I discovered that
Code: Select all
dbus-launch gnome-terminal
works.
cmorning
 
Posts: 14
Joined: Feb 18th, '14, 22:48

[SOLVED] Re: chsh to tsh causes gnome-terminal to fail

Postby cmorning » Jul 21st, '19, 20:34

SOLVED: I added a line
Code: Select all
LC_ALL=en_US.UTF-8

to /etc/locale.conf and the problem is resolved. No idea why this has to be done.
cmorning
 
Posts: 14
Joined: Feb 18th, '14, 22:48

Re: chsh to tsh causes gnome-terminal to fail

Postby doktor5000 » Jul 21st, '19, 23:01

What did it contain beforehand ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] chsh to tsh causes gnome-terminal to fail

Postby cmorning » Jul 22nd, '19, 12:34

Code: Select all
COUNTRY=US
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8:en_US:en
cmorning
 
Posts: 14
Joined: Feb 18th, '14, 22:48

Re: [SOLVED] chsh to tsh causes gnome-terminal to fail

Postby doktor5000 » Jul 22nd, '19, 23:25

What about /etc/sysconfig/i18n ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] chsh to tsh causes gnome-terminal to fail

Postby cmorning » Jul 23rd, '19, 01:31

Contents of /etc/sysconfig/i18n is

Code: Select all
COUNTRY=US
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8:en_US:en
LC_ADDRESS=en_US.UTF-8
LC_COLLATE=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_MONETARY=en_US.UTF-8
LC_NAME=en_US.UTF-8
LC_NUMERIC=en_US.UTF-8
LC_PAPER=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_TIME=en_US.UTF-8
SYSFONT=lat0-16
cmorning
 
Posts: 14
Joined: Feb 18th, '14, 22:48

Re: [SOLVED] chsh to tsh causes gnome-terminal to fail

Postby doktor5000 » Jul 24th, '19, 02:42

Hmmm, looks fine. LANGUAGE seems to be set properly there. Next time try running http://doc.mageia.org/mcc/7/en/content/ ... ocaledrake and set your locale settings there and see if your original issue shows up again.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron