Some questions for a newbie

Michael Mosier mmosier_ml at starlatch.com
Mon Jul 28 04:03:44 CEST 2003


Hello Frank,



Quoting "Christel & Dr. Frank Biendara" <frbie at web.de>:

> Hello,
> 
> thanks for this very fast response.
> 
> These are the answers to the questions of Jack and Rich.
> 
> >1) How can I start applications with root right directly from the xfce 
> >panel. I emerged (installed) several "su" commands like xsu and gksu but 
> >the best I got is that "some" apps start as root from the terminal
> 
> The best exaple is that I will edit or view a system config file. For this I
> have to start my favorite file manger, it's xfe, with root rights. I will do
> it as a direct klick from the xfce panel so I have to use a single command
> line which is accepted by the panel. The way should be to "click" and then be
> asked for the password.
> 
> So I cannot use sudo. I tried "gksu -u root xfe". When I say to start in
> terminal it works but then there is, in addition to the app, a terminal
> window open.Other apps like gedit won't even start with this. The concept of
> kde "start as different user" would be very effective here.
> 


I know I may be a bit behind the times for not using sudo, but personally I have
this in my menu:

    xfterm4 -e "su -c programname"

That opens up a terminal where I'm prompted for a password, then the terminal
closes and my gui app opens.


[cut rest of message]
> 
> 
> Best regards
> 
> Frank


--  Mike




More information about the Xfce mailing list