Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I need a way to restrict the remote desktop sessions on Ubuntu Server. Any ideas how I can do that ? I did Google, but didn't find anything for Ubuntu. Thanks !

share|improve this question

closed as too localized by Marco Ceppi Feb 3 '12 at 1:18

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
use Freenx or use ssh -X –  karthick87 Nov 19 '10 at 20:27
1  
Shreyas, you don't mention what behavior you want to restrict, or what you mean by remote desktop sessions. Do you mean people logging in to the machine by SSH? Please elaborate! I'm -1'ing the question for being a bit unclear. –  SpamapS Aug 1 '11 at 1:00
    
This question seems abandoned, there is not further information or activity added to it for several months. I am flagging this to be closed by a moderator. If you think this issue is still affecting you you can flag a moderator to re-open it. –  Bruno Pereira Feb 3 '12 at 1:14
add comment

1 Answer 1

What are you using for your Temrinal Server in Ubuntu? I use Xrdp quite a bit on Ubuntu and CentOS boxes, and there is a sesman.ini file which has a MaxSessions= variable you can set. Here is more info from the manpage: http://linux.die.net/man/5/sesman.ini

If you are using another Terminal Server implementation, or have additional questions or problems please let me know.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.