I want to run an application using only GUI as a different user. Not root. I want the user to be presented with a dropdown of system users, select one, enter the password, and the app gets run as that user. Like gksudo but user to run as specified in GUI and not as switch.

Does such an app exist?

link|improve this question

62% accept rate
feedback

3 Answers

I've never done it but... you may be able to piece together a script that will accomplish this.

You could use zenity to present the GUI list and gksu to execute the other application.

You would need to open up the xhosts permissions to allow the other user's process to access your workstation.

link|improve this answer
+1: that's exactly what I thought. – dag729 May 6 '10 at 21:13
feedback

gksu is a program for graphically selecting the user as which to run a command. For more about specific situations and various authorization issues see a post on UbuntuForums.

link|improve this answer
feedback

In addition to what Chris Nava told about zenity (that is a really neat piece of software), you can also try whiptail, kdialog and xdialog. (Maybe an apropos dialog in your terminal will give you further hints).

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.