Roland Giesler | 19 May 2013 23:51
Gravatar

How to force Ubuntu to use NBD and not NFS

I have an Ubuntu 64bit server (12.04) with a Debian Wheezy i386 chroot.

Installation was done from a Server-CD, then I added ltsp-server-standalone, removed isc-dhcp-server and added dnsmasq.  The client boots, but gets to 

Begin: Mounting root filesystem  Begin: Running script/nfs-top, done
...
Begin: Running scripts/nfs-premount   done

Connect: Connection refused
read: Connection refused

This is of course an attempt to connect to a NFS export, not NBD.

ltsp-update-image is supposed to enable NBD when building the image, but doesn't do so.

How do I check that NBD is enabled and where should the changes be made?

thanks

Roland
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_____________________________________________________________________
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
charles mccrea | 19 May 2013 09:14
Picon

Questions regarding setup when using LTSP from Raspberry Pi

Hello,

I'll be using a Raspberry Pi to connect to an LTSP server.  From this LTSP Server session I want to rdesktop directly to a Virtual Machine.

Since the Raspberry Pi doesn't use PXE boot, I'm using a distro called BerryTerminal which hard codes the IP of the LTSP Server.  I can confirm that I can successfully connect to my LTSP server login and Desktop from my Pi.

I have three questions for this group relating to how I want to use LTSP:

1.  Since I'm not using PXE boot, I don't need a DHCP server running on my LTSP server.  I've installed ltsp standalone on top of Ubuntu 12.04.  What is the instruction to remove the DHCP server that will not harm the rest of the LTSP components.

2. Do I still need two network ports on my LTSP server now that I'm not using a DHCP to help my Raspberry Pi to connect.

3. How do I rdesktop upon my immediate login to the LTSP session?  

Thank you for your assistance.
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_____________________________________________________________________
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
Sam Kim | 13 May 2013 22:03
Picon
Favicon

AUTO: Sam Kim is out of the office (returning 05/20/2013)

I am out of the office until 05/20/2013.




Note: This is an automated response to your message  "Re: [Ltsp-discuss] "The login keyring did not get unlocked..."" sent on 5/13/2013 2:52:41 PM.

This is the only notification you will receive while this person is away.

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_____________________________________________________________________
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
sp113438 | 9 May 2013 22:13
Picon
Favicon

upgrade problem Debian wheezy

After running 
ltsp-build-client --arch i386 
on my updated (from squeeze to wheezy) server the client gives messages:

Failed to create secure directory: Read-only file system
And:
[FAIL] startpar: services returned failure: exim ltsp-client-core.

I get a login prompt on tty1, but cannot login. No graphical
login-screen is displayed.

Any ideas?
Thanks!

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_____________________________________________________________________
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

Jigish Gohil | 9 May 2013 10:46
Favicon
Gravatar

Announcing the release of openSUSE Edu Li-f-e 12.3-1

Hello Community

openSUSE Education Team is proud to present Li-f-e (Linux for
Education) 12.3-1, this first release is based on openSUSE 12.3 with
all the official updates applied.

Get it from here: http://bit.ly/get-Li-f-e

Li-f-e incorporates latest stable versions of all popular desktop
environments such as KDE, Gnome and Cinnamon, it includes wide range of
software catering to the needs of everyone, selection from openSUSE
Education repository, multimedia from the Packman repository,
development tools, KIWI-LTSP allowing normal PC or diskless thin
clients to network boot from a server running Li-f-e and lot more.

To summarize, everything you need to make your computer useful is
available right out of the box as soon as Li-f-e is installed on it.

Have a lot of fun...

 Your openSUSE Education Team

PS: have a look at the full announcement on http://bit.ly/Life-1231

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_____________________________________________________________________
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

Roland Giesler | 6 May 2013 19:12
Gravatar

Debian chroot for Ubuntu Server

I used a Debian Wheezy server I created in a VM over the weekend to build a chroot i386 for my Ubuntu server.  ("ltsp-build-client -a i386")

Then I copied /opt/ltsp/i386 from the Wheezy VM to /opt/ltsp/i386 on Ubuntu Precise.  (I tarred the directory, copied it over and untarred it again)  Then ran "ltsp-update-image -a i386".  

Now my Thin Client boots Wheezy, but drops to a debian command prompt, not connecting to the LTSP server OS.

Clearly my lack of experience is thwarting me here.  

What am I doing wrong?

In /var/lib/tftpboot/ltsp/i386/lts.conf I have

[default]
    SOUND=True
    SCREEN_02=shell
    SCREEN_03=shell
    SCREEN_04=shell
    SCREEN_05=shell
    SCREEN_06=shell
    SCREEN_07=ldm
    LDM_DIRECTX=True
    LDM_SYSLOG=True


Roland
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_____________________________________________________________________
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
Paul Mulroney | 29 Apr 2013 03:18
Picon
Gravatar

Re: ltsp-build-client fails on CentOS 6.4

Hi Santiago,

Thanks for your email.  How do I make sure that I'm using the EPEL repo?

I made another attempt at a setup from scratch.  I'm using Cent OS 6.4, 32 bit version (because of some
restrictions on the software that's going to run on it)

The instructions (http://wiki.ltsp.org/wiki/Category:Fedora) say to do the following:

> rpm --import http://ltsprepo.s3.amazonaws.com/rpm/RPM-GPG-KEY-ltsp
> rpm -Uvh http://ltsprepo.s3.amazonaws.com/rpm/el6/x86_64/ltsp-release-5-9.el6.noarch.rpm
> yum install ltsp-server
> Edit config files in /etc/ltsp/
> ltsp-build-client

when I get to the "yum install ltsp-server" part, yum fails with the following error:

> warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
> Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ltsp
> 
> 
> The GPG keys listed for the "LTSP - i386" repository are already installed but they are not correct for this package.
> Check that the correct key URLs are configured for this repository.

I suspect that's because I'm using the 32 bit version and not the 64 bit - the ltsprepo seems to be for 64 bit.  I
made a guess that there would be a 32 bit version and tried the following:

> rpm -Uvh http://ltsprepo.s3.amazonaws.com/rpm/el6/i686/ltsp-release-5-9.el6.noarch.rpm
> yum install ltsp-server

But I get the same error.

I was able to get the ltsp-server installed by installing the EPEL repo first:

> rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
> yum install ltsp-server

But then I got the same error as I was getting last time with the ltsp-build-client:

> [root <at> testbox ltsp]# ltsp-build-client
> 
> Error encountered running command: setarch i686 /usr/bin/mock -r epel-6-i386              --target=i686
--configdir=/etc/ltsp/mock --arch=i686 --chroot rm /var/lib/rpm/__db.001 /var/lib/rpm/__db.002
/var/lib/rpm/__db.003 /var/lib/rpm/__db.004
> check /opt/ltsp/mock/epel-6-i386/result/root.log for more
> detailed information

> [root <at> testbox ~]# uname -a
> Linux testbox.localdomain 2.6.32-358.6.1.el6.i686 #1 SMP Tue Apr 23 18:13:20 UTC 2013 i686 i686 i386 GNU/Linux

Thanks in advance!

Regards,
Paul.

On 26/04/2013, at 11:05 PM,
ltsp-discuss-request@... wrote:

> Message: 2
> Date: Tue, 23 Apr 2013 13:19:44 -0300 (UYT)
> From: Santiago Mera <santiago.mera@...>
> Subject: Re: [Ltsp-discuss] ltsp-build-client fails on CentOS 6.4
> To: ltsp-discuss@...
> Message-ID: <400621604.11148.1366733984526.JavaMail.root@...>
> Content-Type: text/plain; charset="utf-8"
> 
> Hello Paul, 
> I am also running LTSP on CentOS 6.4 and had some problems with mock. 
> 
> It finally came down to the version of mock I was using. For some reason I had mock installed from the
rpmforge repo (v 1.1.11) instead of using the EPEL repo (v 1.1.28). 
> After making sure I was using mock from the EPEL repo everything worked ok. 
> 
> Hope this helps. 
> 
>> I recently did a software update on our client's LTSP setup, and something in the software update broke
the LTSP configuration. In trying to step through the whole issue, one of the big problems is that the
ltsp-build-client terminates abnormally with an error. It appears that ltsp-build-client uses the
"mock" command, and this uses a configuration file in /etc/ltsp/mock/fedora-18-i386.cfg.cfg, and it
appears to be missing some lines or something and won't parse properly in python. 
>> 
>> I setup a clean CentOS 6.4 system from scratch and was able to replicate the problem, so I don't think it's a
matter of old config files or whatever. 
>> 
>> Firstly, who's the best person to report this to? 
>> 
>> Secondly, has anyone else had this issue that can shed some light on it? 

Did you know Adam and Eve had the ideal marriage - he didn’t have to hear about all the other men she could
have married, and she didn’t have to hear about the way his mother cooked!
--

-- 
Paul W. Mulroney                                                    Logical Developments
pmulroney@...         86 Coolgardie Street
www.logicaldevelopments.com.au                      BENTLEY  WA  6102
Ph: +61 8 9458 3889                                              Fax: +61 8 9458 2169   

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_____________________________________________________________________
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

pierre bertin | 28 Apr 2013 22:37
Picon
Favicon

Some questions about LTSP-pnp

Hello,

I test ltsp-pnp virtualized on Proxmox,
Everything goes well in general, but I have some questions:

1) On dnsmasq
There is another dhcp server/bind on the network, so I've just turned it in the /etc/dnsmasq.d/ltsp-server-dnsmasq.conf
This works, but is this correct?
     pxe-service = X86PC, "Boot from network" / ltsp/i386/pxelinux
     enable-tftp
     tftp-root = / var / lib / tftpboot /
     port = 0

2) how to turn off hard disks customers
I changed LOCALDEV_DENY_INTERNAL_DISKS = True in /var/lib/tftpboot/ltsp/i386/lts.conf but we always
see the hard disk

3)Is there any documentation other than https://help.ubuntu.com/community/UbuntuLTSP/ltsp-pnp who
explains the differences between ltsp-standart and ltsp-pnp

Regards

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_____________________________________________________________________
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

Thomas Boehm | 26 Apr 2013 19:56

"The login keyring did not get unlocked..."

Hello again ;-)

after hours of googling I'm non the wiser where the problem lies. When a
user logs in on a client, the login keyring does not get automatically
unlocked. It works fine when the same user logs in on the LTSP server
itself. I tried different flavours of fat-client-desktop
(ubuntu-desktop, lxde, kde-desktop, etc.) and also a different newly
installed server.

The keyring password is the same as the login password, the login
keyring is set as default in seahorse and libpam-gnome-keyring is
installed by default.

root <at> ltsp:/opt/ltsp/lxde/etc/pam.d# ls -la
total 96
drwxr-xr-x  2 root root 4096 Apr 26 15:10 .
drwxr-xr-x 97 root root 4096 Apr 26 17:04 ..
-rw-rw-r--  1 root root  197 Jun 25  2011 atd
-rw-r--r--  1 root root  384 Apr  9  2012 chfn
-rw-r--r--  1 root root   92 Apr  9  2012 chpasswd
-rw-r--r--  1 root root  581 Apr  9  2012 chsh
-rw-r--r--  1 root root 1208 Apr 26 15:07 common-account
-rw-r--r--  1 root root 1249 Apr 26 15:07 common-auth
-rw-r--r--  1 root root 1480 Apr 26 15:07 common-password
-rw-r--r--  1 root root 1482 Apr 26 15:07 common-session
-rw-r--r--  1 root root 1435 Apr 26 15:07 common-session-noninteractive
-rw-r--r--  1 root root  527 Apr  2  2012 cron
-rw-r--r--  1 root root 4585 Apr  9  2012 login
-rw-r--r--  1 root root  688 Apr 26 18:04 lxdm
-rw-r--r--  1 root root   92 Apr  9  2012 newusers
-rw-r--r--  1 root root  520 Feb  9  2012 other
-rw-r--r--  1 root root   92 Apr  9  2012 passwd
-rw-r--r--  1 root root  255 May 17  2012 polkit-1
-rw-r--r--  1 root root  168 Feb  4  2011 ppp
-rw-r--r--  1 root root   84 Jun  8  2012 samba
-rw-r--r--  1 root root 2305 Apr  9  2012 su
-rw-r--r--  1 root root  239 Feb 27 20:32 sudo
-rw-r--r--  1 root root  108 Jan 30  2012 xscreensaver

root <at> ltsp:/opt/ltsp/lxde/etc/pam.d# cat lxdm
#%PAM-1.0
auth    requisite       pam_nologin.so
auth    required        pam_env.so readenv=1
auth    required        pam_env.so readenv=1 envfile=/etc/default/locale
auth    sufficient      pam_succeed_if.so user ingroup nopasswdlogin
 <at> include common-auth
auth    optional        pam_gnome_keyring.so
 <at> include common-account
session [success=ok ignore=ignore module_unknown=ignore default=bad]
pam_selinux.so close
session required        pam_limits.so
 <at> include common-session-noninteractive
session [success=ok ignore=ignore module_unknown=ignore default=bad]
pam_selinux.so open
session optional        pam_gnome_keyring.so auto_start
 <at> include common-password

How can I solve this problem? Please no suggestion like setting a blank
password for the keyring, which is the accepted answer in so many web
forums...

Thanks for your help

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_____________________________________________________________________
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

Thomas Boehm | 25 Apr 2013 15:30

wrong lts.conf used with more than one chroot

Hello list,

I setup two different chroots i386 and fatclient2. When I boot
fatclient2, the lts.conf for fatclient2 is ignored and instead the
lts.conf in the directory i386 is used. Where does LTSP get this
information from, is it hard coded in somewhere?

In case it matters, I'm using dnsmasq because my router (and DHCP
server) doesn't support "next-server". I tried two different
configurations, first

-------------------------------------------------------------------
/etc/dnsmasq.conf:
...
tftp-root=/var/lib/tftpboot
pxe-service=X86PC, "Fatclient2", /ltsp/fatclient/pxelinux
...
-------------------------------------------------------------------

and also

-------------------------------------------------------------------
/etc/dnsmasq.conf:
...
tftp-root=/var/lib/tftpboot
pxe-service=X86PC, "Fatclient2", /pxelinux
...

/var/lib/tftpboot/pxelinux.cfg/default:
default fatclient2
label fatclient2
kernel ltsp/fatclient2/vmlinuz
append ro initrd=ltsp/fatclient2/initrd.img root=/dev/nbd0
init=/sbin/init-ltsp plymouth:force-splash vt.handoff=7
nbdroot=:ltsp_fatclient2
ipappend 3
-------------------------------------------------------------------

I prefer the second configuration, as it works around the bug(?) of the
disappearing "ipappend 3" line on every ltsp-update-image and it's
easier to setup which client boots which chroot by default

How do I solve this problem.

Thanks
Thomas

P.S. Is the a downloadable mbox file of the mailing list archive
available? I prefer do read it offline...

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_____________________________________________________________________
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

pierre bertin | 23 Apr 2013 20:05
Picon
Favicon

How have the functionality of ltsp-pnp on ltsp-server

Hello,

we use 2 server ltsp-server (not standalone) for several years to ten light post in the company. (they are on ubuntu)
however, we have a recurring problem that we can not solve the usb devices, which must be quite complicated manipulations:
- Cameras canon (the card works only in fat 16) one is forced to use a card reader
- The android phones (Samsung brand) that can not connect (just the external card with a card reader)
- Especially a screen calibrator colormunky to calibrate the screen I have to boot from a live usb, screen size and save profiles on a server and then start the ltsp client and add profiles

These devices are used several times a day (apart the screen calibration occasionally)

So, I redo the reverse route: install some computer hard on setting up accounts, software, printers, shares, .... (galley)

I try ltsp-pnp and all works perfectly at the usb devices, but I can not configure the way I want with several ltsp servers, external dhcp server ... (there is not much documentation ltsp-pnp)

Do you think it is possible to have the functionality of a ltsp-pn on  ltsp-sever for usb devices ?

Thank you for your advice (sorry for grammar and spelling, I hardly speak English)
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_____________________________________________________________________
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

Gmane