Ola,

gdm uses its own configuration, while kdm has historically used the 
existing configuration files for xdm.  This may have changed in more 
recent version of kdm, but you can try putting this scripting in the 
file /etc/X11/xdm/Xsession and see if it works.

Jason


> Date: Thu, 22 Nov 2001 14:50:59 +0100
> From: Ola Ketil Siqveland <[EMAIL PROTECTED]>
> 
> If I want to use KDE with KDM where shall I put these command 
> below can I use the same as for gdm
> 
> Ola Keitil Siqveland
> 
> Nancy Solano wrote:
> >
> > 2) Fix gdm.  Use this scripting in /etc/X11/gdm/PreSession/Default
> > instead of what is currently in the docs:
> >
> >         # Check for remote floppy on LTSP workstation
> >         if [ -b $HOME/.dev/fd0 ]; then
> >           FLOPSTN=${DISPLAY%%:*}
> >           FLOPSTN=${DISPLAY%%.*}
> >           /usr/local/bin/nbd-client $FLOPSTN 1025 $HOME/.dev/fd0 &
> >         fi
> >
> > This alleviates the need to use the username to bind to the 
terminal.
> > The DISPLAY variable contains all the information we need for 
that.  I
> > also used HOME instead of USER because a given user's home 
directory is
> > not always /home/$USER and the HOME variable is available.  It 
also only
> > runs for users with the block device $HOME/.dev/fd0, so it 
discriminates
> > based on user, but adapts to wherever they are logging in from!  :)


Attachment: "
Description: Binary data

Reply via email to