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! :)
>
> 3) How to access $HOME/.dev/fd0...
>
> I don't use Gnome or gmc, so my need for transparent access lays with
> mtools and MToolsFM (GUI for mtools). Here is the .mtoolsrc file that
> goes into a user's home directory to allow this to work:
>
> drive a: file="~/.dev/fd0" 1.44m mformat_only
>
> Mtools is designed to only work with DOS/FAT formatted floppies, but
> those are the kinds that users generally have. Once the .mtoolsrc file
> is in the user's home directory, it just works!
>
> Now here's the bad news: I can't figure out how to *stop* the
> nbd-clients! 'kill' and even 'kill -9' doesn't do it and I can't unload
> the nbd module either. You have to reboot to clear it. Until this is
> resolved it's not a complete solution. I've looked at the source code,
> but it's out of my league to debug this sort of thing. Mr. Stanford
> says that the nbd-client is stuck in an ioctl loop and that is why it
> cannot receive any signals. I'm inclined to believe him based on what
> I've seen in the source. Anyone want to take a whack at it?
>
> ***********************************************************************
>
> _____________________________________________________________________
> Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
> https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> For additional LTSP help, try #ltsp channel on irc.openprojects.net
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.openprojects.net