LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-05-2008, 10:25 PM   #1
mijohnst
Member
 
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 419

Rep: Reputation: 31
Adding banner to RHEL.xml


I'm trying to add a pop up banner to my RHEL login screen and I found some good documentation on it, but I can't get it to work.

I added the following into the RHEL.xml file:


<item type="rect"/>
<pos anchor="n" x="50%" y="10" width="box" height="box"/>
<box>
<item type="label"/>
<normal font="Sans 14" color="#ffffff"/>
<text>
Warning!
This is my banner!
Warning!
</text>
</item>
</box>
</item>


When I added that line just below (or anywhere actually) the logo.png at the top of the script it fails with a "XML parsing error reading "/usr/share/gdm/themes/RHEL/RHEL.xml"

When I removed what I added above it goes back to working normal. I don't see anything wrong here, so I'm hoping that someone here does. What am I missing?

Thanks for the help!
 
Old 04-08-2008, 03:28 PM   #2
mijohnst
Member
 
Registered: Nov 2003
Location: Huntsville, AL
Distribution: RHEL, Solaris, OSX, SuSE
Posts: 419

Original Poster
Rep: Reputation: 31
I just wanted to give an update to this problem... The solution was fingered out by a Dell guy, so good job for him! Anyway, it appears I had too many slashes. Once removed it works great!

Code:
<item type="rect">
 <pos anchor="n" x="50%" y="10" width="box" height="box"/>
    <box>
      <item type="label">
       <normal font="Sans 14" color="#ffffff"/>
        <text>
        Insert the text of your warning banner here.
        </text>
     </item>
    </box>
</item>
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL 5 adding a LUN without a reboot l4n3 Linux - Enterprise 6 03-28-2008 03:17 PM
configure: error: could not find DocBook XML DTD V4.1.2 in XML catalog Fadoksi Linux - Software 1 07-16-2006 06:41 AM
Adding RHEL to a Windows XP machine: Having trouble getting ISO disk recognized kanncro Linux - General 5 01-30-2006 05:22 PM
Adding ppd to RHEL mindcry Linux - Software 0 08-04-2004 03:07 PM
XML; Adding a Page Title RJW Programming 6 12-21-2003 10:58 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:06 AM.

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