PDA

View Full Version : [ubuntu] How to Automatically log off Ubuntu user when closing rdesktop connection?



shirubia
August 4th, 2009, 08:32 PM
Hi Guys,

I was wondering if there is a way, or some script, to automatically log off an Ubuntu user when they close an rdesktop connection?

shirubia
August 11th, 2009, 12:23 AM
Right now, I'm using this script


/usr/bin/sudo /sbin/shutdown -h now

Does anyone know the script to just log off instead of shutdown?