Xfce Forum

Sub domains
 

You are not logged in.

#1 2017-12-01 13:02:01

chdslv
Member
Registered: 2015-09-26
Posts: 15

When opening Thunar as sudo everything freezes, but not with gksu

When opening Thunar as sudo everything freezes, but with gksu Thunar opens as root. The distro is Openbox on Ubuntu, installed through Ubuntu mini.iso. What might be missing? I usually do

sudo thunar

now I have to remember to do

gksu thunar

but I forget and get the system frozen.

What might be missing to get sudo working?

Last edited by chdslv (2017-12-01 14:42:36)

Offline

#2 2017-12-01 18:19:51

k-3.14
Member
From: Rhineland
Registered: 2017-02-18
Posts: 156

Re: When opening Thunar as sudo everything freezes, but not with gksu

Normaly you should use

gksu thunar

as a simple

sudo thunar

changes $HOME, which could be an issue.

You can try a

sudo -H thunar

instead.

br

Offline

#3 2017-12-04 20:30:01

Sideburns
Member
From: Trinidad, CO
Registered: 2011-03-30
Posts: 467
Website

Re: When opening Thunar as sudo everything freezes, but not with gksu

If you need to run Thunar as root that often, consider creating a launcher that uses gksu to get Thunar as root.  It's not a security hole, as you still need to enter your password, and if anybody who knows that gets physical access to your box it's Game Over anyway.


Registered Linux user #470359
Permanently recovered BOFH
Any advice in this post is worth exactly what you paid for it.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 522.8 KiB (Peak: 531.83 KiB) ]