Re: [Ltsp-discuss] Annoying DPMS with kdm

2007-10-12 Thread Rolf-Werner Eilert
I don't think it has effect to kdm, as it's no System Administrator's 
control. The level is for the user logged in, so it should work like a 
simple xset -dpms from a terminal session within KDE or whatever.

Xavier Brochard schrieb:
 Don't know if it has effects on kdm but have you tried to change settings in 
 kde configuration center/peripherals/display/power control ?
 You can also check the bios settings and the monitor's parameters.
 
 Hope this help
 
 Le Thursday 11 October 2007 12:22:55 Rolf-Werner Eilert, vous avez écrit :
 [EMAIL PROTECTED] schrieb:
 On Thursday 11 October 2007 03:13:11

 [EMAIL PROTECTED] wrote:
 Still trying to get rid of DPMS when kdm is shown.
 KDM is probably resetting the dpms setting somehow.

 IMHO, why not leave it on, and help save the planet by
 reducing electricity requirements?
 Also some manufacturers eg Samsung talk of the LCD stucture being
 polorized the effect of which IS SCREENBURN. So screen savers are a good
 thing and turn back on is instant so I agree.

 James
 Thank you Scott and James,

 I agree with you in general - however this is a bit more tricky here. We
 are a school, and that means different conditions.

 1st we've got CRTs (at least for the time being), no burn-in so far with
 the old server (DPMS is off).

 2nd I found that students get confused when they enter the room and do
 not know which terminal is actually on or in stand-by. If in stand-by
 they might try to press the button until they see it was on - and so
 switch it off again because of their repeated pressing and trying... :-)
 Believe me, I've seen everything here...

 3rd I couldn't see if the monitors actually switch off or just go black
 and stay on. I'll check that.

 As to KDM, I didn't find any configuration setting about this. So I
 might just be wrong. What I did is to change this setting in
 build_x4_config so it doesn't care about the lts.conf setting but always
 writes Option DPMS false. Was this the right/best/only way? How
 could I check for this option after booting?

 As to the LCDs, you're right. My own one does it (at least with certain
 colours), but it has always disappeared after couple of minutes and it's
   only visible on a gray background.
 
 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
_
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


Re: [Ltsp-discuss] LTSP and rdesktop

2007-10-12 Thread Craig White
On Wed, 2007-10-10 at 16:28 -0500, Kevin Blackwell wrote:
 OK,
 
 I've tried rdesktop on FC6 and Ubuntu, and I cannot get rdesktop to
 run. Can someone point me to a distribution and version of ltsp that
 they are using if they have successfully got it running.
 
 As a side not, I don't seem to be having a problem getting the ltsp
 software running in X, but rdesktop just isn't working.

I *** sort of *** got it working on my iMac G3 systems (some problems
still, not all of them are Macintosh driven)

This is what my /opt/ltsp/ppc/etc/screen.d/rdesktop looks like (I'm
still working out the kinks - some notes at the bottom)...

#!/bin/sh
#
# The following script works for LTSP v5 and was tested in Ubuntu
Feisty Linux.
# Original rdesktop script by James A. McQuillan,
# modified for LTSP v5 by Colin Osterhout of SERRC (www.serrc.org).
#
# This software is licensed under the Gnu General Public License.
# The full text of which can be found at http://www.LTSP.org/license.txt
#
#
#
# /opt/ltsp/i386/etc/screen.d/rdesktop
#
# Call this through /opt/ltsp/i386/etc/lts.conf like this:
#   RDP_OPTIONS  = -a 16
#   RDP_SERVER   = w2k3.terminal.server.ip
#   SCREEN_02= rdesktop
#

PATH=$PATH:/bin:/usr/X11R6/bin; export PATH
#. /usr/lib/ltsp/ltsp_functions
. /etc/ltsp_functions

# Get the lts.conf entries
#eval `/usr/bin/getltscfg -a`
eval `/bin/getltscfg -a`

RDP_OPTIONS=${RDP_OPTIONS:--f}

reg_info RDP_SERVER
reg_info RDP_OPTIONS

ACCESS_CONTROL=${DISABLE_ACCESS_CONTROL:-N}
reg_info ACCESS_CONTROL
if [ ${ACCESS_CONTROL} = Y ]; then
ACC_CTRL=-ac
else
ACC_CTRL=
fi

if [ ${XF_ARGS} =  ]; then
XF_ARGS=-query ${XDM_SERVER}
fi

XBINARY=XFree86
XOPTS=

TTY=`/usr/bin/basename \`/usr/bin/tty\``
XFCFG=/tmp/XF86Config.${TTY}
export TTY

#
# Setup the DISP variable
#
TTY_N=`echo $TTY | sed -e 's/^.*\([0-9]\)$/\1/'`
export DISP=:$(expr ${TTY_N} - 1).0


#
# Setup the XF86Config file
#
while :; do

  /usr/X11R6/bin/xinit /usr/bin/rdesktop -f -u  192.168.3.129 -- \
 -xf86config ${XFCFG} vt${TTY}

done

 notes #
- I had to set the PATH variable to include /usr/X11R6/bin
- I am still having an issue where SCREEN_01 = startx and SCREEN_01 =
rdesktop because it says 'Server is already active for display 0' (my
startx desktop) - Obviously I have to set this to use display 1 but that
is not within my skill set.
- If the screen on my Mac - rdesktop connection goes to screen
black...it won't wake up on keyboard or mouse events.
- Obviously need to change the hard coded stuff back to variables loaded
from lts.conf

-- 
Craig White [EMAIL PROTECTED]


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
_
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


Re: [Ltsp-discuss] LTSP and rdesktop

2007-10-12 Thread Kevin Blackwell
OK,

Does anyone have a working rdesktop script that supposed to go into
the screes.d directory. I've done a fresh install of debian, and it's
not on there. Tries the rdesktop script from version 4.1, but it's
trying to use old tools like pci_scan and it's not building the
XF86Config right. I get errors parsing the file and it says a device
section is needed.

Thanks

Kevin

On 10/12/07, Craig White [EMAIL PROTECTED] wrote:
 On Wed, 2007-10-10 at 16:28 -0500, Kevin Blackwell wrote:
  OK,
 
  I've tried rdesktop on FC6 and Ubuntu, and I cannot get rdesktop to
  run. Can someone point me to a distribution and version of ltsp that
  they are using if they have successfully got it running.
 
  As a side not, I don't seem to be having a problem getting the ltsp
  software running in X, but rdesktop just isn't working.
 
 I *** sort of *** got it working on my iMac G3 systems (some problems
 still, not all of them are Macintosh driven)

 This is what my /opt/ltsp/ppc/etc/screen.d/rdesktop looks like (I'm
 still working out the kinks - some notes at the bottom)...

 #!/bin/sh
 #
 # The following script works for LTSP v5 and was tested in Ubuntu
 Feisty Linux.
 # Original rdesktop script by James A. McQuillan,
 # modified for LTSP v5 by Colin Osterhout of SERRC (www.serrc.org).
 #
 # This software is licensed under the Gnu General Public License.
 # The full text of which can be found at http://www.LTSP.org/license.txt
 #
 #
 #
 # /opt/ltsp/i386/etc/screen.d/rdesktop
 #
 # Call this through /opt/ltsp/i386/etc/lts.conf like this:
 #   RDP_OPTIONS  = -a 16
 #   RDP_SERVER   = w2k3.terminal.server.ip
 #   SCREEN_02= rdesktop
 #

 PATH=$PATH:/bin:/usr/X11R6/bin; export PATH
 #. /usr/lib/ltsp/ltsp_functions
 . /etc/ltsp_functions

 # Get the lts.conf entries
 #eval `/usr/bin/getltscfg -a`
 eval `/bin/getltscfg -a`

 RDP_OPTIONS=${RDP_OPTIONS:--f}

 reg_info RDP_SERVER
 reg_info RDP_OPTIONS

 ACCESS_CONTROL=${DISABLE_ACCESS_CONTROL:-N}
 reg_info ACCESS_CONTROL
 if [ ${ACCESS_CONTROL} = Y ]; then
 ACC_CTRL=-ac
 else
 ACC_CTRL=
 fi

 if [ ${XF_ARGS} =  ]; then
 XF_ARGS=-query ${XDM_SERVER}
 fi

 XBINARY=XFree86
 XOPTS=

 TTY=`/usr/bin/basename \`/usr/bin/tty\``
 XFCFG=/tmp/XF86Config.${TTY}
 export TTY

 #
 # Setup the DISP variable
 #
 TTY_N=`echo $TTY | sed -e 's/^.*\([0-9]\)$/\1/'`
 export DISP=:$(expr ${TTY_N} - 1).0

 
 #
 # Setup the XF86Config file
 #
 while :; do

   /usr/X11R6/bin/xinit /usr/bin/rdesktop -f -u  192.168.3.129 -- \
  -xf86config ${XFCFG} vt${TTY}

 done

  notes #
 - I had to set the PATH variable to include /usr/X11R6/bin
 - I am still having an issue where SCREEN_01 = startx and SCREEN_01 =
 rdesktop because it says 'Server is already active for display 0' (my
 startx desktop) - Obviously I have to set this to use display 1 but that
 is not within my skill set.
 - If the screen on my Mac - rdesktop connection goes to screen
 black...it won't wake up on keyboard or mouse events.
 - Obviously need to change the hard coded stuff back to variables loaded
 from lts.conf

 --
 Craig White [EMAIL PROTECTED]


 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now  http://get.splunk.com/
 _
 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


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
_
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


Re: [Ltsp-discuss] Fwd: Unsupported Crossover (Wine) app installed in managed mode only runs as root.

2007-10-12 Thread Krsnendu dasa
Update:
I put esd as the sound driver for Crossover.
As a result:
Root works fine on the thin clients with sound.
The local user with administrative rights that was created at
installation time works fine with sound.
However:
smbldap users don't work at all.
another locally created user doesn't run properly. The program loads
then freezes then works for a short while then freezes again. There is
some sound.

The rights for the main executable are root:root rwxr-xr-x
I tried changing the owner and group of this file and it didn't seem
to make any difference. Local admin user can run it fine as it is.

The only difference I could see between admin user and other local
user is membership of video group, but couldn't find an option to join
that group. Neither admin or local user are members of the audio
group.

Any other clues about what changes could be made to allow other users
to run the program like the local admin user?

I feel we have made progress but we are not sure what to try next. Any
help is greatly appreciated.

Thanks.
Krsnendu dasa


On 06/10/2007, Scott Balneaves [EMAIL PROTECTED] wrote:
 Krsnendu dasa wrote:
  I am cross posting this to the ltsp lists as I got no response from the
  Crossover list and this software is essential for our school system
  which I need to get running by Monday.

 Are the users members of all the necessary groups? (i.e. audio, cdrom, etc)

 Scott

 --
 Scott L. Balneaves | Eternity is a very long time,
 Systems Department |  especially towards the end.
 Legal Aid Manitoba |-- Woody Allen

 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now  http://get.splunk.com/
 _
 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


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
_
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