Bug 2484 - /etc/X11/xdm/Xsession - quotes needed
/etc/X11/xdm/Xsession - quotes needed
Status: CLOSED ERRATA
Product: Red Hat Linux
Classification: Retired
Component: XFree86 (Show other bugs)
6.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
:
: 2392 2894 3000 3432 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-05-02 17:36 EDT by tudor
Modified: 2008-05-01 11:37 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-06-17 10:54:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description tudor 1999-05-02 17:36:22 EDT
Hi,

I'm not sure how /etc/X11/xdm/Xsession is generated, but
the color in the call to xsetroot should be quoted, i.e.

xsetroot -solid #356390

should be replaced with

xsetroot -solid "#356390"

Regards,
Tudor
Comment 1 Jeff Johnson 1999-06-03 11:15:59 EDT
*** Bug 3000 has been marked as a duplicate of this bug. ***

in /etc/X11/xdm/Xsession 4th line is :
xsetroot -solid #356390
I do not know what does this mean but it always gives a
syntax error , every time I try to log in , with the
following message:

usage: xsetroot [options]
  where options are:
  -display <display>   or   -d <display>
  -fg <color>   or   -foreground <color>
  -bg <color>   or   -background <color>
  -rv   or   -reverse
  -help
  -def   or   -default
  -name <string>
  -cursor <cursor file> <mask file>
  -cursor_name <cursor-font name>
  -solid <color>
  -gray   or   -grey
  -bitmap <filename>
  -mod <x> <y>
What is the problem ?


------- Additional Comments From notting@redhat.com  05/24/99 09:58 -------
it's a bug in the Xsession file. Put quotes around the
color spec.
Comment 2 Jeff Johnson 1999-06-03 11:19:59 EDT
*** Bug 2392 has been marked as a duplicate of this bug. ***

In /etc/X11/xdm/Xsession you can find this:

xsetroot -solid #356390

and because it's a shell script, hash mark starts a comment.
I am sure we don't want this. To correct it:

xsetroot -solid \#356390
Comment 3 Jeff Johnson 1999-06-03 14:47:59 EDT
*** Bug 2894 has been marked as a duplicate of this bug. ***

In /var/log/xdm-error.log, the following error messages
appear.

stdin: is not a ttyusage: xsetroot [options]
  where options are:
  -display <display>   or   -d <display>
  -fg <color>   or   -foreground <color>
  -bg <color>   or   -background <color>
  -rv   or   -reverse
  -help
[...] etc.

xsetroot is obviously being called in a broken way by
something

------- Additional Comments From dlt@redhat.com  05/18/99 15:25 -------
This appears to be due to a problem in the X startup scripts.  It will
be fixed sometime later.  It does not appear to have any functional
implication.
Comment 4 Jeff Johnson 1999-06-13 14:44:59 EDT
*** Bug 3432 has been marked as a duplicate of this bug. ***

The scripts

/etc/X11/xdm/{Xsession,Xsetup_0}

both contain the line

xsetroot -solid #356390

which are incorrect and should be replaced by

xsetroot -solid rgb:35/63/90
Comment 5 Bill Nottingham 1999-06-17 10:54:59 EDT
Fixed in errata XFree86-*-52 release.

Note You need to log in before you can comment on or make changes to this bug.