LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author]
  From: Martin Sandiford <ms@mcdev.com.au>
  To  : Sulis, Adam <SULISA@tc.gc.ca>
  Date: 19 Sep 1999 01:45:01 +0930

Re: Confiuring XDMCP Broadcast

>>>>> "Sulis," == Sulis, Adam <SULISA@tc.gc.ca> writes:

    Adam> After logging in, I get an Xterm on the desktop.

This is a bit odd, as I thought the scripts should try and work out
which desktop you are using.

    Adam> - Instead of Xterm, I would like the complete desktop as
    Adam> shown on the server in default configuration (for Redhat6,
    Adam> that's GNOME, I think). So I have to change that. Possibly
    Adam> by adding "-session session_program" to the end of xdm in
    Adam> /etc/inittab. I may have to script it if it can't be done in
    Adam> one command.

Two things to try come to mind.  You can modify /etc/X11/xdm/Xresources
and change the line that says:

    <Key>Return: set-session-argument() finish-field()

to:

    <Key>Return: set-session-argument(gnome) finish-field()

or use kde etc.


Or, create a ~/.xsession file (chmod 755) something like:

--snip--
#!/bin/sh
exec /usr/bin/gnome-session
--snip--


    Adam> - Paths are a problem in the new display. Even though Xterm
    Adam> is in /usr/X11R6/bin, I still have to launch by typing
    Adam> /usr/X11R6/bin/xclock, for example. This may be adjustable
    Adam> by a script, or Xsession, or something. I'll keep
    Adam> experimenting.

This may be because the xterm was probably not started with the -ls
option and consequently bash has not read /etc/profile (which adds
/usr/X11R6/bin to the path).

This should be fixed automagically when gnome-session is loaded? (Not
sure)

Cheers,
Martin

-- 
Check out the LinuxSA web pages at http://www.linuxsa.org.au/
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author]
Return to the LinuxSA Mailing List Information Page