[K12OSN] Scripting for Linux - RDesktop straight to an app

Daniel Bodanske daengbo at gmail.com
Thu Apr 26 00:07:52 UTC 2007


Have you tried seamless RDP?
http://loftninjas.org/blog/2007/01/seamless-rdp-on-ubuntu-edgy-eft-outlook.html

The command-line should be the same, though you won't need the stuff
about Qemu or VirtualBox.

Dan

On 4/26/07, Rob Owens <rowens at ptd.net> wrote:
> I wonder if it would be possible to get the password from pam_mount.
> Then, possibly, you might be able to rdesktop w/o even entering the
> password.
>
> I have no idea how it would be done, but maybe somebody smarter than me
> could chime in with an idea.
>
> -Rob
>
> On Wed, Apr 25, 2007 at 12:02:20PM -0500, Peter Scheie wrote:
> > You could write a wrapper script that prompts the user for the password,
> > then passes that pw to the rdesktop command.  I like using zenity for
> > creating GUI prompts to users (see the man page).  So you could do
> > something like this:
> >
> > PW=`zenity --entry --hide-text --text="Please enter your password"`
> > rdesktop -u $USER -p  $PW 'server-name'
> >
> > Put the above lines into a file in. say, /usr/local/bin, make it executable
> > (chmod +x script), and try it from a command line.  If that works, then do
> > as Roger suggested and create a launcher that calls the script.
> >
> > Petre
> >
> > _______________________________________________
> > K12OSN mailing list
> > K12OSN at redhat.com
> > https://www.redhat.com/mailman/listinfo/k12osn
> > For more info see <http://www.k12os.org>
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>




More information about the K12OSN mailing list