I have been teaching myself bash scripting and have run into an issue. I have written a script to take input from the user, using the 'read' command, and make that input a variable to use later in the script. The script works, but....
I would like to be able to get it setup using 'dialog'.
I have a C++/Qt program running on Ubuntu 10.04. I am running a remote application using x-windows (ssh -X) with RSA key to prevent the password dialog. The C++/Qt program allows the user to invoke a shell script.
I thought gksudo is what sudo is in terminal. I wanted to open SciTE eleveted and change some "protected" file, so I issue 'gksudo SciTE`, but nothing happens, SciTE isn't run at all - gksudo dialog shows, then I enter my password, but program doesn't start.
Is there some limitation which programs can be run under gksudo, or how do I run SciTE elevated?