Does anybody know if it's possible to disable error messages, such as invalid password, in the rdesktop client on unix? I'd like to write a script that uses rdesktop in a while loop, but it seems to hang if I don't auth properly.
Does anybody know if it's possible to disable error messages, such as invalid password, in the rdesktop client on unix? I'd like to write a script that uses rdesktop in a while loop, but it seems to hang if I don't auth properly.
Why not test the username and password against the server first, using something else (SMB perhaps)?
OK. It's not possible. Back to the drawing board.
Something is afoot! Why would you want to repeatedly login to a remote desktop session with an invalid password?
I'll bite ...
Just a simple error redirection should work. But still. Why do you need to write a while loop for an interactive process?
I have to assume you did what I did, took a Pos desktop, put rdesktop on it and secured it down. On boot mine executes rdesktop to our terminal service.
Two options 1) create a link on desktop to recreate connection(easy fast cheap) 2) create a script that waits for rdesktop to exit, on return it restarts rdesktop. This is very doable but a pain in the ass. you'll need to learn signal handlers for this.