You are not logged in.

#1 2013-01-13 09:35:52

tuvistavie
Member
From: London
Registered: 2012-02-12
Posts: 15
Website

[SOLVED] GNOME applications crashing when not root

Hi,

I'm running ArchLinux with LXDE (with openbox) and I'm having problems with some applications which all seems to come frome gnome (evince, nm-applet).
For example with evince I get

~$ evince
[1]    1070 segmentation fault (core dumped)  evince

but when I launch it as a root, no problem.
The same goes with nm-applet when I try to open "Create new connections" or to connect to a network which requires a password (as it tries to open a popup and doesn't seem to be able to).

I found a lot of posts with problems more or less similar to my case when googling but still couldn't fix it, so if someone had an idea of what's going on it would be really nice.

I don't really know what info could be useful to solve this. Here are the info of the packages which could be concerned, if you need anything else please tell me.

~$ pacman -Q openbox
openbox 3.5.0-7
~$ pacman -Q lxde-common
lxde-common 0.5.5-2
~$ pacman -Q evince
evince 3.6.1-1
~$ pacman -Q network-manager-applet
network-manager-applet 0.9.6.4-1

Thanks in advance.

Last edited by tuvistavie (2013-01-14 12:29:07)

Offline

#2 2013-01-13 10:55:37

Grant
Member
From: Italy
Registered: 2012-12-15
Posts: 246

Re: [SOLVED] GNOME applications crashing when not root

I think is a permission problem: are you sure you can write on your /home?

Offline

#3 2013-01-14 01:54:47

tuvistavie
Member
From: London
Registered: 2012-02-12
Posts: 15
Website

Re: [SOLVED] GNOME applications crashing when not root

Hi, thanks for the answer.
I am able to write in my home directory.

~$ whoami 
daniel
~$ ls -l /home/
total 20
drwxr-xr-x 57 daniel users  4096 Jan 14 10:50 daniel
drwx------  2 root   root  16384 Jul 24 05:12 lost+found
~$ touch test
~$

Just to be sure, I tried to set the permissions to 777 for my home directory, my .config folder, .gtk-2.0 and .gtk-3.0 folders in .config but it didn't help.
I also checked if I had some files are folders which I could not write in my home directory but it seems ok.

~$ find . ! -writable ! -regex "\./\(Dropbox\|Documents\|Sites\|Downloads\).*"
./.kde4/socket-localhost
./.kde4/tmp-localhost
./.mozc/.renderer.:0.0.ipc
./.mozc/.encrypt_key.db
./.mozc/.session.ipc
./.mozc/.server.lock
./.mozilla/firefox/5jvaey3e.default/lock
~$

Last edited by tuvistavie (2013-01-14 02:17:48)

Offline

#4 2013-01-14 12:28:29

tuvistavie
Member
From: London
Registered: 2012-02-12
Posts: 15
Website

Re: [SOLVED] GNOME applications crashing when not root

Ok, I finally (kind of) understood what was going wrong and managed to fix my problem.
The applications were apparently having problem loading gtk.immodules, because I had

export GTK_IM_MODULE_FILE="/etc/gtk-2.0/gtk.immodules"

in my .xinitrc for japanese input. By removing this line everything went back to normal.

Offline

Board footer

Powered by FluxBB