I need to create a method of displaying the Message of the Day
(motd) in a xmessage box when the user logs into our systems via GUI. If the user connects to the system via text mode, the motd should only display as text.
Create a script or method to determine if a student is logged in via
the graphical user's interface (GUI) or via text mode.
using motd help! script !?
Started by beidog, Oct 17 2008 09:48 PM
3 replies to this topic
#1
Posted 17 October 2008 - 09:48 PM
|
|
|
#2
Posted 18 October 2008 - 09:44 AM
What operating system?
#3
Posted 18 October 2008 - 08:01 PM
red hat Linux
#4
Posted 20 October 2008 - 07:59 AM
So, you'll need to see whether they have x-windows running. One way would be to try to send the xmessage box. If it returns an error message then use the text version.


Sign In
Create Account

Back to top









