Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 07-12-2006, 02:19 PM   #1
Registered: Apr 2004
Location: Louisiana
Distribution: SUSE
Posts: 154

Rep: Reputation: 30
How to launch a basic YES/NO app. when user logs in?

When we login to our corporate network, a Netware script is run that uses some basic VB to pop up a dialog box that says "This computer is for business use only.... blah.."

"Do you Accept? Yes/NO"

If the user clicks YES the computer continues to load Windows, if the user clicks NO, the computer shuts downs.

How would I accomplish this on a SLES10 desktop running Gnome? I'm not asking for anyone to write the script for me. A few pointers on the files that should be modified and should we use perl, bash, etc?

Old 07-12-2006, 03:28 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
There's actually a method for this built into gdm (the graphical login manager). I believe on Debian the files you need to edit are /etc/gdm/gdm.conf and /etc/gdm/InfoMsgFile. Just put your text in InfoMsgFile and uncomment the appropriate line in gdm.conf (mine reads InfoMsgFile=/etc/gdm/InfoMsgFile).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Check if an app is running and if it's not launch this app Coume Linux - General 3 07-28-2008 02:34 AM
Is there a way to launch an app so that it's not shown on the taskbar kornerr Linux - General 13 05-17-2005 10:38 PM
Firefox logs user out? Where are error logs? case1984 Linux - General 0 10-09-2004 02:22 PM
mozilla won't launch on FC1 under gnome. Are there logs for this? nbh444 Linux - Software 0 06-02-2004 01:24 PM
app launch speed newby101 Linux - General 3 11-27-2003 12:01 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration