Desktop launcher as root

Frank McCormick fmccormick at videotron.ca
Sun Apr 30 01:24:27 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 30 Apr 2006 09:01:16 +1000
Peter Garrett <peter.garrett at optusnet.com.au> wrote:

> On Sat, 29 Apr 2006 18:33:40 -0400
> Frank McCormick <fmccormick at videotron.ca> wrote:
> 
> > 
> >    I've been trying unsucessfully to create a desktop launcher for midnight commander but as root. I've tried gksu, gksudo, sudo, su, and gksuexec. I guess the catch is mc has to be run in a terminal as root. Nothing I have tried works. Got any suggestions, I must be missing something obvious!
> 
> Try a "normal" launcher with
> 
> xterm -e sudo mc
> 
> or
> 
> gnome-terminal -e "sudo mc"
> 
> Gnome-terminal insists on the quotes, for some unfathomable reason. I
> guess Gnome just likes to continue a great Unix tradition, by doing
> everything slightly, but not completely, differently from every other known
> terminal emulator ;-)
> 
> The terminal window should pop up with a password prompt, and mc should
> start on entry of your password.


  Nope. Doesn't work here (on Dapper) two windows pop up but mc never runs. Weird. Tried ticking the run in terminal box, using gnome-terminal and my normal shell rxvt-unicode.

- -- 
Cheers

Frank

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEVBHL8Rvr3Tn207ARAu4JAJ9UDKyd3pUZSYaHBgbnuZ8g3PTrZgCfaykQ
w1SWG0JJUpgyiFu8+b28qko=
=VkEh
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list