Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#36096 - [gksu] hard freeze gnome-shell

Attached to Project: Arch Linux
Opened by Julian Reyes Escrigas (rkmax) - Wednesday, 10 July 2013, 18:06 GMT
Last edited by Jan de Groot (JGC) - Thursday, 18 July 2013, 20:12 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
I have a fresh Arch install with gnome and GDM. later install gksu, when use the shell hard freezes


Additional info:
* package version(s)
- libgksu-2.0.12-5
- gksu-2.0.2-4
* config and/or log files etc.


Steps to reproduce:

- Execute # pacman -S gnome sudo gnome-extra gdm gksu
- Execute # systemctl enable gdm.service
- Add your user to sudoers
- Login into your account and press ALT + F2
- into the prompt write "gksu gedit" and type the password
- shell freezes after 2 seconds

Other info:

-`
.o+` rkmax@satellite
`ooo/ OS: Arch Linux
`+oooo: Kernel: x86_64 Linux 3.9.9-1-ARCH
`+oooooo: Uptime: 16m
-+oooooo+: Packages: 794
`/:-:++oooo+: Shell: bash
`/++++/+++++++: Resolution: 2726x768
`/++++++++++++++: DE: Gnome 3.8.2
`/+++ooooooooooooo/` WM: Not Found
./ooosssso++osssssso+` WM Theme: Not Found
.oossssso-````/ossssss+` GTK2 Theme: Adwaita
-osssssso. :ssssssso. GTK3 Theme: Adwaita
:osssssss/ osssso+++. Icon Theme: gnome
/ossssssss/ +ssssooo/- Font: Ubuntu 11
`/ossssso+/:- -:/+osssso+- CPU: Intel Core i3 CPU M 380 @ 2.533GHz
`+sso+:-` `.-/+oso: RAM: 1722MB / 2808MB
`++:. `-/+/
.` `/
This task depends upon

Closed by  Jan de Groot (JGC)
Thursday, 18 July 2013, 20:12 GMT
Reason for closing:  Upstream
Additional comments about closing:  Use gksudo instead of gksu. Upstream does not want to change this.
Comment by Jan de Groot (JGC) - Wednesday, 10 July 2013, 19:09 GMT
What is in ~/.xsession-errors? Probably something about fucked dconf permissions?
Comment by Julian Reyes Escrigas (rkmax) - Wednesday, 10 July 2013, 19:12 GMT
that file dont exist in my system
Comment by Fabio (regulus) - Wednesday, 10 July 2013, 21:21 GMT
Another way to obtain hard freeze is:
1- gksu nautilus
2- open one file
3- click on activities button

after reboot it's impossible to change any settings...the only way is to delete ~/.config/dconf/user
Comment by Jan de Groot (JGC) - Thursday, 11 July 2013, 10:45 GMT
The problem here is that any application you run with sudo or gksu will inherit variables that belong to your user account. When you launch gedit or nautilus, it will launch a new dconf process as root using your users database and users path in /run. This changes permissions on /run/user/[uid]/dconf and ~/.config/dconf, which makes them unavailable for the dconf process that your current running processes are using, causing freezes or crashes as soon as dconf data is needed by gnome-shell again.

Comment by Fabio (regulus) - Thursday, 11 July 2013, 11:15 GMT
Possible solution?...If there is
Comment by Jan de Groot (JGC) - Monday, 15 July 2013, 13:04 GMT
You should use gksudo instead of gksu. su (and so gksu) don't overwrite XDG_RUNTIME_DIR. According to upstream (coreutils developers) su should not touch environment variables, so this bug will never get fixed in any way.

Loading...