In my case I wanted to force icewm for some users and kde for others.

cd /usr/share/xsessions
ls
custom.desktop  failsafe.desktop  IceWM.desktop  kde.desktop

vi kde.desktop
[Desktop Entry]
Hidden=true

if it doesn't exist, create failsafe.desktop
[Desktop Entry]
Encoding=UTF-8
Name=Failsafe
Hidden=true

And do the same with the other .*desktop files

vi IceWM.desktop

[Desktop Entry]
Encoding=UTF-8
Name=IceWM
Comment=This is the window manager IceWM
Comment[de]=Dies ist der Fenstermanager IceWM
Exec=/usr/bin/icewm-session
Icon=icewm.xpm
Type=Application
Hidden=true

vi custom.desktop

[Desktop Entry]
Encoding=UTF-8
Name=Custom
Comment=This is the window manager IceWM
Type=Application
Hidden=false


Now modify  ~/.xsession to start the desired default desktop
exec icewm

I can't remember if I had to do anything else.

Chris.


On 3/2/07, Thomas Herdt <[EMAIL PROTECTED]> wrote:
> Hmm, it seems, for me is no easy way to go. My english is not the very
> best but I will crack it.
>
> > Hi,
> >
> > man xsession
> > kdm-greeter looks here /usr/share/xsessions
> >
> > Chris.
> >
> > On 3/1/07, Thomas Herdt <[EMAIL PROTECTED]> wrote:
> > > Am Montag, 26. Februar 2007 23:29 schrieb Thomas Herdt:
> > > > Am Montag, 26. Februar 2007 11:34 schrieb Sudev Barar:
> > > > > On 26/02/07, Thomas Herdt <[EMAIL PROTECTED]> wrote:
> > > > > > Wen I see LDM (LTSP Display Manager), I have the
> > > > > > options "Default", "gnome", "kdestart" and so on. I choose
> > > > > > "kdestart" and KDE starts fine. But the next time, the
> > > > > > selected desktop environment is "Default" again.
> > > > > >
> > > > > > My question concerning LDM:
> > > > > >
> > > > > > 1. How can I choose "kdestart" as default? And by the way:
> > > > >
> > > > > edit the file /etc/X11/default-display-manager
> > > >
> > > > Thanks for answering, Sudev :-)
> > > >
> > > > The file /etc/X11/default-display-manager concerning to start X11
> > > > on the server. My problem is to configure the LTSP display
> > > > manager who is starting during the start of a terminals. Due to
> > > > this, my question is:
> > > >
> > > > 1. How can I choose "kdestart" as default on the LDM Display
> > > > Manager? or 2. How can I change the theme of LDM (Maybe, that can
> > > > help).
> > >
> > > Isn't there a solution for me?
> > >
> > > -------------------------------------------------------------------
> > >------ Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to
> > > share your opinions on IT & business topics through brief
> > > surveys-and earn cash
> > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=
> > >DEVDEV
> > > ___________________________________________________________________
> > >__ 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.freenode.net
> >
> > ---------------------------------------------------------------------
> >---- Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to
> > share your opinions on IT & business topics through brief surveys-and
> > earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DE
> >VDEV
> > _____________________________________________________________________
> > 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.freenode.net
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _____________________________________________________________________
> 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.freenode.net
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_____________________________________________________________________
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.freenode.net

Reply via email to