Is there something like kdesu for running programs on other network boxes?
The wife hates anything that looks like UNIX or command lines or passwords. Is there any way I can have her press a button on one box to run a program on another box? -- Jim Sabatke Hire Me!! - See my resume at http://my.execpc.com/~jsabatke Do not meddle in the affairs of Dragons, for you are crunchy and good with ketchup.
On April 21, 2004 02:31 pm, Jim Sabatke wrote:
The wife hates anything that looks like UNIX or command lines or passwords. Is there any way I can have her press a button on one box to run a program on another box?
Sure, but it will require some bash scripting. Theory follows: 1. ssh -l <username> -X <IP address> will give you an ssh shell with X forwarding active on SuSE systems. 2. X forwarding allows you to call any X capable program from one machine to another via an ssh tunnel, so calling acrobat from the command line once the tunnel is active will result in acrobat appearing on the client machine. 3. The trick will be to create an icon on her desktop, that runs in a shell and that calls the above requirements all on one line including password authentication. This can be a challenge. 4. Sorry but my bash skill are not up to par to give you a recipe. Some reading and you should be able to test and figure it out. Or ask this list. 5. Create an icon for each application she want to run on her desktop that is available from the remote machine. 6. Should work...in theory. Regards /ch
On Wednesday 21 April 2004 20.31, Jim Sabatke wrote:
The wife hates anything that looks like UNIX or command lines or passwords. Is there any way I can have her press a button on one box to run a program on another box?
On the machine where she will be working, run "ssh-keygen -t rsa" and follow the prompts. Don't use a passphrase. That will create a file $HOME/.ssh/id_rsa.pub. Copy this file to $HOME/ssh/authorized_keys on the second machine. Now you can ssh to the second machine without giving a password Then simply create an icon on the desktop that runs "ssh -X secondmachine <command>"
Jim Sabatke wrote:
The wife hates anything that looks like UNIX or command lines or passwords. Is there any way I can have her press a button on one box to run a program on another box?
The short answer is yes. RPC, Java RMI, CORBA etc are various methods that come to mind. I know nothing of kdesu. Can you give an example of what you'd like to accomplish?
expatriate wrote:
Jim Sabatke wrote:
The wife hates anything that looks like UNIX or command lines or passwords. Is there any way I can have her press a button on one box to run a program on another box?
The short answer is yes. RPC, Java RMI, CORBA etc are various methods that come to mind. I know nothing of kdesu. Can you give an example of what you'd like to accomplish?
Sure, I would like to make it easy for her to run kppp from a different box by just selecting an icon. -- Jim Sabatke Hire Me!! - See my resume at http://my.execpc.com/~jsabatke Do not meddle in the affairs of Dragons, for you are crunchy and good with ketchup.
On Wednesday 21 April 2004 21.15, Jim Sabatke wrote:
expatriate wrote:
Jim Sabatke wrote:
The wife hates anything that looks like UNIX or command lines or passwords. Is there any way I can have her press a button on one box to run a program on another box?
The short answer is yes. RPC, Java RMI, CORBA etc are various methods that come to mind. I know nothing of kdesu. Can you give an example of what you'd like to accomplish?
Sure, I would like to make it easy for her to run kppp from a different box by just selecting an icon.
Use kinternet/smpppd, it has a client/server design that is intended for just this type of use. That way she gets a nice systray icon she can click to connect just as she would if she were on the machine with the modem
Anders Johansson wrote:
On Wednesday 21 April 2004 21.15, Jim Sabatke wrote:
expatriate wrote:
Jim Sabatke wrote:
The wife hates anything that looks like UNIX or command lines or passwords. Is there any way I can have her press a button on one box to run a program on another box?
The short answer is yes. RPC, Java RMI, CORBA etc are various methods that come to mind. I know nothing of kdesu. Can you give an example of what you'd like to accomplish?
Sure, I would like to make it easy for her to run kppp from a different box by just selecting an icon.
Use kinternet/smpppd, it has a client/server design that is intended for just this type of use. That way she gets a nice systray icon she can click to connect just as she would if she were on the machine with the modem
That looks like just what I need! Thanks! However, I've got it working on the server (modem) box, but can't connect from the networked box. I keep getting an error dialog that says: Connection to remote server refused. Maybe smpppd is not running. Also check the server settings in the dialog "Various Settings" I've tried every server config I can think of, and nothing seems to work. I also looked up the setup info on the SuSE help program. The kinternet setup does not seem to modify the /etc/smpppd-c.conf file as specified, and I can't seem to locate where the config information is kept. Do I need to enable some network service to make this work? -- Jim Sabatke Hire Me!! - See my resume at http://my.execpc.com/~jsabatke Do not meddle in the affairs of Dragons, for you are crunchy and good with ketchup.
On Wednesday 21 April 2004 23.27, Jim Sabatke wrote:
That looks like just what I need! Thanks!
However, I've got it working on the server (modem) box, but can't connect from the networked box. I keep getting an error dialog that says:
Connection to remote server refused. Maybe smpppd is not running. Also check the server settings in the dialog "Various Settings"
I've tried every server config I can think of, and nothing seems to work.
Since I got broadband I don't even own a modem, so I can't really test if these things work, but a few things to look at: in /etc/smpppd.conf, is open-inet-socket set to yes? What is host-range set to, if anything? also make sure that smpppd is actually running on the machine (rcsmpppd status) On the client side, right-click on the kinternet icon in the systray, go to settings->various settings and go to the server tab, check the 'manual config' and set the ip for the server where smpppd is running. Also make sure that there is no firewall running on the remote box that blocks the connection Hope this helps, I have no way of checking if it does (except that I can see that it does indeed connect to the smpppd server), but the above is very close to how I got it running, way back when (praise $DEITY for the gift of broadband :)
Anders Johansson wrote:
On Wednesday 21 April 2004 23.27, Jim Sabatke wrote:
That looks like just what I need! Thanks!
However, I've got it working on the server (modem) box, but can't connect from the networked box. I keep getting an error dialog that says:
Connection to remote server refused. Maybe smpppd is not running. Also check the server settings in the dialog "Various Settings"
I've tried every server config I can think of, and nothing seems to work.
Since I got broadband I don't even own a modem, so I can't really test if these things work, but a few things to look at: in /etc/smpppd.conf, is open-inet-socket set to yes? What is host-range set to, if anything?
also make sure that smpppd is actually running on the machine (rcsmpppd status)
On the client side, right-click on the kinternet icon in the systray, go to settings->various settings and go to the server tab, check the 'manual config' and set the ip for the server where smpppd is running.
Also make sure that there is no firewall running on the remote box that blocks the connection
Hope this helps, I have no way of checking if it does (except that I can see that it does indeed connect to the smpppd server), but the above is very close to how I got it running, way back when (praise $DEITY for the gift of broadband :)
The /etc/smpppd.conf file had open-inet-socket set to no. I changed it, restarted smpppd and it works perfectly! Thanks! -- Jim Sabatke Hire Me!! - See my resume at http://my.execpc.com/~jsabatke Do not meddle in the affairs of Dragons, for you are crunchy and good with ketchup.
participants (4)
-
Anders Johansson
-
chris h
-
expatriate
-
Jim Sabatke