Make X_COLOR_DEPTH work even without a xorg.conf

Άλκης Γεωργόπουλ ος <[email protected]>
Newsgroups gmane.linux.terminal-server.devel
Message-ID <1232830081.21481.22.camel@alkisg>
X_COLOR_DEPTH in lts.conf is translated to `X -depth`, so it can be used
even without creating a xorg.conf file.

This is needed e.g. if someone wants to force 16 bit color depth for
speed reasons (saves almost 1/3 network bandwidth, some client CPU etc)
but doesn't want/need to create a xorg.conf.

A single line needs to be changed for this to work.
In /usr/share/ltsp/screen-session.d/XS95-colordepth,
  if [ "$X_CONF" = "$XCONF" ] && [ -n "$X_COLOR_DEPTH" ]; then
should become
  if [ -n "$X_COLOR_DEPTH" ]; then

Tested in vbox, seems to work fine.

Kind regards,
Alkis Georgopoulos


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_____________________________________________________________________
Ltsp-developer mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-developer
For additional LTSP help,   try #ltsp channel on irc.freenode.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.