You are not logged in.

#1 2015-09-30 17:17:57

Tetrix
Member
Registered: 2015-09-30
Posts: 17

[SOLVED] Terminal, Gedit and File Manager won't open

Hello!
    I am new on Arch and I got this problem. Since few days ago my file manager stopped working. Whenever I click the icon, the cursor just becomes a spinning wheel and nothing happens. I can only open it if I type "nautilus". The same thing happens when I try to open gedit. Also my terminal doesn't work. .When I type "gnome-terminal" I get the following output: "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 1" .

I have read that the problem might be in /etc/locale.conf . That file looks like this:
LANG=en_US.UTF-8   
LANG=mk_MK.UTF-8
which I guess is normal.

Last edited by Tetrix (2015-09-30 18:35:05)

Offline

#2 2015-09-30 17:34:36

esa
Member
Registered: 2011-12-29
Posts: 143
Website

Re: [SOLVED] Terminal, Gedit and File Manager won't open

Hi

Only the last entry is read.
This means, your LANG settings refers to mk_MK.UTF-8.
I have no idea what language that is, but you might have better luck to comment that line out, by adding a # at the start of the line:

hth


Author of: TUI (Text User Interface for scripts), VHS (Video Handler Script, using ffmpeg) and YASSI (Yet Another Simple Script Installer)

Offline

#3 2015-09-30 17:50:24

Tetrix
Member
Registered: 2015-09-30
Posts: 17

Re: [SOLVED] Terminal, Gedit and File Manager won't open

Actually it was only LANG=en_US.UTF-8 till yesterday, then I tried to add  LANG=mk_MK.UTF-8 thinking that would fix the problem. Anyway, I deleted that line and the behavior is still the same.

Offline

#4 2015-09-30 17:53:06

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,550

Re: [SOLVED] Terminal, Gedit and File Manager won't open

Offline

#5 2015-09-30 18:23:21

Tetrix
Member
Registered: 2015-09-30
Posts: 17

Re: [SOLVED] Terminal, Gedit and File Manager won't open

Ok, I found the answer in the link posted by Scimmia. What I did was edited the /etc/X11/xinit/xinitrc file and added at the bottom:

includes=/etc/X11/xinit/xinitrc.d
if [ -d "$includes" ]
then
for f in "$includes/"*
do
[ -x "$f" ] && . "$f"
done
unset f
fi
unset includes


This fixed the problem for me. Thank you guys for the help smile

Offline

#6 2015-11-11 05:48:17

brumby
Member
Registered: 2013-10-27
Posts: 2

Re: [SOLVED] Terminal, Gedit and File Manager won't open

The above didn't work for me. This happened to me because I forgot to update my .xinitrc file to include loading dbus-daemon with gnome.

dbus-launch --exit-with-session gnome-session

Offline

#7 2015-11-17 13:43:16

phle
Member
Registered: 2015-11-17
Posts: 1

Re: [SOLVED] Terminal, Gedit and File Manager won't open

I solved this issue that I had with gnome 3.18.

I never used any dm, only ~/.xinitrc

At the biginning  this last line in ~/.xinitrc was working fine

exec gnome-session

but after some update, it didn't work any more for launching gnome-terminal.
I got an exited with status 10 which is a dbus issue as explained here https://wiki.gnome.org/Apps/Terminal/FAQ

I found this workaround

-1- Launch lxterminal
-2- Issue this command
    exec sudo su xxx -c gnome-termina

Now, thanks to this post, I have actually solved this issue.

In my ~/.xinitrc I am using now

dbus-launch --exit-with-session gnome-session

and everthing is working again.

Offline

#8 2016-05-07 06:50:28

trishnendu
Member
Registered: 2016-05-07
Posts: 1

Re: [SOLVED] Terminal, Gedit and File Manager won't open

Add the following line at the bottom of ~/.bashrc
dbus-update-activation-environment --all

and reboot your machine. This fixed the problem for me

Last edited by trishnendu (2016-05-07 06:51:13)

Offline

#9 2016-06-26 16:21:17

beakie
Member
Registered: 2013-04-26
Posts: 17

Re: [SOLVED] Terminal, Gedit and File Manager won't open

phle wrote:

I solved this issue that I had with gnome 3.18.

I never used any dm, only ~/.xinitrc

At the biginning  this last line in ~/.xinitrc was working fine

exec gnome-session

but after some update, it didn't work any more for launching gnome-terminal.
I got an exited with status 10 which is a dbus issue as explained here https://wiki.gnome.org/Apps/Terminal/FAQ

I found this workaround

-1- Launch lxterminal
-2- Issue this command
    exec sudo su xxx -c gnome-termina

Now, thanks to this post, I have actually solved this issue.

In my ~/.xinitrc I am using now

dbus-launch --exit-with-session gnome-session

and everthing is working again.

This solved it for me

Offline

#10 2016-06-26 16:33:20

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,784

Re: [SOLVED] Terminal, Gedit and File Manager won't open

Taking this opportunity to close this solved thread.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB