![]() |
![]() |
![]() |
|
|||||||
| Linux Terminal Server Project Linux Terminal Server Project (LTSP) Discussions |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Master
![]() Join Date: Jan 2002
Posts: 1,717
Rep Power: 10
![]() |
Sorry I'm not trying to spam, but Im sure if someone else tries to do what I'm doing this will save them a lot of time and headaches.
Using Ubuntu without a linux DHCP server Install Ubuntu Feisty Do system updates by Terminal or update icon sudo apt-get update sudo apt-get install upgrade Reboot Install the following using Terminal or the GUI Synaptic Package Manager: Apt-get install ltsp-server thin-client-manager-gnome openssh-server If you want local drive support such as cdrom/floppy/etc on the thinclient, Install ltspfs and add the user to the fuse group Install LTSP thin Client Sudo ltsp-build-client Source for client build: https://help.ubuntu.com/community/ThinClientHowto To reduce network bandwidth used by X11 all traffic is tunneled through ssh, this proves remarkebly effective compared to NX compression. In order for the LTSP clients to access the server the server needs to have its IP address configured and available for SSH. Edit /etc/hosts and if you have a host line 127.0.1.1 change to the LTSP server IP address. 172.16.25.1 Demo If you changed the hosts file you will also need to update the LTSP client with the new ssh keys, these are encryption keys used to verify the remote host of a ssh connection is who it is supposed to be, i.e. not another host with the same IP address. $ sudo ltsp-update-sshkeys Source: http://developer.novell.com/wiki/ind...eKow_on_Ubuntu Update LTSP Client Sources.list Add sources from /etc/apt/sources.list to /opt/ltsp/i386/etc/apt/sources.list Open a Terminal and type: sudo cp /etc/apt/sources.list /opt/ltsp/i386/etc/apt Or sudo gedit Edit source list on the ltsp client (/opt/ltsp/i386/etc/apt/sources.list) and add local machine sources.list (/etc/apt/sources.list) to the ltsp sources.list Install x11vnc on ltsp client Sudo chroot /opt/ltsp/i386 Apt-get update Sudo apt-get upgrade Sudo apt-get install x11vnc exit Edit /opt/ltsp/i386/etc/rc.local Sudo gedit /opt/ltsp/i386/etc/rc.local Add the following line before the exit 0 statement in this file and save it: x11vnc -display :6 -forever -loop & Ensure rc.local gets executed: Sudo chroot cd /etc/rc2.d mv K99rc.local S99rc.local exit Source: https://wiki.edubuntu.org/InstallX11VncOnLtspClients Set up SSH for remote Admin (This allows you to remote reboot your Thin Client) As the current user logon using Sudo do the following # SSH needs /dev/random and proc interface, so mount them mount --bind /dev /opt/ltsp/i386/dev mount -t proc none /opt/ltsp/i386/proc # Make sure that resolv will work iin chroot cp /etc/resolv.conf /opt/ltsp/i386/etc/ Now chroot the /opt/ltsp/i386 chroot /opt/ltsp/i386 # Install ssh server apt-get install ssh # Enable root user by setting a password passwd root It's also possible to install your public key in $CHROOT/root/.ssh/authorized_keys to connect to the terminal without using the root password. Source: https://help.ubuntu.com/community/Ho...velEnvironment Give Root Logon Access Sudo chroot /opt/ltsp/i386 Passwd Run tftpd as a Daemon sudo gedit /etc/default/tftpd-hpa change the line that says RUN_DAEMON=”no” to RUN_DAEMON=”yes” Once the LTSP server is online on the correct network do the following in a Terminal. Sudo ltsp-update-sshkeys Configure Client to get Hostname from the DHCP server Edit /opt/ltsp/i386/etc/hostname Delete the entry so nothing is written Save Configure LTSP Clients optional at this point The configuration file /opt/ltsp/i386/etc/lts.conf can contain a list of X11 and LTSP configuration options that can be specified for individual or groups of machines. It can include X11 servers, mice, keyboards, attached devices, etc. A detailed list of the valid options can be found in /opt/ltsp/i386/usr/share/doc/ltsp-client/examples/lts-parameters.txt.gz including an example lts.conf. [Default] # LTSP server IP address #SERVER = server SERVER = 10.30.2.20 ## Network syslog #SYSLOG_HOST = server ## X11 driver, e.g. auto, vesa, i810 #XSERVER = auto #X_COLOR_DEPTH = "" X_COLOR_DEPTH = 16 #X_VIDEO_RAM = "" #XF86CONFIG_FILE = "" ## Keyboard configuration #XKBLAYOUT = us #XKMODEL = pc105 #XKBRULES = xorg #XKBOPTIONS = lv3:ralt_switch #XKBVARIANT = "" #CONSOLE_KEYMAP = "" ## Mouse configuration #X_MOUSE_DEVICE = /dev/input/mice #X_MOUSE_PROTOCOL = auto #X_MOUSE_EMULATE3BTN = True ## X11 font server #USE_XFS = False #XFS_SERVER = server ## SSH compression between LTSP client and server #NETWORK_COMPRESSION = False ## Network swap device for clients < 48 MB system memory #NBD_SWAP = "" #SWAP_SERVER = server #NBD_PORT = 9572 #USE_LOCAL_SWAP = False ## Local media device support #LOCALDEV = False ## Local printers #PRINTER_0_DEVICE = "" ## Sound configuration #SOUND = False #SOUND_DAEMON = esd ## Terminal sessions #SCREEN_07 = ldm ## Linux modules #MODULE_01 = "" ## Custom startup scripts #RCFILE_01 = "" #LDM_REMOTECMD = "" The configuration file can use "True" or "False", try not to be confused as regular LTSP 4.2 prefers "Y" and "N". Windows 2003 DHCP set up This page describes the steps needed to setup a windows DHCP server in order to run the LTSP Ubuntu The Ubuntu default install of LTSP assumes that you are going to use the built in DHCP server to assign ip addresses to your clients. In many establishments this is not the desired method for implementation as there is most likely an existing DHCP server. The following steps detail how to make specific machines boot from the LTSP server, but utilise a windows DHCP server for the ip assignment. This guide assumes you already have a running windows DHCP server and that you are specifying certain machines to boot from the LTSP server, ie. the majority of your machines are still running as they normally would. You will need to obtain the MAC address of each machine that requires to be bootable on the LTSP server. This can be achieved by asking the specified machine to try to boot from LAN. A DHCP message will appear, similar to the following CLIENT MAC ADDR: 00 0C 29 76 88 21 GUID: 234D234D-B4CC-6CEF-0EBD554566345 Login to your windows server and load the DHCP configuration screen Create a DHCP reservation for the MAC address you obtained Add the configuration options below to enable the machine to boot from the LTSP server 017 Root Path: /opt/ltsp/i386 066 Boot Server Host Name: <ip address> 067 Bootfile Name: ltsp/i386/pxelinux.0 012 HostName: enter the workstation name. Note: If your thin client is not working, replace the NIC with a different model. Even if the thin client worked on a pure LTSP with integrated DHCP, it does not mean it will work with the Windows 2003 DHCP forwarding the pxe boot. Source: https://help.ubuntu.com/community/Ub...TSPWindowsDHCP VMWare Desktop 6 Thin Client Install Guest OS as the VM user Create a directory in the / called Vmware Ensure the correct permissions are set for the folder and files once the VM is completed Go to System -> Administration->Users and Groups Click Manage Groups Add vmusers Add the user for the vmware machines to the vmusers group Do what ever you need, the above is/was the setup I was going to implement. You may be beter off just doing everything in default. Add .xsession to the users home directory with a path to the virtual machine. A little explanation on this... What this does is, when the user logs on it will automatically start a vmware session. I found that Vmware workstation 6 works best so far. You can set it up so the thin-client boots with window or what ever os full screen. You can also make it look transparent to the end usre so it looks like the thin-client is using a plain old windows machine. Auto logo on and so on. The other cool thing is you can use the screen-viewer to see what the end user is doing, (there is a small bug with the Viewer. If the desktop of the thin client does not show up, just do a vncviewer IPaddress:0 to it, once its up close it, that try the viewer and you should see the thin-client desktop in the viewer.) or you could just vncviewer to the machine and control it. You can also do all this with Win4lin server, but its a bit slower and uses a bit more processing power. I want to try to get virtualbox and Xen working the same way but dont have the time. I found some info on doing it with Xen here https://lists.ubuntu.com/archives/ed...er/002429.html if anyone wants to check it out and give it ago. Well if anyone has any info or success with doing this with Xen, or virtual box...Please post! Example: /home/test/.xsession #! /bin/bash vmware -X -q /VMware\ Machine/Windows\ 2000\ Professional/Windows\ 2000\ Professional.vmx } run_parts () { # until run-parts --noexec is implemented if [ -z "$1" ]; then internal_errormsg "run_parts() called without an argument." fi if [ ! -d "$1" ]; then internal_errormsg "run_parts() called, but \"$1\" does not exist or is" \ "not a directory." fi for F in $(ls $1); do if expr "$F" : '[[:alnum:]_-]\+$' > /dev/null 2>&1; then if [ -f "$1/$F" ]; then echo "$1/$F" fi fi done } Follow the Win4lin instructions. Initial configuration may consist of simple changes such as ensuring that the Administrator user in Windows logs in automatically without having to prompt the user. Since the system image will be provisioned to other users in a "copy-on-write" fashion, it is not a security risk that the default user in Windows be Administrator. Once the initial configuration is complete, the system administrator shuts down the session using the Shut Down function of the Start menu. Next, the administrator makes a backup copy of the guest image, to preserve the pristine installation in case something becomes corrupt during future configuration steps: cd ~/winpro cp GUEST.IMG GUEST.IMG.bak Next, the system administrator designates the winpro configuration of the master user as a master profile: /opt/win4linpro/bin/export-profile Notice that there are no special arguments to export-profile since the default winpro configuration is being used. In order to complete the export, the session is started (and promptly shut down) one more time: winpro Now is a good time to import the profile for the two users we want to provision. This does not need graphical capabilities, so we can switch users using the su command and not worry about the DISPLAY variable. Each user's password is of course typed in at the su prompt: User created on the server su - testuser /opt/win4linpro/bin/import-profile /home/master/winpro exit At this point the basic export/import of the master profile and provisioning to the users is complete. Any changes in the master profile will now automatically propagate to the users who import from it testuser. Also, further configuration may be done graphically and remotely from a computer running the Win4Lin WTS/VDS client. There is no need to use shell commands anymore, except of course to make a final backup of the master profile's GUEST.IMG file once the application configuration is done. Copy the /opt/win4linpro/bin/mergepro.xsession to /home/testuser Rename the mergepro.xsession to .xsession. Start your LTSP thin client logon, and you should have a full screen win4lin session. All this can also be done with VMware Player This is criptic I know. If someone wants to clean it up and post it some where that be cool. Most of the info is floating around in different places on the net, some I just figgured out. Hope this helps someone out there. I posted most of the sources. As for the Win2003....There is info all over the place, little bits and pieces all over, I just put the pieces together. Feed back would be good. Let me know what you think. Last edited by bazz : 08-November-2007 at 18:31. Reason: Added Sources, and cleaned up some, and added explanation |
|
|
|
|
|
#2 |
|
Wizard
Join Date: Oct 2006
Posts: 4,586
Rep Power: 8
![]() |
LTSP & Education Fossdem
www.fossed.net http://fossed.blogspot.com/ www.ltsp.org www.softwarefreedomday.org |
|
|
|
|
|
#3 |
|
Master
![]() Join Date: Jan 2002
Posts: 1,717
Rep Power: 10
![]() |
I just did an update to this. A bit cleaner, and a different config. Cool stuff!!!
|
|
|
|
|
|
#4 |
|
Master
![]() Join Date: Jan 2002
Posts: 1,717
Rep Power: 10
![]() |
I'm also trying to do this with virtualbox, but its not working out for me. Anyone have any experience with VirtualBox???
|
|
|
|
|
|
#5 | |
|
Banned
![]() |
Quote:
|
|
|
|
|
|
|
#6 |
|
Master
![]() Join Date: Jan 2002
Posts: 1,717
Rep Power: 10
![]() |
Just wondering.....does anyone have any interest in this??? I am actualy using this for an automation system!! I have a lot more configs in place, and very cool stuff, but just wondering if anyone else in here has a use for this.
It be a cool project to try to build and automation distro for this. However that is not something I could do on my own! If there is interest and anyone wants to know how I am using this, let me know. Its a nice setup for a lab environment. I'm also thinking I should be saving about 70% in cost, between hardware, parts, and energy. At this point I am in geek heaven! Oh BTW I fix a goof in the config setup. where it use to say 067 Bootfile Name: ltsp/pxelinux.0 It now says 067 Bootfile Name: ltsp/i386/pxelinux.0 The thin client could not find the image the other way |
|
|
|
|
|
#7 |
|
Master
![]() Join Date: Jan 2002
Posts: 1,717
Rep Power: 10
![]() |
Is there any possiblity of maybe getting an LTSP forum in here? Who could I ask?
|
|
|
|
|
|
#8 | |
|
Wizard
Join Date: Oct 2006
Posts: 4,586
Rep Power: 8
![]() |
Quote:
I wouldn't mind seeing forum on installation scenarios, of which LTSP is a subset. For example.. I am thinking of using a 1TB hard drive, and trying to decide how to partition it for Freespire + other Linux distributions --should I
Can I install software into /apps, with my personal settings into /home and any shareable data into /share --what do I have to consider for this to work seamlessly. So, I think it might prove more theoretical than practical --that old problem of your scenario does not exactly match mine, so I can't really use it Still it may be a good idea if LTSP is oriented to practical LTSP solutions, but it may be that LTSP is already servicing these issues via their own sites and forums ? Waiting to exhale, waiting to see what happens next! |
|
|
|
|
|
|
#9 | |
|
Master
![]() Join Date: Jan 2002
Posts: 1,717
Rep Power: 10
![]() |
Quote:
A bunch of us over in the Ubuntu forums have looked. There is not much out therre for the LTSP, or edubuntu setups. There is an Irc and a mailing list, but that is about it. The ubuntu wiki is very out dated, so we are trying to pull something together. So some us are lookong for someone who may want to help us try to centrlize info. |
|
|
|
|
|
|
#10 | ||
|
Wizard
Join Date: Oct 2006
Posts: 4,586
Rep Power: 8
![]() |
Quote:
I do see this wiki page.. http://wiki.ltsp.org/twiki/bin/view/Ltsp/WebHome --and I see this video, but I didn't listen to it http://www.ubuntuvideo.com/edubuntu_ltsp_project this is where I think simplifying a scenario would work.. The video Edubuntu spends time showing how a computer works, by fiddling with disks and having an open case. --what is likely to be more successful is either a slide show (like a quick guide ) that manufacturers of an OS or a device, sometimes include in their packaging. Or if one did use a video format, skip the hardware setups, and get right into connecting via the LTSP software and showing some of its operations, and refer to hardware setups as being a separate issue, and dependent on your specific equipment. --or perhaps there is a recommendation list for hardware that has worked or thin client products like http://www.neoware.com/products/os/t...t_linux_os.php {which might be of base for an LTSP configuration, I don't know ?) Quote:
--maybe LTSP already partially does this, but in the vernacular of the inevitable Duh! crowd, it is too thick on the ground with text, and where are the powerpoint slides.. Kiss..a philosophy and a method So make it (the scenarios) a slide show, a flash presentation or a video --but of course, being in Linux you don't have to use powerpoint for the presentation. I am not using LTSP, but if I were, this is the approach I think I would be using.. Last edited by DrHu : 11-November-2007 at 10:17. |
||
|
|
|
|
|
#11 | |
|
Master
![]() Join Date: Jan 2002
Posts: 1,717
Rep Power: 10
![]() |
Quote:
I agree with you for the most part..However I for one do not have time to do all the above. I think the best I could do for setups is screen shots, but then I would not know where or how to post those. The screen shots would be the same exact thing as the text instructions so Im not sure how that would help. For the scenario thing....I think that be easy! I think for a start this give a good explination. https://help.ubuntu.com/community/Ed...%28scenario%29 Well if something does end up happining I would hope you would jump on the team. You sound like you could be a big help with direction! |
|
|
|
|
|
|
#12 |
|
Newcomer
Join Date: Feb 2008
Posts: 8
Rep Power: 0
![]() |
Hi,
I have followed this guide, and things are working fine except for probelms with Install x11vnc on ltsp client, or trying to apt-get any extra packages, e.g. I would like to install Tor on my client. I get the following output: root@mark-desktop:/# apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be upgraded: libcairo2 libcomerr2 libcupsys2 libflac8 libpango1.0-0 libpango1.0-common libpng12-0 libpulse0 libss2 libssl0.9.8 libuuid1 libxfont1 linux-image-2.6.22-14-386 openssh-client pulseaudio pulseaudio-esound-compat tzdata xserver-xorg-core xserver-xorg-video-intel 19 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 6 not fully installed or removed. Need to get 0B/28.7MB of archives. After unpacking 229kB of additional disk space will be used. Do you want to continue [Y/n]? y Preconfiguring packages ... Can not write log, openpty() failed (/dev/pts not mounted?) (Reading database ... 16356 files and directories currently installed.) Preparing to replace linux-image-2.6.22-14-386 2.6.22-14.46 (using .../linux-image-2.6.22-14-386_2.6.22-14.52_i386.deb) ... Done. Unpacking replacement linux-image-2.6.22-14-386 ... Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/ltsp-update-kernels Cannot open ``/boot/nbi.img-2.6.22-14-386'':File exists run-parts: /etc/kernel/postrm.d/ltsp-update-kernels exited with return code 1 Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-2.6.22-14-386.postrm line 320. dpkg: warning - old post-removal script returned error exit status 1 dpkg - trying script from the new package instead ... Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/ltsp-update-kernels Cannot open ``/boot/nbi.img-2.6.22-14-386'':File exists run-parts: /etc/kernel/postrm.d/ltsp-update-kernels exited with return code 1 Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/tmp.ci/postrm line 320. dpkg: error processing /var/cache/apt/archives/linux-image-2.6.22-14-386_2.6.22-14.52_i386.deb (--unpack): subprocess new post-removal script returned error exit status 1 Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/ltsp-update-kernels Cannot open ``/boot/nbi.img-2.6.22-14-386'':File exists run-parts: /etc/kernel/postrm.d/ltsp-update-kernels exited with return code 1 Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/tmp.ci/postrm line 320. dpkg: error while cleaning up: subprocess post-removal script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/linux-image-2.6.22-14-386_2.6.22-14.52_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) root@mark-desktop:/# sudo apt-get install x11vnc Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libavahi-client3 libavahi-common-data libavahi-common3 libvncserver0 Suggested packages: libvncserver0-dbg The following NEW packages will be installed: libavahi-client3 libavahi-common-data libavahi-common3 libvncserver0 x11vnc 0 upgraded, 5 newly installed, 0 to remove and 19 not upgraded. 6 not fully installed or removed. Need to get 0B/19.6MB of archives. After unpacking 2355kB of additional disk space will be used. Do you want to continue [Y/n]? y Can not write log, openpty() failed (/dev/pts not mounted?) (Reading database ... 16356 files and directories currently installed.) Preparing to replace linux-image-2.6.22-14-386 2.6.22-14.46 (using .../linux-image-2.6.22-14-386_2.6.22-14.46_i386.deb) ... Done. Unpacking replacement linux-image-2.6.22-14-386 ... Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/ltsp-update-kernels Cannot open ``/boot/nbi.img-2.6.22-14-386'':File exists run-parts: /etc/kernel/postrm.d/ltsp-update-kernels exited with return code 1 Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-2.6.22-14-386.postrm line 320. dpkg: warning - old post-removal script returned error exit status 1 dpkg - trying script from the new package instead ... Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/ltsp-update-kernels Cannot open ``/boot/nbi.img-2.6.22-14-386'':File exists run-parts: /etc/kernel/postrm.d/ltsp-update-kernels exited with return code 1 Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/tmp.ci/postrm line 320. dpkg: error processing /var/cache/apt/archives/linux-image-2.6.22-14-386_2.6.22-14.46_i386.deb (--unpack): subprocess new post-removal script returned error exit status 1 Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/ltsp-update-kernels Cannot open ``/boot/nbi.img-2.6.22-14-386'':File exists run-parts: /etc/kernel/postrm.d/ltsp-update-kernels exited with return code 1 Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/tmp.ci/postrm line 320. dpkg: error while cleaning up: subprocess post-removal script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/linux-image-2.6.22-14-386_2.6.22-14.46_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Any ideas why i am getting this? I tried using this command before doing the process as it describes in the edubuntu manual. mount -t proc proc /proc the same thing happens no matter. I would appreciate any help, guidance certainly is "thin" on the ground for thin clients. :-) Thanks. |
|
|
|
|
|
#13 | |
|
Master
![]() Join Date: Jan 2002
Posts: 1,717
Rep Power: 10
![]() |
Quote:
For some reason this is now happing with gusty...not sure about feisty. It seems to be fixed in Hardy....Hardy is making things a lot easier. In hardy you no longer need to do mount --bind /dev /opt/ltsp/i386/dev mount -t proc none /opt/ltsp/i386/proc manualy. I think to install the vnc package you want you need todo both mounts. As of the moment..I would sugest just doing apt-get update, and install what you need to...seems the upgrade is broke now. If your using gusty I would also sugest doing a sudo ltsp-update-image after the packages have been installed. Once you have x11vnc on the client try to run it manualy vncviewer xxx.xxx.x.xxx:0 If it opens you should be good to go. Oh and dont forget to do this part. Edit /opt/ltsp/i386/etc/rc.local Sudo gedit /opt/ltsp/i386/etc/rc.local Add the following line before the exit 0 statement in this file and save it: x11vnc -display :6 -forever -loop -shared & <---the shared is new...not sure what it does.but I have tested it on gusty. Gusty needs this as well. Let me know how you make out. BTW you may need to rebuild your thinclient. Start clean may be the best way to do it. Just delete the i386 folder /opt/ltsp/i386. once gone do the sudo ltsp-build-client, copy the source list, Then do sudo mount --bind /dev /opt/ltsp/i386/dev mount -t proc none /opt/ltsp/i386/proc then chroot /opt/ltsp/i386 do apt-get update apt-get install x11vnc tor |
|
|
|
|
|
|
#14 |
|
Newcomer
Join Date: Feb 2008
Posts: 8
Rep Power: 0
![]() |
Thanks a lot for responding. I am using gutsy, sorry I didn't mention it. Your advice sorted out the problem of the package not installing, it all went correctly with no error messages, but first I had to rebuild the client as you suspected.
Originally when I tried, vncviewer 192.168.0.250:0 came up with "unable to connect to host: Connection refused (111)" However, the next day when I turned on my computer, the vncviewer 192.168.0.250:0 command worked perfectly. I have no idea why it changed, but the main thing is that it works now. The only thing I have tried to use on my thin client that doesn't work correctly is Skype, which plays all its sound at the server, but this appears unavoidable for the foreseeable future: https://developer.skype.com/jira/browse/SCL-271 Thankyou for your time, Bazz. ![]() Although Skype doesn't like it, Wengophone seems very happy to work from a thin client. Last edited by russell_nash : 18-February-2008 at 20:22. |
|
|
|
|
|
#15 | |
|
Master
![]() Join Date: Jan 2002
Posts: 1,717
Rep Power: 10
![]() |
Quote:
Yes I should have told you to reboot. That normaly does the trick! The reason for it working is when you do this Edit /opt/ltsp/i386/etc/rc.local Sudo gedit /opt/ltsp/i386/etc/rc.local Add the following line before the exit 0 statement in this file and save it: x11vnc -display :6 -forever -loop -shared & Sudo chroot cd /etc/rc2.d mv K99rc.local S99rc.local exit it is making vnc start at boot. Oh one last note. Anytime you make a change to the client, no matter how small it is you should always do a ltsp-update-image For exampe I set a password in my client, and I could not logon at all. It was only when I remembered I never updated the image, that I got it to work. All I had to do was sudo ltsp-update-image and I could then logon. Last edited by bazz : 04-March-2008 at 17:07. |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|