RDesktop question

DHR

DHR

Soldato
Joined
30 Apr 2003
Posts
3,423
I'm after setting up a shortcut in gnome for rdesktop, i'm after it doing the following....

rdesktop -a 16

....but prompting for the server address, is this possible?


edit: i'm currently running it from a terminal window and having to manually specify the server param, is there any way of making sure the terminal window closes right after rdesktop executes?
 
Associate
Joined
29 Sep 2005
Posts
818
Location
St Neots / Dublin
Rdesktop doesnt provide a gui where you can enter the server IP.

You could check out grdesktop, which is a GTK+ frontend for rdesktop, or check out tsclient (my favorite), which is a front-end for rdesktop, VNC and citrix metaframe.

If you still want to use rdesktop, you could make a wrapper script for it that does something like this :
Code:
#!/bin/bash
read server
exec rdesktop -a16 $server
"read server" will read a whitespace-delimited string from the consle and place in the variable $server.
"exec ..." will replace the current process with the command, so that when it exits, the caller process will exit too.

Hopefully that should do what you want.
 
Back
Top Bottom