Stéphane Graber | 1 Dec 2011 02:32
Favicon
Gravatar

Re: nbd service not configured in inetd.conf


On 11/30/2011 06:02 PM, David Burgess wrote:
> One thing that appears less friendly on Ubuntu 11.10 compared to 
> 11.04, each time I ltsp-update-image I get prompted to restart 
> nbd-server and then restart my clients (which of course means a
> hard reset if they lose their rootfs). As far as I can tell, this
> was never necessary under 11.04 and prior. Why the change? db

Oh, sorry for that, the message really isn't clear :)

You only need to restart nbd-server if the nbd server configuration
changes, so if for example you add a new image or change the name of
an image.

This doesn't happen during a simple update, so unless you just created
a new chroot, you don't actually need to restart nbd-server.

In newer version of the daemon, a config.d directory exists,
completely removing the need to restart nbd-server. Hopefully ltsp
will soon start to use that.

--

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
David Burgess | 1 Dec 2011 17:44
Picon

Re: nbd service not configured in inetd.conf

On Wed, Nov 30, 2011 at 6:32 PM, Stéphane Graber <stgraber <at> ubuntu.com> wrote:

> You only need to restart nbd-server if the nbd server configuration
> changes, so if for example you add a new image or change the name of
> an image.

Thank you for the clarification.

db

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_____________________________________________________________________
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
David Burgess | 1 Dec 2011 18:13
Picon

Re: rdesktop and resolution problems

On Wed, Nov 30, 2011 at 10:50 AM, Gideon Romm
<ltsp@...> wrote:

> ALSO specify the two that we used to add in by default (-f -u '').

-f is working for me, thanks.

On a related note, I'm not sure how to get the -u option working with
a null value. In prior versions of Ubuntu/LTSP I specified my domain
in rdesktop options with a -dDomain, and the client would connect to
the 2008R2 server with the username and password fields blank.

Now in Ubuntu 11.10 the server presents a logon screen with two icons,
"Domain/root" and "Other user". I suspect the now missing -u'' option
is making the difference, but I haven't succeeded in putting that
option back in. I've tried:

-u
-u'' (two single quotes
-u'''' (four single quotes)
-u ' '
-u \' \'
-u \" \"

All of the above result in a black screen with just a mouse pointer,
signifying a non-start for rdesktop.

This one:

 -u \" \" (double double)
(Continue reading)

Gideon Romm | 1 Dec 2011 18:18

Re: rdesktop and resolution problems

David,

Should be:

RDP_OPTIONS = "-f -u ''"

so, that's: -u<space><single-quote><single-quote>
most likely the double-quotes around the entire value are important.

-Gadi

On Thu, Dec 1, 2011 at 12:13 PM, David Burgess <apt.get@...> wrote:
> On Wed, Nov 30, 2011 at 10:50 AM, Gideon Romm
> <ltsp@...> wrote:
>
>> ALSO specify the two that we used to add in by default (-f -u '').
>
>
> -f is working for me, thanks.
>
> On a related note, I'm not sure how to get the -u option working with
> a null value. In prior versions of Ubuntu/LTSP I specified my domain
> in rdesktop options with a -dDomain, and the client would connect to
> the 2008R2 server with the username and password fields blank.
>
> Now in Ubuntu 11.10 the server presents a logon screen with two icons,
> "Domain/root" and "Other user". I suspect the now missing -u'' option
> is making the difference, but I haven't succeeded in putting that
> option back in. I've tried:
>
(Continue reading)

David Burgess | 1 Dec 2011 18:25
Picon

Re: rdesktop and resolution problems

On Thu, Dec 1, 2011 at 10:18 AM, Gideon Romm
<ltsp@...> wrote:
> David,
>
> Should be:
>
> RDP_OPTIONS = "-f -u ''"
>
> so, that's: -u<space><single-quote><single-quote>
> most likely the double-quotes around the entire value are important.

Right again. I was missing the space. Big thanks.

db

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_____________________________________________________________________
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

Raúl Alvarez | 2 Dec 2011 18:15
Picon

Printing

Hello, I am having problems printing in kiwi-ltsp5 under OpenSuSE 11.4.
I posted this same question in kiwi-ltsp-users, but could not solve it yet.
I'm not able to get printers working in my thinclients.
So far I tried usb an parallel interfaces.
The dmesg output in the clients contains:

[    1.833983] usb 5-1: New USB device found, idVendor=04b8, idProduct=0005
[    1.833989] usb 5-1: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[    1.833994] usb 5-1: Product: USB Printer
[    1.833998] usb 5-1: Manufacturer: EPSON
[    1.834052] usb 5-1: SerialNumber: L02021002040751300
[    1.853332] usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 
2 vid 0x04B8 pid 0x0005
[    1.853615] usbcore: registered new interface driver usblp
[    1.989174] checking generic (f0000000 7d0000) vs hw (f0000000 8000000)

So the printer is detected, but the jetdirect port (9100) does not open
I configured lts.conf the same way as several servers i work with that 
are using ltsp 4.2 with suse enterprise.

This is my lts.conf:

[default]
         LDM_SERVER = 130.100.37.254
         SOUND=False
         LOCALDEV_DENY_CD=True
         LOCALDEV_DENY_FLOPPY=True
         LOCALDEV_DENY_INTERNAL_DISKS=True

(Continue reading)

Raúl Alvarez | 5 Dec 2011 22:31
Picon

Fwd: Printing

I've been digging some more at the problem.
I tried to open the port manually using the jetpipe command in the client.
It gives me the following error:

linux <at> ws23:~> /usr/sbin/jetpipe /dev/usb/lp0 9100
Traceback (most recent call last):
  File "/usr/lib/python2.7/site.py", line 554, in <module>
    main()
  File "/usr/lib/python2.7/site.py", line 536, in main
    known_paths = addusersitepackages(known_paths)
  File "/usr/lib/python2.7/site.py", line 264, in addusersitepackages
    user_site = getusersitepackages()
  File "/usr/lib/python2.7/site.py", line 239, in getusersitepackages
    user_base = getuserbase() # this will also set USER_BASE
  File "/usr/lib/python2.7/site.py", line 229, in getuserbase
    USER_BASE = get_config_var('userbase')
  File "/usr/lib/python2.7/sysconfig.py", line 518, in get_config_var
    return get_config_vars().get(name)
  File "/usr/lib/python2.7/sysconfig.py", line 421, in get_config_vars
    _init_posix(_CONFIG_VARS)
  File "/usr/lib/python2.7/sysconfig.py", line 285, in _init_posix
    raise IOError(msg)
IOError: invalid Python installation: unable to open /usr/include/python2.7/pyconfig.h (No such file or directory)


Apparently python is not installed, or maybe it is because i am not running the command as root user (btw, what is the default root password for the client?, or how do i set it?).
Looking at the config.xml file for the image creation script, the following python packages are installed.

                <package name="python"/>
                <package name="python-serial"/>
                <package name="gimp-plugins-python"/>
                <package name="rpm-python"/>

But in the client, if I try to find any python file, there isn't any.

I am starting to think there is a bug somewhere, but seems strange that nobody else is having the exact same problem, I suppose there is a lot of people printing with the same version I am using.
I've seen reports of similar problems, but running on ubuntu or debian.
I will try to rebuild the image, but since python is already installed, i don't see much use to it.


Any ideas?




-------- Original Message -------- Subject: Date: From: To:
Printing
Fri, 02 Dec 2011 14:15:34 -0300
Raúl Alvarez <raul.alvarez-+tMDpu0tkhShb/yakPa1tGcdMk5bPsZR@public.gmane.org>
ltsp-discuss-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org


Hello, I am having problems printing in kiwi-ltsp5 under OpenSuSE 11.4. I posted this same question in kiwi-ltsp-users, but could not solve it yet. I'm not able to get printers working in my thinclients. So far I tried usb an parallel interfaces. The dmesg output in the clients contains: [ 1.833983] usb 5-1: New USB device found, idVendor=04b8, idProduct=0005 [ 1.833989] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1.833994] usb 5-1: Product: USB Printer [ 1.833998] usb 5-1: Manufacturer: EPSON [ 1.834052] usb 5-1: SerialNumber: L02021002040751300 [ 1.853332] usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04B8 pid 0x0005 [ 1.853615] usbcore: registered new interface driver usblp [ 1.989174] checking generic (f0000000 7d0000) vs hw (f0000000 8000000) So the printer is detected, but the jetdirect port (9100) does not open I configured lts.conf the same way as several servers i work with that are using ltsp 4.2 with suse enterprise. This is my lts.conf: [default] LDM_SERVER = 130.100.37.254 SOUND=False LOCALDEV_DENY_CD=True LOCALDEV_DENY_FLOPPY=True LOCALDEV_DENY_INTERNAL_DISKS=True LDM_DIRECTX=True SERVER=130.100.37.254 SCREEN_07=ldm LOCAL_APPS=true LOCAL_APPS_MENU=True LOCAL_APPS_MENU_ITEMS=firefox,xterm LDM_NOMAD=false RDP_OPTIONS = "-f -a 16" RDP_SERVER=130.100.37.254 LDM_LIMIT_ONE_SESSION=True LDM_LIMIT_ONE_SESSION_PROMPT=True XkbSymbols = "es(pc105)" XkbModel = pc105 XkbLayout = es PRINTER_0_TYPE = U PRINTER_0_DEVICE = /dev/usb/lp0 Anybody can help? Thanks Raul
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_____________________________________________________________________
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
Sandra Schlichting | 6 Dec 2011 17:51
Picon
Gravatar

How does Unity perform on your thin-clients?

Hi everybody,

I have installed Ubuntu Alternate 11.10 64bit, and I assume that I
have to use Unity instead of Gnome 2.

Compared to Gnome 2, Unity is very resource demanding on the
thin-clients. The GPU on the thin-clients is an Intel GMA 950, and I
can see with "glxinfo | grep "direct rendering" in the thin-client
that it is enabled.

I have a feeling that the local GPU isn't really used for anything,
and everything is software rendered on the backend LTSP server.

I assume that Gnome 2 isn't an option any longer?

So I wonder, how Unity is performing for everyone else with thin-clients?

Hugs,
Sandra

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_____________________________________________________________________
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

Jay Goldberg | 6 Dec 2011 18:12
Picon
Gravatar

Re: How does Unity perform on your thin-clients?

No comment on actual usage because I'm on 10.04LTS.

I believe that 2D acceleration is provided over the network, the X11
protocol allows the apps (clients) to be drawn by the X server that
they are being displayed on (the thin client hardware). So the actual
window border draws etcetera are accelerated. 3D however is not, it's
bitmap transferred over the network to the thin client, so the result
is that Unity does require more CPU on the thin client to transfer
that data (things like shadows around windows).

It's unfortunate that eye-candy has been associated with "modern"
because a modern desktop should be quicker than the ones from the
past. In fact the whole idea of pretty graphics is diametrically
opposed to hot technologies like cloud computing, VDI, and
anywhere-access, even low-latency, high-bandwidth links are no savoir.

Regards,

On Tue, Dec 6, 2011 at 11:51 AM, Sandra Schlichting
<littlesandra88@...> wrote:
>
> Hi everybody,
>
> I have installed Ubuntu Alternate 11.10 64bit, and I assume that I
> have to use Unity instead of Gnome 2.
>
> Compared to Gnome 2, Unity is very resource demanding on the
> thin-clients. The GPU on the thin-clients is an Intel GMA 950, and I
> can see with "glxinfo | grep "direct rendering" in the thin-client
> that it is enabled.
>
> I have a feeling that the local GPU isn't really used for anything,
> and everything is software rendered on the backend LTSP server.
>
> I assume that Gnome 2 isn't an option any longer?
>
> So I wonder, how Unity is performing for everyone else with thin-clients?
>
> Hugs,
> Sandra
>
--
Jay Goldberg

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_____________________________________________________________________
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

Michael Pope | 6 Dec 2011 23:33
Picon
Gravatar

Re: How does Unity perform on your thin-clients?

I'm also using 10.04LTS.

You can change the windows manager for everyone or individual clients by 
using the LDM_SESSION in your lts.conf file:

Here is an example for my display screen in the reception area:

[<mac address>]
         X_BLANKING=0  # Don't ever turn off the screen.
         LDM_SESSION=/usr/bin/openbox-session

There is also a 2d version of unity you may want to check out, it maybe 
much faster on your thin clients:

|sudo apt-get install unity-2d|

Michael Pope

On 07/12/11 04:12, Jay Goldberg wrote:
> No comment on actual usage because I'm on 10.04LTS.
>
> I believe that 2D acceleration is provided over the network, the X11
> protocol allows the apps (clients) to be drawn by the X server that
> they are being displayed on (the thin client hardware). So the actual
> window border draws etcetera are accelerated. 3D however is not, it's
> bitmap transferred over the network to the thin client, so the result
> is that Unity does require more CPU on the thin client to transfer
> that data (things like shadows around windows).
>
> It's unfortunate that eye-candy has been associated with "modern"
> because a modern desktop should be quicker than the ones from the
> past. In fact the whole idea of pretty graphics is diametrically
> opposed to hot technologies like cloud computing, VDI, and
> anywhere-access, even low-latency, high-bandwidth links are no savoir.
>
> Regards,
>
> On Tue, Dec 6, 2011 at 11:51 AM, Sandra Schlichting
> <littlesandra88@...>  wrote:
>> Hi everybody,
>>
>> I have installed Ubuntu Alternate 11.10 64bit, and I assume that I
>> have to use Unity instead of Gnome 2.
>>
>> Compared to Gnome 2, Unity is very resource demanding on the
>> thin-clients. The GPU on the thin-clients is an Intel GMA 950, and I
>> can see with "glxinfo | grep "direct rendering" in the thin-client
>> that it is enabled.
>>
>> I have a feeling that the local GPU isn't really used for anything,
>> and everything is software rendered on the backend LTSP server.
>>
>> I assume that Gnome 2 isn't an option any longer?
>>
>> So I wonder, how Unity is performing for everyone else with thin-clients?
>>
>> Hugs,
>> Sandra
>>
> --
> Jay Goldberg
>
> ------------------------------------------------------------------------------
> Cloud Services Checklist: Pricing and Packaging Optimization
> This white paper is intended to serve as a reference, checklist and point of
> discussion for anyone considering optimizing the pricing and packaging model
> of a cloud services business. Read Now!
> http://www.accelacomm.com/jaw/sfnl/114/51491232/
> _____________________________________________________________________
> 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

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_____________________________________________________________________
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