Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I work in IT for a community college and we're currently trying to re-purpose some yesteryear machines as thin clients.

I'm pretty much there, where rdesktop opens up the terminal server login screen beautifully. The missing element is that the kids/users can still hit cancel and get into the linux environment. How can I disable that functionality?

Right now it runs: $rdesktop -u "" -g 1280x1024 -f

It's glorious. Really, it is. But it can be circumvented, which we simply cannot have!

Any ideas, guys?

share|improve this question

migrated from Jul 23 '12 at 5:41

This question came from our site for professional and enthusiast programmers.

You can always recompile the rdesktop app and remove/hide the cancel button. – Marc B Jul 20 '12 at 16:58
Sounds like a good solution. Well, there goes a year of my life! – user1541320 Jul 20 '12 at 19:34

I'm not sure what you mean when you say "circumvented", but if you mean that users could hit "cancel" and end up dropping back to a terminal, then nothing stops you from placing rdesktop in a while loop... Here is an example:

while true; do rdesktop -u "" -g 1280x1024 -f; done

It doesn't get much simpler than that...

Also, I've used this method before, and there is NO time for a user to hit CTRL+C between rdesktop instances if done right (use the rdesktop while loop INSIDE xinit, do not create an xinit while loop, or there will be time for CTRL+C).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.