Dr. Mu has asked for the wisdom of the Perl Monks concerning the following question:
1. Send the telnet logout command via an open Net::Telnet connection? (Once Gnome is started via startx, telnet blocks, waiting for the X session to finish, so using $connection->cmd is not possible. Also, breaking the telnet connection doesn't force a logout -- nor do I want it to.)
2. Have the Perl script running on the server force an exit/logout sequence?
Many thanks! This has had me stumped for several days now, and I've exhausted the resources I'm familiar with.