Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now

TroyR
Posted on: Jul 17 2006, 03:13 PM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 17-July 06
Member No.: 6,783


That was just what I needed. Thanks
  Forum: Technical Support · Post Preview: #27499 · Replies: 3 · Views: 3,532

TroyR
Posted on: Jul 17 2006, 12:04 PM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 17-July 06
Member No.: 6,783


I was recently given the task at work to put a login banner on a panasonic toughbook laptop with redhat 7 installed. After modifying the /etc/issue file with no success I decided to modify the /etc/X11/gdm/PreSession/Default file and now I can tell that it is working but I am locked out of my computer from all accounts.
The code I added was

if ! gdialog --yesno '\n My Message was here.......\n' 10 10; then
sleep 10
exit 1;
fi

at the beginning of the file. I wanted the banner to be displayed and make the user check if they agree or not before being able to log in. Well my problem now is that I enter in my info to log in as root and I see that the banner is trying to display but it just looks like there is some problem with GDM or something because all it displays is a pretty distorted rainbow of colors for ten seconds and sends me back to the log in screen. I have tried to trick it and see if it would let me in if I just pushed enter to make it think I was agreeeing, but that dint' work. No matter what I do it jsut sends me back to the login screen.

If you know a way that I can still log in with a command line or reset that file I would really love it.
TroyR
  Forum: Technical Support · Post Preview: #27494 · Replies: 3 · Views: 3,532


New Posts  New Replies
No New Posts  No New Replies
Hot topic  Hot Topic (New)
No new  Hot Topic (No New)
Poll  Poll (New)
No new votes  Poll (No New)
Closed  Locked Topic
Moved  Moved Topic
 

RSS Lo-Fi Version Time is now: 12th December 2017 - 05:04 AM