Uhmmm ... It seems the init script start too soon in boot sequence ...
Need to find a method to start after ldm started ..


On 28/10/2015 18:48, g wrote:
> Done with x11vnc, like in fat client.
> No need enabling LOCAL_APPS at all.
> Just
> Install x11vnc on chroot environment
> # ltsp-chroot --arch=i386 apt-get install x11vnc
>
> Create a password file for x11vnc
> # echo "yourpassword" > /opt/ltsp/i386/etc/x11vncpassword
>
> Create an init script to starrt vnc at client boot
> # nano /opt/ltsp/i386/etc/init.d/x11-vnc-server
> ________
> #!/bin/bash
> ### BEGIN INIT INFO
> # Provides:          VNC Server
> # Required-Start:    x11-common
> # Required-Stop:
> # Default-Start:     3 4
> # Default-Stop:      0 6
> # Short-Description: Raise VNC Server
> ### END INIT INFO
>
> XAUTH=`find /var/run/ -name Xauth*`
> VNCBIN=`which x11vnc`
> case "$1" in
>          start)
>                  start-stop-daemon --start --oknodo \
>                          --pidfile /var/run/x11vnc.pid --background \
>                          --nicelevel 15 --make-pidfile --exec \
>                          $VNCBIN -- -display :7  -forever -passwdfile
> /etc/x11vncpassword -nossl -auth $XAUTH
>          ;;
>          stop)
>                  start-stop-daemon --stop --oknodo --pidfile
> /var/run/x11vnc.pid
>          ;;
>          restart)
>                  $0 stop
>                  $0 start
>          ;;
>          *)
>                  echo "Usage: $0 start|stop|restart"
>          ;;
> esac
> ___________
>
> Insert the script in the init sequence
> # chmod+x  /opt/ltsp/i386/etc/init.d/x11-vnc-server
> # ltsp-chroot --arch=i386 insserv -v x11-vnc-server
>
> Reboot the clients and try connecting with any vnc capable software
> Hope it helps
>
>
> On 28/10/2015 16:26, g wrote:
>> Thanks. It seems a very nice project, an excellent work.
>> Just it seems not well trimmed to my needings, because I don't need to
>> have remote connections to thinclient from the LTSP server. Often I have
>> to connect from random Linux stations without Gnome, sometimes from Win
>> stations or maybe from Android.
>> So a solution based on VNC or similar is to be preferred.
>> I'll try to enable LOCAL_APPS just for x11vnc and see what's came on.
>> Epoptes will be useful for another project arising now in my mind ;)
>> Thanks for precious suggestion,  Alkis.
>> Other suggestions are welcome too.
>> giuliano
>>
>> On 28/10/2015 13:26, Alkis Georgopoulos wrote:
>>> http://www.epoptes.org
>>>
>>> On 28/10/2015 12:46 μμ, g wrote:
>>>> Hi. I recently setup a thin client environment (no fat client) with
>>>> LTSP
>>>> on Debian Wheezy server.
>>>> Does anyone know which is the best method to remotely control the
>>>> clients (like RDP or VNC)?
>>>> In fat client environment I used to install X11vnc on the chroot, but
>>>> now (on pure thin client environment) all the apps run on the server.
>>>> Any clue is appreciated. Thanks
>>>>
>>>> giuliano
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>>
>>> _____________________________________________________________________
>>> 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
>>>
>>
>> ------------------------------------------------------------------------------
>>
>> _____________________________________________________________________
>> 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
>>

------------------------------------------------------------------------------
_____________________________________________________________________
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