Now, I moved the mount-point (from /mnt/home2) to /home2 and add the following line in /etc/ltsp/ltsp-update-image.excludes: home2/*
The good news is that the mount-point is now visible also at the client side. However, the symlinks still do not work because nothing is mounted to /home2 yet. I've tried to get more information about the parameter LOCAL_APPS_EXTRAMOUNTS=/home2 ...and found a link which explains that the extra mount (=/home2) will be mounted (to the client) only if the mountpoint in the chroot (=server) is empty ... which means that the idea of the parameter LOCAL_APPS_EXTRAMOUNTS is to share the same (empty) folder to several clients (e.g. for file exchange ...?) (see https://help.ubuntu.com/community/UbuntuLTSP/FatClients) Since my folder /home2 contains subfolders of all users (containing their Virtualbox stuff) the above mentioned approach will not help. For that reason I will try to implement Helmuts idea, which might take some time. Further comments are welcome ... Truth On 21.01.2016 16:24, Truth wrote: > to Vlaltteri: > -------------- > As you can see from the previous post I see the home directory mounted > via sshfs. > > The server has multiple users which I want to distribute to several clients. > The login screen on the client shows a prompt for user-name (and later > for the password). > (I'm not sure if this is what you want to know.) > However, I'm able to login for different users. > > I've tried LOCAL_APPS_EXTRAMOUNTS=/mnt/home2 > which sounds really promising. > Unfortunately, the additional mount-point is not visible after a reboot > of the client (and the server). > Do I have to rebuilt the image first? > > The symlinks within /home/truth are visible also on the client side. > However, the symlinks point to a mount-point which does not exist, e.g.: > VirtualBox VMs -> /mnt/home2/truth/ > > Any further suggestions? > > > to Helmut: > ------------- > As far as I understand LTSP is able to use nbd or nfs - however, running > LTSP-PNP on kernel 4.3 seems to allows only nbd > (seehttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=786925) > > Nevertheless, even if nfs would be possible I would prefer to not mix to > many filesystems. > For that reason I would prefer to first follow Vlatteris approach ... > > > Truth > > > > On 21.01.2016 13:56, Valtteri Suojanen wrote: >> can you see any home directory ( most of it) after logging in to the >> desktop session? session is served default from the boot/ltsp server. >> you should get the home/user mounted from ltsp server without changing >> anything. home directory is mounted with sshfs >> >> how do you use this ltsp server? is the setup built for multiple users >> or just one user/you? >> >> keep in mind that consideration how your server is used and >> Check lts.conf manpaged and try: >> >> a) LOCAL_APPS_EXTRAMOUNTS=/mnt/home2 >> or >> b)just create the symlinks in the home directory and test login from >> client (check from manpage SSH_FOLLOW_SYMLINKS) >> >> or if nfs mount sounds ok >> c) check NFS_HOME (is it depricated?). maybe search here in >> ltsp-discuss how FSTAB has been used to do nfs mounts >> >> Best regards >> Valtteri Suojanen >> >> 21.1.2016 13.09 "Truth" <tru...@gmx.de <mailto:tru...@gmx.de>> kirjoitti: >> >> On 21.01.2016 11:16, Truth wrote: >> > On 21.01.2016 05:15, Vagrant Cascadian wrote: >> >> On 2016-01-20, Truth wrote: >> >>> While everything was fine with my test-setup using Debian 8.2 >> (i386, >> >>> linux-3.16) ... >> >>> I tried to install the same ltsp-pnp server on Debian 8.2 (using >> >>> linux-4.3 from the backports). >> >> You'll need the backported LTSP packages from jessie-backports, >> and may >> >> as well get updated LDM packages while you're at it. >> >> >> >> >> >>> I tried to create an image with the command >> >>> ltsp-update-image --cleanup / >> >>> >> >>> and get the following error message: >> >>> modprobe: FATAL: Module overlayfs not found. >> >>> modprobe: FATAL: Module aufs not found. >> >>> No overlayfs or aufs support detected >> >>> >> >>> (I did not have this problem with linux-3.16.) >> >>> >> >>> Does someone has an idea what's wrong? >> >> The issue is that 4.x kernels in jessie-backports don't have aufs >> >> support, and the version of LTSP you are using doesn't have >> support for >> >> the overlay fs included in the 4.x kernels (not to be confused with >> >> overlayfs, which was shipped with ubuntu, but behaved somewhat >> >> differently). >> >> >> >> The newer versions of LTSP fix this issue, although required >> switching >> >> to NBD rather than NFS, as overlay fs is incompatible: >> >> >> >>https://bugs.debian.org/786925 >> >> >> >> >> >> live well, >> >> vagrant >> > Thanks for your input. >> > I've installed ltsp-server-standalone and ltsp-client from the >> > backports (ldm was already the latest version). >> > Nevertheless, on a first try I've got the same error message. >> > >> > I've tried several things and finally ltsp was running. >> > I'm not quite sure what exactly made the difference but it could >> be that >> > apt-get -t jessie-backports upgrade >> > >> > ... solved the problem. >> > >> > Now, when running ltsp-update-image --cleanup / >> > I get a nice image and (almost) everything is fine. >> > >> > However, is there a way to make an image including symlinks? >> > Some parts of my home-directory (e.g. some virtualbox stuff) is >> located >> > in a separate partition which is mounted to /mnt/home2 and I use >> > symlinks to connect to this mount. >> > >> > Many thanks in advance. >> > Truth >> >> I've just realized that the home-directory can not be part of the >> image. >> However, I guess that I need to modify a config-file (how?) to >> solve my >> problem ... >> >> Truth >> >> >> ------------------------------------------------------------------------------ >> Site24x7 APM Insight: Get Deep Visibility into Application Performance >> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month >> Monitor end-to-end web transactions and take corrective actions now >> Troubleshoot faster and improve end-user experience. Signup Now! >> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 >> _____________________________________________________________________ >> 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 >> <http://irc.freenode.net> >> >> >> >> ------------------------------------------------------------------------------ >> Site24x7 APM Insight: Get Deep Visibility into Application Performance >> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month >> Monitor end-to-end web transactions and take corrective actions now >> Troubleshoot faster and improve end-user experience. Signup Now! >> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 >> >> >> _____________________________________________________________________ >> 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 > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _____________________________________________________________________ > 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 > ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _____________________________________________________________________ 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