{"id":1585,"date":"2013-10-30T23:55:11","date_gmt":"2013-10-30T21:55:11","guid":{"rendered":"http:\/\/blog.cipworx.org\/laserman\/?p=1585"},"modified":"2013-11-06T18:27:56","modified_gmt":"2013-11-06T16:27:56","slug":"testing-ltsp-epoptes-with-virtualbox","status":"publish","type":"post","link":"https:\/\/blog.cipworx.org\/laserman\/2013\/10\/30\/testing-ltsp-epoptes-with-virtualbox\/","title":{"rendered":"Testing LTSP &#038; Epoptes with VirtualBox"},"content":{"rendered":"<p><strong>Virtual Box<\/strong><br \/>\n(Version 4.1.12)<\/p>\n<p><strong>virtueller LTSP Server:<\/strong><br \/>\nLinux Mint 13<br \/>\n20GB Festplatte<br \/>\n128MB Grafikspeicher<br \/>\n4GB RAM, 4 Prozessoren<br \/>\nNetzwerk:<br \/>\nAdapter 1: NAT  &#8211; Zugang zum Internet, dhcp-client, IP: 10.0.2.15<br \/>\nAdapter 2: Internes Netzwerk, &#8216;intnet&#8217; &#8211; virtuelles LAN f\u00fcr die Terminals<\/p>\n<p><strong>virtuelle Terminals:<\/strong><br \/>\nkeine Festplatte<br \/>\n256MB RAM, 1 CPU<br \/>\nBootreihenfolge: Netzwerk,<br \/>\nNetzwerk:<br \/>\nAdapter 1: Internes Netzwerk, &#8216;intnet&#8217;<\/p>\n<p>(eins erzeugen, testen, dann klonen)<\/p>\n<p><strong>LTSP Server<\/strong><br \/>\napt-get install ltsp-server-standalone   <em>(5.3.7)<\/em><br \/>\ncp -R \/usr\/share\/ltsp\/plugins\/ltsp-build-client\/Ubuntu \/usr\/share\/ltsp\/plugins\/ltsp-build-client\/LinuxMint<br \/>\nln -s \/usr\/share\/debootstrap\/scripts\/gutsy \/usr\/share\/debootstrap\/scripts\/maya<br \/>\nsed -i &#8216;s\/DIST=${DIST:-&#8220;$(lsb_release -s -c)&#8221;}\/DIST=${DIST:-&#8220;precise&#8221;}\/&#8217; &#8220;\/usr\/share\/ltsp\/plugins\/ltsp-build-client\/LinuxMint\/000-basic-configuration&#8221;<br \/>\nln -s \/usr\/share\/ltsp\/plugins\/ltsp-build-client\/Debian-functions \/usr\/share\/ltsp\/plugins\/ltsp-build-client\/LinuxMint-functions<br \/>\nltsp-build-client &#8211;arch i386<\/p>\n<p>\/etc\/ltsp\/dhcpd.conf   <em> &#8211; unver\u00e4ndert<\/em><\/p>\n<p>apt-get remove network-manager<\/p>\n<p>\/etc\/network\/interfaces: <\/p>\n<blockquote><p>auto lo<br \/>\niface lo inet loopback<\/p>\n<p>auto eth0<br \/>\nallow-hotplug eth0<br \/>\niface eth0 inet dhcp<\/p>\n<p>auto eth1<br \/>\niface eth1 inet static<br \/>\n    address 192.168.0.1<br \/>\n    netmask 255.255.255.0\n<\/p><\/blockquote>\n<p>service networking restart<br \/>\nservice isc-dhcp-server restart<\/p>\n<p>\/var\/lib\/tftpboot\/ltsp\/i386\/lts.conf :<\/p>\n<blockquote><p>[Default]<br \/>\n\tLDM_GUESTLOGIN=True<br \/>\n\t#LDM_DIRECTX=True<br \/>\n\tLDM_PASSWORD=secret<\/p>\n<p>#[ltsp20]\n<\/p><\/blockquote>\n<p><a href=\"http:\/\/manpages.ubuntu.com\/manpages\/precise\/man5\/lts.conf.5.html\" title=\"http:\/\/manpages.ubuntu.com\/manpages\/precise\/man5\/lts.conf.5.html\">http:\/\/manpages.ubuntu.com\/manpages\/precise\/man5\/lts.conf.5.html<\/a><\/p>\n<p>n\u00fctzlich f\u00fcr LDM_AUTOLOGIN : <a href=\"\/usr\/share\/doc\/ltsp-server\/examples\/ltsp-shutdown.desktop\" title=\"ltsp-shutdown.desktop\">ltsp-shutdown.desktop<\/a><\/p>\n<p>LDM_GUESTLOGIN \u00e4hnlich ist wie LDM_AUTOLOGIN aber mit der zus\u00e4tzlichen M\u00f6glichkeit sich mit seinem eingnem Namen anzumelden.<br \/>\nDefault username ist der Name des Terminals (ltsp20,ltsp21, &#8230;)<\/p>\n<p>\/home\/ltsp20 usw. werde nicht automatisch aufger\u00e4umt.<br \/>\nEine L\u00f6sung daf\u00fcr:<br \/>\n<a href=\"http:\/\/sourceforge.net\/mailarchive\/message.php?msg_id=27814821\" title=\"clean the $HOME\">[Ltsp-discuss] Guest sessions<\/a><\/p>\n<p>Create \/opt\/ltsp\/i386\/usr\/share\/ldm\/rc.d\/S00-guest-sessions, with the<br \/>\nfollowing contents:<\/p>\n<blockquote><p>\ncase &#8220;$LDM_USERNAME&#8221; in<br \/>\n    guest*)<br \/>\n        ssh -S &#8220;$LDM_SOCKET&#8221; &#8220;$LDM_SERVER&#8221; &#8216;cd; rm -rf .* *; rsync -a \/etc\/skel\/ .&#8217;<br \/>\n        ;;<br \/>\nesac\n<\/p><\/blockquote>\n<p>Save and run `sudo ltsp-update-image`, if you&#8217;re using NBD.<\/p>\n<p>That&#8217;s it, now all user accounts where the username starts with<br \/>\n&#8220;guest*&#8221;, will have their documents and settings erased on login.<\/p>\n<p><em>alkisg: Although that rm -rf should really be find . -delete<\/em><\/p>\n<p>adduser ltsp20<br \/>\nadduser ltsp21<br \/>\n&#8230;   (Passwort: secret)<\/p>\n<p><strong>epoptes<\/strong><br \/>\n(Version 0.5.5)<br \/>\n<a href=\"http:\/\/www.epoptes.org\/\" title=\"www.epoptes.org\">www.epoptes.org<\/a><\/p>\n<p>apt-get install epoptes<br \/>\ngpasswd -a lehrer epoptes<\/p>\n<p><a href=\"http:\/\/bazaar.launchpad.net\/~epoptes\/epoptes\/trunk\/revision\/398\" title=\"fix\">fix for Mate Desktop logout<\/a><br \/>\ncd \/home\/lehrer\/Downloads\/~epoptes\/epoptes\/trunk\/epoptes-client\/<br \/>\ncp endsession \/usr\/share\/epoptes-client<br \/>\ncp endsession \/opt\/ltsp\/i386\/usr\/share\/epoptes-client<\/p>\n<p>cp \/etc\/resolv.conf \/opt\/ltsp\/i386\/etc\/<br \/>\nltsp-chroot passwd<br \/>\nltsp-chroot apt-get install openssh-server epoptes-client<br \/>\nltsp-update-image -a i386<br \/>\nservice nbd-server restart<\/p>\n<p><strong>PXELINUX Boot Menu<\/strong><\/p>\n<p>cd \/var\/lib\/tftpboot\/ltsp\/i386\/<br \/>\ncp \/usr\/lib\/syslinux\/menu.c32 .<br \/>\ncd pxelinux.cfg<br \/>\nvi default<\/p>\n<blockquote><p>\n#default ltsp<br \/>\ndefault menu.c32<\/p>\n<p>MENU TITLE Titel<br \/>\ntimeout 300<\/p>\n<p>label ltsp<br \/>\n\tmenu default<br \/>\n\tmenu label Linux Terminal<br \/>\n\tkernel vmlinuz<br \/>\n\tappend ro initrd=initrd.img root=\/dev\/nbd0 init=\/sbin\/init-ltsp quiet splash plymouth:force-splash vt.handoff=7 nbdroot=:ltsp_i386 <\/p>\n<p>label xp<br \/>\n\tmenu label Windows XP (ohne Internet)<br \/>\n\tlocalboot 0\n<\/p><\/blockquote>\n<p><a href=\"http:\/\/www.syslinux.org\/wiki\/index.php\/Menu.c32\" title=\"http:\/\/www.syslinux.org\/wiki\/index.php\/Menu.c32\">http:\/\/www.syslinux.org\/wiki\/index.php\/Menu.c32<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Virtual Box (Version 4.1.12) virtueller LTSP Server: Linux Mint 13 20GB Festplatte 128MB Grafikspeicher 4GB RAM, 4 Prozessoren Netzwerk: Adapter 1: NAT &#8211; Zugang zum Internet, dhcp-client, IP: 10.0.2.15 Adapter 2: Internes Netzwerk, &#8216;intnet&#8217; &#8211; virtuelles LAN f\u00fcr die Terminals virtuelle Terminals: keine Festplatte 256MB RAM, 1 CPU Bootreihenfolge: Netzwerk, Netzwerk: Adapter 1: Internes Netzwerk, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,4,9],"tags":[],"class_list":["post-1585","post","type-post","status-publish","format-standard","hentry","category-debian","category-linux","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/posts\/1585","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/comments?post=1585"}],"version-history":[{"count":20,"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/posts\/1585\/revisions"}],"predecessor-version":[{"id":1603,"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/posts\/1585\/revisions\/1603"}],"wp:attachment":[{"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/media?parent=1585"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/categories?post=1585"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.cipworx.org\/laserman\/wp-json\/wp\/v2\/tags?post=1585"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}