Re: [Ltsp-discuss] Grant write privileges to PHP to the etc/passwd

2012-11-13 Thread Jan Middelkoop

Hi Robert,

With OpenLDAP you have a server and a client.  Server is the user 
database, client can query the database and authenticate against it.


These links should definitely explain everything you want to know about 
setting up the client:


https://help.ubuntu.com/community/LDAPClientAuthentication

http://askubuntu.com/questions/127389/how-to-configure-ubuntu-as-an-ldap-client

Little tip on the side:  if you configure LDAP wrong and it times out 
while authenticating against a server (which shouldn't happen on 
localhost, but alas), your system can hang for a minute or two at boot.  
Beginners mistake I made a while back.  Panicking is not required, as 
your system will continue to boot after a while.


Good luck. :-)

Kindest regards,

Jan Middelkoop
Recreatie en Zorg Groep B.V.

--
Website: http://www.recreatie-zorg.nl/
E-mail: j...@recreatie-zorg.nl
Telephone: +31 10 714 22 97

Op 13-11-12 16:38, Robert Lefebvre schreef:

Hello everybody,

I've begun researching your suggestions and I am leaning towards the 
openLDAP suggestion. I need some help with direction of my further 
research please.


I should have little problem installing  it in Edubuntu 12.04 as it s 
included in the Software Center. And I should have little problem 
coding to it with PHP as the concepts are basically the same as 
interacting with MySql. And I get how to add users and such to the 
LDAP database. But how do I tell Edubuntu to only use the users from 
the LDAP list?

Thanks.



On Mon, Nov 12, 2012 at 8:47 AM, Robert Lefebvre 
mailto:robert.r.lefeb...@gmail.com>> wrote:


Thanks Jan. Will definitely do that.


On Mon, Nov 12, 2012 at 8:40 AM, Jan Middelkoop
mailto:j...@recreatie-zorg.nl>> wrote:

As suggested, you could create a script that specifically does
what you
want, and only give PHP sudo access to that specific script.
 That would
be more secure than what you're suggesting.

However.. -> LDAP.

    Kindest regards,

Jan Middelkoop
Recreatie en Zorg Groep B.V.

--
Website: http://www.recreatie-zorg.nl/
E-mail: j...@recreatie-zorg.nl <mailto:j...@recreatie-zorg.nl>
Telephone: +31 10 714 22 97 


Op 12-11-12 14:27, Robert Lefebvre schreef:
> Another thought was to only make the sudoers file accessible
to php
> and not add php as a sudo user. If/when the script was run,
I could
> have php write to sudoers to add itself. Then when the
script was done
> it could rewrite again and remove itself. The benefit would
be that it
> can only add itself as a sudo user (and not any other user)
whereas if
> I grant php sudo access anyone hacking php could create a
user and
> give it sudo access too. Definitely not perfect, just one
extra layer
> perhaps.



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_
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>




-- 
BungeeBones.com - A B2B Link Exchange - Free Links in limited

locations - human edited and reviewed - Networked online
advertising business opportunities available through our free,
distributed web directory script




--
BungeeBones.com - A B2B Link Exchange - Free Links in limited 
locations - human edited and reviewed - Networked online advertising 
business opportunities available through our free, distributed web 
directory script



--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov


_
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


--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Down

Re: [Ltsp-discuss] Grant write privileges to PHP to the etc/passwd

2012-11-12 Thread Jan Middelkoop
As suggested, you could create a script that specifically does what you 
want, and only give PHP sudo access to that specific script.  That would 
be more secure than what you're suggesting.

However.. -> LDAP.

Kindest regards,

Jan Middelkoop
Recreatie en Zorg Groep B.V.

-- 
Website: http://www.recreatie-zorg.nl/
E-mail: j...@recreatie-zorg.nl
Telephone: +31 10 714 22 97


Op 12-11-12 14:27, Robert Lefebvre schreef:
> Another thought was to only make the sudoers file accessible to php 
> and not add php as a sudo user. If/when the script was run, I could 
> have php write to sudoers to add itself. Then when the script was done 
> it could rewrite again and remove itself. The benefit would be that it 
> can only add itself as a sudo user (and not any other user) whereas if 
> I grant php sudo access anyone hacking php could create a user and 
> give it sudo access too. Definitely not perfect, just one extra layer 
> perhaps.


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_
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


Re: [Ltsp-discuss] Grant write privileges to PHP to the etc/passwd

2012-11-12 Thread Jan Middelkoop
On 10-11-12 02:35, Robert Lefebvre wrote:
> There are some other benefits as well to using php and a database.

100% agreed.  Besides everything already suggested, the best solution 
for this IMVHO is still to use LDAP (lightweight directory access protocol).

https://help.ubuntu.com/community/OpenLDAPServer

PHP already has a very nice interface with LDAP, which can do everything 
you want.

http://www.php.net/ldap

Right now you're basically recreating the LDAP interface PHP has already 
so it'll work with /etc/passwd.  This is very counter-productive.  LDAP 
might seem more complicated than creating something yourself, but in the 
long run it will make your system much more robust, portable and it will 
give you lots of extra features that might be useful in the future (such 
as replication to multiple servers).

Kindest regards,

Jan Middelkoop
Recreatie en Zorg Groep B.V.

-- 
Website: http://www.recreatie-zorg.nl/
E-mail: j...@recreatie-zorg.nl
Telephone: +31 10 714 22 97



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_
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


Re: [Ltsp-discuss] Grant write privileges to PHP to the etc/passwd

2012-11-09 Thread Jan Middelkoop
On a side note, if you absolutely -must- torture yourself by doing this 
with PHP, at least add the user running your PHP script (apache?) to 
/etc/sudoers.  You can give it access to run the proper useradd commands 
as root, which is a lot better than having it write to /etc/passwd.


Kindest regards,

Jan Middelkoop
Recreatie en Zorg Groep B.V.

--
Website: http://www.recreatie-zorg.nl/
E-mail: j...@recreatie-zorg.nl
Telephone: +31 10 714 22 97

Op 09-11-12 16:11, Robert Lefebvre schreef:

Hi,

I want to be able to give "write to the etc/passwd file" privileges to 
the teachers so that they can suspend and restore their student's user 
privileges.


I am fairly proficient with PHP so I began the project by building a 
script that manages all of this but I ran into a snag when I tried to 
have PHP save the file back because of the permissions associated with 
the passwd file. As sudo, I can manually open etc/passwd with gedit 
and I deactive a user simply by changing their group from being 100 to 
empty (they then can't login). To reinstate them I change their group 
back to 100. Most of the suspensions are for disciplinary reasons and 
are not very long.


In the PHP script I read the file (only display student users), make 
changes with a form , save the specs in a MySql suspension log along 
with a restoration date and time.


Now I want to overwrite the current file with the edited one. I also 
hope to have a cron write to the file also to automatically restore 
the privileges.


As a brief experiment I expanded the permissions to the file and was 
able to write to it with PHP but if I do, after all, decide to do this 
I want to make as small of a security hole for php as possible so I am 
asking for security related ideas for enabling php to write to the 
passwd file.


I've Googled, of course, and see some possibiliteies with htaccess. It 
seems like I could grant write privileges to php but wondered if I 
could get even more restrictive with htaccess so that only the actual 
php file could write?


And any other ideas would be welcomed too, even including "What! Don't 
do it!".


Thanks

Robert

--
BungeeBones.com - A B2B Link Exchange - Free Links in limited 
locations - human edited and reviewed - Networked online advertising 
business opportunities available through our free, distributed web 
directory script



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov


_
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


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov_
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


Re: [Ltsp-discuss] Grant write privileges to PHP to the etc/passwd

2012-11-09 Thread Jan Middelkoop



For the love of god, please use 389 Directory Server or OpenLDAP!

Speaking from experience with 389 DS, it'll not only give you the user 
interface you're looking for out of the box, but it'll also be a heck of 
a lot more secure and robust than your PHP solution.


Kindest regards,

Jan Middelkoop
Recreatie en Zorg Groep B.V.

--
Website: http://www.recreatie-zorg.nl/
E-mail: j...@recreatie-zorg.nl
Telephone: +31 10 714 22 97

Op 09-11-12 16:11, Robert Lefebvre schreef:

Hi,

I want to be able to give "write to the etc/passwd file" privileges to 
the teachers so that they can suspend and restore their student's user 
privileges.


I am fairly proficient with PHP so I began the project by building a 
script that manages all of this but I ran into a snag when I tried to 
have PHP save the file back because of the permissions associated with 
the passwd file. As sudo, I can manually open etc/passwd with gedit 
and I deactive a user simply by changing their group from being 100 to 
empty (they then can't login). To reinstate them I change their group 
back to 100. Most of the suspensions are for disciplinary reasons and 
are not very long.


In the PHP script I read the file (only display student users), make 
changes with a form , save the specs in a MySql suspension log along 
with a restoration date and time.


Now I want to overwrite the current file with the edited one. I also 
hope to have a cron write to the file also to automatically restore 
the privileges.


As a brief experiment I expanded the permissions to the file and was 
able to write to it with PHP but if I do, after all, decide to do this 
I want to make as small of a security hole for php as possible so I am 
asking for security related ideas for enabling php to write to the 
passwd file.


I've Googled, of course, and see some possibiliteies with htaccess. It 
seems like I could grant write privileges to php but wondered if I 
could get even more restrictive with htaccess so that only the actual 
php file could write?


And any other ideas would be welcomed too, even including "What! Don't 
do it!".


Thanks

Robert

--
BungeeBones.com - A B2B Link Exchange - Free Links in limited 
locations - human edited and reviewed - Networked online advertising 
business opportunities available through our free, distributed web 
directory script



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov


_
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


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov_
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


Re: [Ltsp-discuss] New LTSP Website / Wiki Launched

2012-10-11 Thread Jan Middelkoop

Hi Peter,

The person in charge of administrating and structuring the wiki is Wim 
Muskee.  You can always find him in #ltsp and #ltspweb (our website 
discussion channel) on Freenode, as "knipwim".  He can help you find or 
create a place for this on the wiki. :-)


Kindest regards,

Jan Middelkoop
Recreatie en Zorg Groep B.V.

--
Website: http://www.recreatie-zorg.nl/
E-mail: j...@recreatie-zorg.nl
Telephone: +31 10 714 22 97


On 10-10-12 18:29, Peter D Knight wrote:

Hi James
I have just spent a week setting up ltsp-pnp.  A couple of things I 
would like to inform others about. I would also like to put my details 
of how to do it on the site. I could not find anywhere to do that. 
Attached  is what I put on paper.
I guess I could add edubuntu 12.05 ltsp-pnp to the installation and 
trouble shooting sections.

May be you need to add a 'blog' part.
Great site!!
regards
Peter

On Thu, Aug 30, 2012 at 8:15 PM, James McQuillan <mailto:j...@mcquil.com>> wrote:


We've launched a new website for LTSP.org with a brand new Wiki.
We are seeing more and more LTSP Success Stories submitted and
increase in the use of technical content and documentation on the
Wiki.

For those who have successfully deployed LTSP in businesses,
schools, or elsewhere, please share your story on our world map by
visiting http://www.ltsp.org/stories/

For our technical readers, any contributions, additional content,
or enhancements you can make to the Wiki will help enable other
people deploying LTSP and using the Wiki for technical
documentation. http://wiki.ltsp.org

If you are a professional service provider for LTSP solutions, you
can add your company to the list of service providers by e-mailing
webmas...@ltsp.org.

We also welcome e-mails about website bugs as well as your
comments and ideas.

Thank You,

Jim McQuillan on behalf of the The LTSP Web Refresh Team

Alex Colcernian
    Ron Colcernian
Jan Middelkoop
Wim Muskee
Jim McQuillan


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond.
Discussions
will include endpoint security, mobile security and the latest in
malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_
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>




--
Peter D Knight
22 Westfort Rd
Houtbay
7806
+27(21)7903579


--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev


_
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
--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev_
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


Re: [Ltsp-discuss] installation issues

2012-08-14 Thread Jan Middelkoop
If your server doesn't boot after modifying lts.conf you have some much 
bigger issues than you currently think.  lts.conf is only used for 
booting clients, your server doesn't read it at boot.  Changes in the 
file should never affect server boot.


Perhaps you have installed the ltsp-client package on your server 
alongside the ltsp-server package?  If so, then that's your problem.


Kindest regards,

Jan Middelkoop
Recreatie en Zorg Groep B.V.

--
Website: http://www.recreatie-zorg.nl/
E-mail: j...@recreatie-zorg.nl
Telephone: +31 10 714 22 97

Op 09-08-12 22:43, Robert Lefebvre schreef:

Thanks Rob,

Here is what lts.conf says

[default]
LDM_THEME=edubuntu
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LDM_LANGUAGE=en_US.UTF-8


I added to it
XSERVER = vesa
X_MODE_0= 1280x1024

but that was a no-no (the server wouldn't boot afterwards). As I am 
reinstalling Edubuntu for yet another time I'll mention what may be 
another symptom/cause. When installing we are given the option to 
download updates as we install. Updating seems to cause edubuntu to 
not be able to access the Internet afterwards (not positive but sure 
seems like it).









On Thu, Aug 9, 2012 at 2:40 PM, Rob Owens <mailto:row...@ptd.net>> wrote:


On Thu, Aug 09, 2012 at 02:22:58PM -0400, Robert Lefebvre wrote:
>
>  I have been able to get the clients logged into the server but the
> graphics have a broad spectrum of problems ranging from black
screen, to
> severe resolution problems and even displaying the server's
desktop upside
> down and reversed on the lenovo laptop.
>
> At first I was thinking all the problems had to do with the
server's NVidia
> graphics card. Then I was thinking since the clients each handle
their own
> graphics and the problems had to do with the downloaded gPXE
file. Now I am
> thinking it is a wrong setting in the Linux iso image that is
sent to the
> client when they boot telling the connecting client to operate
in the wrong
> resolution.
>
Clients should auto-detect their graphics hardware and load the
appropriate drivers.  Yours seem to not be doing that.  Perhaps
you have
an outdated version of Edubuntu (or a too-new version that has bugs).
Or maybe you're just unlucky.  Either way, you can manually
specify the
drivers and resolution in lts.conf.

I think Edubuntu keeps that file in /var/lib/tftpboot, but I'm not
sure.
I also think you need to run another command after editing lts.conf
(this is related to Edubuntu using a squashed image instead of
NFS, like
my Debian system).  Somebody on this list is sure to know what that
command is -- I can't remember it.

Anyway, you'll want to run 'man lts.conf' to get some details on how
that file is structured.  You'll probably want to include
something like
this for your problem clients:

XSERVER = vesa
X_MODE_0= 1280x1024

vesa is a good xserver value to start with, because it usually
works.  It is
slower than others, so once you get things working you may want to try
other values.  You can specify these settings as default or per-client
(by MAC address or by hostname, I believe).

-Rob


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond.
Discussions
will include endpoint security, mobile security and the latest in
malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_
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>




--
BungeeBones.com - A B2B Link Exchange - Free Links in limited 
locations - human edited and reviewed - Networked online advertising 
business opportunities available through our free, distributed web 
directory script



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/


_
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, go

Re: [Ltsp-discuss] Ubuntu 12.04: two clients, identical options, only one connects

2012-06-19 Thread Jan Middelkoop
What happens when you manually run the xfreerdp command on TAG2011479?

Kindest regards,

Jan Middelkoop
Recreatie en Zorg Groep B.V.

-- 
Website: http://www.recreatie-zorg.nl/
E-mail: j...@recreatie-zorg.nl
Telephone: +31 10 714 22 97


Op 18-06-12 23:46, David Burgess schreef:
> Here are the relevant sections of my lts.conf:
>
>
> [default]
> TIMESERVER=172.21.35.0
> SHUTDOWN_TIME=17:30:00
> SCREEN_07=xfreerdp
> RDP_SERVER=172.21.34.1
> RDP_OPTIONS="--ignore-certificate --no-nla -d GPRC -a 32 -f -x l"
> KEEP_SYSTEM_SERVICES=acpid
> X_BLANKING=300
> XINITRC_PROMPT_ON_EXIT=True
> SOUND=False
> RCFILE_01=/etc/ltsp/timeset
>
> [00:0c:29:c5:70:53]
> HOSTNAME=virtual-tc
>
> [38:60:77:A3:82:27]
> HOSTNAME=TAG2011479
>
>
> "virtual-tc" is a virtual machine. It boots fine and connects to the
> RDP server. "TAG2011479" is an Atom/D515MW client that boots fine and
> displays the Ubuntu splash screen at full resolution (1920x1080), but
> instead of connecting to the RDP server displays a blank black screen
> (but the display does not do to sleep). 'ps aux | grep rdp' and
> 'netstat -nt' reveal that vitual-tc is running an xfreerdp process,
> while TAG2011479 is not. Both clients are reporting the proper
> hostname, indicating that they are reading lts.conf correctly to some
> extent.
>
> Here is some command-line goodness for those who know.
>
> root@TAG2011479:~# hexdump -C /proc/1692/cmdline
>   78 69 6e 69 74 00 2f 75  73 72 2f 73 68 61 72 65  |xinit./usr/share|
> 0010  2f 6c 74 73 70 2f 78 69  6e 69 74 72 63 00 78 66  |/ltsp/xinitrc.xf|
> 0020  72 65 65 72 64 70 20 20  2d 2d 69 67 6e 6f 72 65  |reerdp  --ignore|
> 0030  2d 63 65 72 74 69 66 69  63 61 74 65 20 2d 2d 6e  |-certificate --n|
> 0040  6f 2d 6e 6c 61 20 2d 64  20 47 50 52 43 20 2d 61  |o-nla -d GPRC -a|
> 0050  20 33 32 20 2d 66 20 2d  78 20 6c 20 31 37 32 2e  | 32 -f -x l 172.|
> 0060  32 31 2e 33 34 2e 31 00  2d 63 6f 6e 66 69 67 00  |21.34.1.-config.|
> 0070  2f 76 61 72 2f 72 75 6e  2f 6c 74 73 70 2d 78 6f  |/var/run/ltsp-xo|
> 0080  72 67 2e 63 6f 6e 66 00  2d 64 65 70 74 68 00 31  |rg.conf.-depth.1|
> 0090  36 00 |6.|
> 0092
>
>
> db
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _
> 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

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_
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


Re: [Ltsp-discuss] Sound just broke on Ubuntu 11.10 Oneiric, LTSP 5.2.16-0ubuntu7

2012-06-14 Thread Jan Middelkoop

On 13-06-12 08:28, Philip Loewen wrote:

Unfortunately I don't really understand how pulseaudio is supposed to
work across the network. Should a pulseaudio process be running also on
the LTSP server?


Seems like you have figured out most of it already.

See pulseaudio as a sound 'server'.  It provides a way for applications 
to play sound.  The applications connect to the pulseaudio server, and 
pulseaudio directs that sound to an output device (a soundcard).  The 
pulseaudio server should therefor always be running on the machine which 
has access to the sound device.


In LTSP's case, applications running on the server, connect to 
pulseaudio running on the client, and pulseaudio there sends the audio 
to the local soundcard.  So the pulseaudio process should be running on 
each client, and not on the server (unless you want to use the soundcard 
in the server, for whatever reason - but that's another story).


You've already found the PULSE_SERVER export - that's how the server 
applications know where to send their audio streams to.  You can use the 
command 'pactl' to connect to and control the server specified in 
PULSE_SERVER.  For example, 'pactl info' shows the status of the 
pulseaudio server.  As you've already determined the server isn't 
running on your client, this will not return anything useful.


And that concludes this drive-by introduction to pulseaudio in LTSP.  As 
for the specific problem you're having - the question you should be 
asking yourself is: what have you changed since the last time you ran 
ltsp-update-image?  My experience is that usually these things do not 
happen 'spontaneously', despite obvious appearances.


About your error:  the LTSP code that is responsible for starting the 
pulseaudio daemon, can be found in 
/opt/ltsp//usr/share/ltsp/ltsp-init-common.  You can find some 
pointers there, such as the exact arguments that LTSP uses to launch 
pulseaudio.  You will see it calls pulseaudio with very different 
arguments than you used in your test case, therefor your test case (and 
any error messages you get from it) are unreliable.


From the ltsp-init-common file, you can also see that LTSP instructs 
pulseaudio to log to the syslog - so be sure to check /var/log/syslog on 
the client.  That's where the pulseaudio startup error messages will 
be.  It might be the same as your test case... but then it might just 
not be.


Kindest regards,

Jan Middelkoop
Recreatie en Zorg Groep B.V.

--
Website: http://www.recreatie-zorg.nl/
E-mail: j...@recreatie-zorg.nl
Telephone: +31 10 714 22 97
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_
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


Re: [Ltsp-discuss] Sound just broke on Ubuntu 11.10 Oneiric, LTSP 5.2.16-0ubuntu7

2012-06-14 Thread Jan Middelkoop
Op 13-06-12 08:28, Philip Loewen schreef:
> Unfortunately I don't really understand how pulseaudio is supposed to
> work across the network. Should a pulseaudio process be running also on
> the LTSP server?

Seems like you have figured out most of it already. :-)

See pulseaudio as a sound 'server'.  It provides a way for applications 
to play sound.  The applications connect to the pulseaudio server, and 
pulseaudio directs that sound to an output device (a soundcard).  The 
pulseaudio server should therefor always be running on the machine which 
has access to the sound device.

In LTSP's case, applications running on the server, connect to 
pulseaudio running on the client, and pulseaudio there sends the audio 
to the local soundcard.  So the pulseaudio process should be running on 
each client, and not on the server (unless you want to use the soundcard 
in the server, for whatever reason - but that's another story).

You've already found the PULSE_SERVER export - that's how the server 
applications know where to send their audio streams to.  You can use the 
command 'pactl' to connect to and control the server specified in 
PULSE_SERVER.  For example, 'pactl info' shows the status of the 
pulseaudio server.  As you've already determined the server isn't 
running on your client, this will not return anything useful.

And that concludes this drive-by introduction to pulseaudio in LTSP.  As 
for the specific problem you're having - the question you should be 
asking yourself is: what have you changed since the last time you ran 
ltsp-update-image?  My experience is that usually these things do not 
happen 'spontaneously', despite obvious appearances. ;-)

About your error:  the LTSP code that is responsible for starting the 
pulseaudio daemon, can be found in 
/opt/ltsp//usr/share/ltsp/ltsp-init-common.  You can find some 
pointers there, such as the exact arguments that LTSP uses to launch 
pulseaudio.  You will see it calls pulseaudio with very different 
arguments than you used in your test case, therefor your test case (and 
any error messages you get from it) are unreliable.

 From the ltsp-init-common file, you can also see that LTSP instructs 
pulseaudio to log to the syslog - so be sure to check /var/log/syslog on 
the client.  That's where the pulseaudio startup error messages will 
be.  It might be the same as your test case... but then it might just 
not be. :-)

Kindest regards,

Jan Middelkoop
Recreatie en Zorg Groep B.V.

-- 
Website: http://www.recreatie-zorg.nl/
E-mail: j...@recreatie-zorg.nl
Telephone: +31 10 714 22 97



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_
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


Re: [Ltsp-discuss] ubuntu 12.04 ltsp-pnp nbd problem

2012-06-13 Thread Jan Middelkoop

Hi Peter,

As of 12.04, LTSP in Ubuntu no longer uses /etc/inetd.conf for serving 
NBD mounts.  I'd suggest removing that line.


Also interesting that your /etc/nbd-server/conf.d/ltsp_i386.conf is 
different than mine.  For me the section is called [ltsp_i386] and for 
you it's [/opt/ltsp/i386].  I wonder why that is.


I think you would get a different error if NBD wasn't running at all, 
but it wouldn't hurt to verify that it is.  Type 'pidof nbd-server' in a 
terminal on the server.  If that returns numbers, nbd-server is 
running.  If it returns nothing, you can 'sudo service nbd-server start' 
to start it.


Kindest regards,

Jan Middelkoop
Recreatie en Zorg Groep B.V.

--
Website: http://www.recreatie-zorg.nl/
E-mail: j...@recreatie-zorg.nl
Telephone: +31 10 714 22 97


Op 13-06-12 10:27, Peter D Knight schreef:

client boots into initramfs
dmesg shows
unable to read squash super block

added this to /etc/inetd.conf

2000stream  tcpnowait  nobody /usr/sbin/tcpd 
/usr/sbin/nbdrootd /opt/ltsp/images/i386.img


nbd-serve/ltsp_i386.conf   looks good
[/opt/ltsp/i386]
exportname = /opt/ltsp/images/i386.img
readonly = true
Help appreciated
Peter

--
Peter D Knight
22 Westfort Rd
Houtbay
7806
+27(21)7903579


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/


_
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
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_
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


Re: [Ltsp-discuss] Change LTSP X Server Ip Address for a client based on MAC‏

2012-06-12 Thread Jan Middelkoop
Hi,

Doing this based on IP is a bad idea, for two main reasons:
1.you can easily configure a different IP address to bypass 'security'
2.with LTSP thin clients all clients have the same IP address

If you don't care about 1), then you can overcome 2) by creating 
different servers, or running browsers as local applications (or using 
fat clients) and switches to divide the network.

Either way, the best way to accomplish what you're trying to do is to 
use Squid authentication to identify users and hand out permissions 
accordingly:
http://wiki.squid-cache.org/Features/Authentication

Kindest regards,

Jan Middelkoop
Recreatie en Zorg Groep B.V.

-- 
Website: http://www.recreatie-zorg.nl/
E-mail: j...@recreatie-zorg.nl
Telephone: +31 10 714 22 97


Op 12-06-12 00:23, Andrés Yacopino schreef:
> Hi, I have deployed an UBUNTU LTSP Server 10.04.
> I want to change the IP address of the X Server of LTSP do make some
> clients have different IP Address to connect t an Squid Proxy Server.
> I have a Proxy Server  in which based on the Ip Address you are able to
> see a group of web pages or the whole internet.
> The LTSP Server is in the range of IP Address having restricted internet
> acccess, I have the need to make some LTSP users have full privileges to
> browse internet.
> I have setup an Alias in the LTSP Server to have two differents ethernet
> cards:
>
> eth0 = 10.1.1.1
> eth0:1 = 10.1.2.1
>
> I was able to change the dhcp server to be able to boot (based on the
> mac of the client) to the interface eth0:1 and the client adquiring the
> ip adddress in the range to allow browsing internet.
> The problem is that the client is using the same X Server, the address
> of the interface eth0, not the new address for the SQUID Server.
>
> Doing: ps -ef | grep X11 I see:
>
> userid  8444  8362  0 Jun08 ?00:00:00 bash -c
> LTSP_CLIENT=10.1.1.252 LTSP_CLIENT_HOSTNAME=ltsp1020 LC_ALL=es_AR.UTF-8
> LANGUAGE=es_AR.UTF-8 LANG=es_AR.UTF-8 DISPLAY=10.1.1.252:7
> /etc/X11/Xsession gnome-session<   /dev/null>   /dev/null ;
> /usr/sbin/ltspfsmounter all cleanup
>
> Could I change a file in some place in the ltsp server to allow the
> client to connect to the XServer in a different address (to 10.1.2.1
> instead of 10.1.1.1) based on the MAC of the client?
> Thank you very much,
> Regards,
> Andres.
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _
> 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

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_
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


Re: [Ltsp-discuss] Test

2012-05-08 Thread Jan Middelkoop
What, you mean you've missed the discussion about the upcoming 
Windows-only version of LTSP? ;-)

Regards,
Jan


Met vriendelijke groet,

Jan Middelkoop
Recreatie en Zorg Groep B.V.

-- 
Website: http://www.recreatie-zorg.nl/
E-mail: j...@recreatie-zorg.nl
Telefoon: +31 10 714 22 97


Op 08-05-12 08:56, Rolf-Werner Eilert schreef:
> I haven't received any mails from this list since May 4, so this is just
> a test if the list is still alive...
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _
> 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

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_
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


Re: [Ltsp-discuss] ltsp-remoteapps with ltsp-pnp

2012-04-26 Thread Jan Middelkoop
Hi Gymhaan,

The ltsp-remoteapps command uses the existing SSH connection to the 
server (the one that is created on LTSP login).  Try starting a simple 
application with "ltsp-remoteapps", for example, open a terminal on the 
fat client and type "ltsp-remoteapps xterm".  What happens? :-)

Met vriendelijke groet,

Jan Middelkoop
Recreatie en Zorg Groep B.V.

-- 
Website: http://www.recreatie-zorg.nl/
E-mail: j...@recreatie-zorg.nl
Telefoon: +31 10 714 22 97


Op 26-04-12 08:55, Gymhaan Rechenzentrum schreef:
> Hi again,
> I can't belive it is that easy...
>
> ok, remoteapps sounds good, but it is not working
> on my system.
>
> I guess it is an ssh issue, because I also cannot
> ssh to the server when working on a fatclient.
>
> Unfortunatly ltsp-remoteapps has no man-entry
> and does not produce useable error messages.
>
> I remember reading something about identical
> ssh keys on the ltsp-php Ubuntu website which is closed
> now...
>
> So what do I have to do to ssh to the server
> from a fatclient?
>
> I guess if this is fixed, I can use remoteapps as well...
>
> Thanks
>
> Roland
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _
> 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

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_
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


Re: [Ltsp-discuss] reverse localapps

2012-04-25 Thread Jan Middelkoop
You mean something like the client command "ltsp-remoteapps"? :-)

Kindest regards,

Jan Middelkoop
Recreatie en Zorg Groep B.V.

-- 
Website: http://www.recreatie-zorg.nl/
E-mail: j...@recreatie-zorg.nl
Telefoon: +31 10 714 22 97


Op 25-04-12 12:47, Gymhaan Rechenzentrum schreef:
> Hi again,
> I am satisfied in an entirely new lewel.
> ltsp-pnp works great with all sorts of hardware.
>
> Thanks again to Alkis and Stéfane.
>
> I just wonder if I can use a "reverse-localapps" on my small clients.
>
> If I run them as fatclients they are really slow,
> especially with firefox and libreoffice, which are used 90%
> of the time.
>
> If I run them as thinclients, the applications are fast as usual,
> running on the server, but the login is very slow, because unity
> needs lots of time on the server.
>
> Best would be to run a fatclient that runs special applications
> on the server, just the revers of the old "local-apps".
> That would transform my terminal-server to an application server
> for selectet apps.
>
> Switching the flag Local-Apps=False does not work,
> you can login, but unity does not start and you are logged out again.
>
> It is no problem to replace the standard icons from the starter and
> replace them with new "server-apps" starters if needed. I did this the
> other way
> round with local-apps before.
>
> Greetings
> Roland
>
> PS: I just wrote this from a fatclient, running ltsp-pnp. Since
> yesterday I got everthing running and
> at the moment next door 20 Students work with the new system producing
> an 0.2% cpu-usage on my
> server...GREAT!
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _
> 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

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_
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


Re: [Ltsp-discuss] printer from fat clients

2012-03-30 Thread Jan Middelkoop
Looking at the LTSP code, it seems to be default for LTSP to configure 
CUPS for remote printing, but only if LOCAL_APPS=True...  so I'm not 
sure if that applies to fat clients.

Seems like LTSP accomplishes it by editing /etc/cups/client.conf on the 
client.

 # if cups is installed in the chroot, use LDM_SERVER for printing
 if [ -d /etc/cups ]; then
 if [ -n "${CUPS_SERVER}" ]; then
 echo "ServerName ${CUPS_SERVER}" > /etc/cups/client.conf
 else
 echo "ServerName ${LDM_SERVER}" > /etc/cups/client.conf
 fi
 fi

I bet someone else can jump in and tell you much more about this than I can.

Met vriendelijke groet,

Jan Middelkoop
Recreatie en Zorg Groep B.V.

-- 
Website: http://www.recreatie-zorg.nl/
E-mail: j...@recreatie-zorg.nl
Telefoon: +31 10 714 22 97


Op 30-03-12 15:42, Todd O'Bryan schreef:
> OK, I'm game. How would I go about that?
>
> On Fri, Mar 30, 2012 at 10:57 AM, Jan Middelkoop  
> wrote:
>> All CUPS (common unix printing system) configuration is stored in the
>> /etc/cups/ directory.  There are the config files you want.
>>
>> Wouldn't it be easier though to just configure CUPS on the server
>> correctly. and make the client's use the CUPS service on the server for
>> printing, rather than their own?  (I'm assuming that's possible.)
>>
>> Met vriendelijke groet,
>>
>> Jan Middelkoop
>> Recreatie en Zorg Groep B.V.
>>
>> --
>> Website: http://www.recreatie-zorg.nl/
>> E-mail: j...@recreatie-zorg.nl
>> Telefoon: +31 10 714 22 97
>>
>>
>> Op 30-03-12 12:33, Todd O'Bryan schreef:
>>> I can indeed install cups in the client image. How and where do I set
>>> up the printer, given that I can't actually *run* the client image
>>> from the server? I suppose if I install the printer on another
>>> computer, I could just copy the config files, but does someone know
>>> which files I need to copy?
>>>
>>> On Thu, Mar 29, 2012 at 1:24 PM, Peter D Knight
>>> wrote:
>>>> use cups to setup the network printer. http://localhost:631
>>>> root as the user name and your admin password needed.
>>>> At home I setup a windows  printer and the fat client saw it when using
>>>> libre word, without any extra work.
>>>> At a school I installed cups server in the image.
>>>> Peter
>>>>
>>>> On Thu, Mar 29, 2012 at 2:59 PM, Todd O'Bryan
>>>> wrote:
>>>>> Hey all,
>>>>>
>>>>> I just switched my lab to Kubuntu 11.10 using LTSP fat clients, but
>>>>> now I can't print from the clients. Users can't even set up the
>>>>> printer, because the printer configuration tool returns an error:
>>>>>
>>>>> --
>>>>> The service 'Printer Configuration' does not provide an interface
>>>>> 'KCModule' with keyword
>>>>> 'system-config-printer-kde/system-config-printer-kde.py' The factory
>>>>> does not support creating components of the specified type.
>>>>>
>>>>> Possible reasons:
>>>>>* An error occurred during your last KDE upgrade leaving an orphaned
>>>>> control module
>>>>>* You have old third party modules lying around.
>>>>> Check these points carefully and try to remove the module mentioned in
>>>>> the error message. If this fails, consider contacting your distributor
>>>>> or packager.
>>>>> --
>>>>>
>>>>> I have a printer on the network that acts like an HP JetDirect
>>>>> printer. Any idea how to (a) let users add it, or (b, and preferably)
>>>>> add it to all the fat clients in one swell foop?
>>>>>
>>>>> Thanks!
>>>>> Todd
>>>>>
>>>>>
>>>>> --
>>>>> This SF email is sponsosred by:
>>>>> Try Windows Azure free for 90 days Click Here
>>>>> http://p.sf.net/sfu/sfd2d-msazure
>>>>> _
>>>>> 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
>>>>
>>&

Re: [Ltsp-discuss] printer from fat clients

2012-03-30 Thread Jan Middelkoop
All CUPS (common unix printing system) configuration is stored in the 
/etc/cups/ directory.  There are the config files you want.

Wouldn't it be easier though to just configure CUPS on the server 
correctly. and make the client's use the CUPS service on the server for 
printing, rather than their own?  (I'm assuming that's possible.)

Met vriendelijke groet,

Jan Middelkoop
Recreatie en Zorg Groep B.V.

-- 
Website: http://www.recreatie-zorg.nl/
E-mail: j...@recreatie-zorg.nl
Telefoon: +31 10 714 22 97


Op 30-03-12 12:33, Todd O'Bryan schreef:
> I can indeed install cups in the client image. How and where do I set
> up the printer, given that I can't actually *run* the client image
> from the server? I suppose if I install the printer on another
> computer, I could just copy the config files, but does someone know
> which files I need to copy?
>
> On Thu, Mar 29, 2012 at 1:24 PM, Peter D Knight  wrote:
>> use cups to setup the network printer. http://localhost:631
>> root as the user name and your admin password needed.
>> At home I setup a windows  printer and the fat client saw it when using
>> libre word, without any extra work.
>> At a school I installed cups server in the image.
>> Peter
>>
>> On Thu, Mar 29, 2012 at 2:59 PM, Todd O'Bryan  wrote:
>>> Hey all,
>>>
>>> I just switched my lab to Kubuntu 11.10 using LTSP fat clients, but
>>> now I can't print from the clients. Users can't even set up the
>>> printer, because the printer configuration tool returns an error:
>>>
>>> --
>>> The service 'Printer Configuration' does not provide an interface
>>> 'KCModule' with keyword
>>> 'system-config-printer-kde/system-config-printer-kde.py' The factory
>>> does not support creating components of the specified type.
>>>
>>> Possible reasons:
>>>   * An error occurred during your last KDE upgrade leaving an orphaned
>>> control module
>>>   * You have old third party modules lying around.
>>> Check these points carefully and try to remove the module mentioned in
>>> the error message. If this fails, consider contacting your distributor
>>> or packager.
>>> --
>>>
>>> I have a printer on the network that acts like an HP JetDirect
>>> printer. Any idea how to (a) let users add it, or (b, and preferably)
>>> add it to all the fat clients in one swell foop?
>>>
>>> Thanks!
>>> Todd
>>>
>>>
>>> --
>>> This SF email is sponsosred by:
>>> Try Windows Azure free for 90 days Click Here
>>> http://p.sf.net/sfu/sfd2d-msazure
>>> _
>>> 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
>>
>>
>>
>> --
>> Peter D Knight
>> 22 Westfort Rd
>> Houtbay
>> 7806
>> +27(21)7903579
>>
>> --
>> This SF email is sponsosred by:
>> Try Windows Azure free for 90 days Click Here
>> http://p.sf.net/sfu/sfd2d-msazure
>> _
>> 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
>>
> --
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _
> 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

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_
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


Re: [Ltsp-discuss] weird issue with LDM and passwords containing @ symbol

2012-03-29 Thread Jan Middelkoop
Scratch that.  There is already a bug about it:
https://bugs.launchpad.net/ltsp/+bug/948507

You can vote for that bug, or comment on it if you have extra information.

Met vriendelijke groet,

Jan Middelkoop
Recreatie en Zorg Groep B.V.

-- 
Website: http://www.recreatie-zorg.nl/
E-mail: j...@recreatie-zorg.nl
Telefoon: +31 10 714 22 97


Op 29-03-12 15:16, Jan Middelkoop schreef:
> Hi Todd,
>
> This has also been reported in the K12Linux mailing list recently.
> Please file a bug at https://bugs.launchpad.net/ltsp/+filebug
>
> Kindest regards,
>
> Jan Middelkoop
> Recreatie en Zorg Groep B.V.
>

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_
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


Re: [Ltsp-discuss] weird issue with LDM and passwords containing @ symbol

2012-03-29 Thread Jan Middelkoop
Hi Todd,

This has also been reported in the K12Linux mailing list recently.  
Please file a bug at https://bugs.launchpad.net/ltsp/+filebug

Kindest regards,

Jan Middelkoop
Recreatie en Zorg Groep B.V.

-- 
Website: http://www.recreatie-zorg.nl/
E-mail: j...@recreatie-zorg.nl
Telefoon: +31 10 714 22 97


Op 29-03-12 15:06, Todd O'Bryan schreef:
> Sorry for the multiple posts, but I'm cleaning out some issues I've 
> discovered.
>
> I assign random passwords to students and when a student with an @
> symbol tries to enter his password, the enter key just won't work on
> the LDM login screen. Any idea what's going on? The workaround was to
> change his password to something without an @, but this could really
> confuse people.
>
> Todd
>
> --
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _
> 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

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_
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


Re: [Ltsp-discuss] X_COLOR_DEPTH=16 by default for thin clients

2012-03-27 Thread Jan Middelkoop
Hi Alkis and Ben,

PNG uses a color palette.  So "8-bit" in PNG means, 256 colors - any 
colors.  They're not pre-determined.  It can be 256 different shades of 
light blue if you want.

So an 8-bit PNG can easily contain colors which can't be displayed on a 
16-bit mode display.

Met vriendelijke groet,

Jan Middelkoop
Recreatie en Zorg Groep B.V.

-- 
Website: http://www.recreatie-zorg.nl/
E-mail: j...@recreatie-zorg.nl
Telefoon: +31 10 714 22 97


Op 27-03-12 09:58, Ben Green schreef:
> Quoting Alkis Georgopoulos:
>
>> The blue LDM background only has 256 colors, i.e. 8 bpp, in order to be
>> <  4k size, that's why it appears banded no matter your display color
>> depth. It would make no difference at all if you displayed it in 8 bpp,
>> 15/16 bpp, or 24/32 bpp displays.
> That's simply not true Alkis, with 16-bit colour I see bands, with
> 32-bit no bands. I can provide pictures if you like. Its not a
> complaint about the picture quality, I'm just saying the difference is
> very visible.
>
> Cheers,
> ==
>   From Ben Green
>
>
> --
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _
> 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

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_
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


Re: [Ltsp-discuss] X_COLOR_DEPTH=16 by default for thin clients

2012-03-26 Thread Jan Middelkoop
X_COLOR_DEPTH=16 here too.  The extra resolution (which is hardly 
visible) doesn't outweigh the performance hit (which is very much 
visible).  I think it's a good idea if it becomes default. :-)

Met vriendelijke groet,

Jan Middelkoop
Recreatie en Zorg Groep B.V.

-- 
Website: http://www.recreatie-zorg.nl/
E-mail: j...@recreatie-zorg.nl
Telefoon: +31 10 714 22 97


Op 26-03-12 09:05, Alkis Georgopoulos schreef:
> By default, X_COLOR_DEPTH is 32 for thin clients, which means that a
> 320x240 youtube video needs 73.728.000 bps bandwidth (30 fps, 32 bpp).
>
> Setting X_COLOR_DEPTH=16 for thin clients makes that video need exactly
> half the bandwidth, i.e. 36.864.000 bps.
>
> Of course that doesn't only affect videos. Any thin clients screen
> updates need half the bandwidth with X_COLOR_DEPTH=16.
>
> Less bandwidth means faster responses, less CPU usage (especially with
> the default LDM_DIRECTX=False), and support for more clients with the
> same CPU/LAN constrains.
>
> So I propose a change in upstream LTSP to set X_COLOR_DEPTH=16 by
> default, if:
>* LTSP_FATCLIENT is not set (fat clients would still default to 32),
>* LOCAL_APPS_MENU is not set (so 32 for localapps browsers too),
>* X_COLOR_DEPTH is not set at all (so X_COLOR_DEPTH="" in lts.conf
>  reverts to the old behavior).
>
>
> Is that what most LTSP users would like? Comments, please... :)
>
> If not, then I'll implement an X_COLOR_DEPTH=auto instead, which would
> give the above behavior (16 on thins, 32 on fats/localapps) only when
> requested from lts.conf.
>
> --
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _
> 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

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_
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


Re: [Ltsp-discuss] Xorg uses all the CPU.

2012-03-14 Thread Jan Middelkoop
Some tweaks you can do to get Xorg CPU usage down, in lts.conf:

X_COLOR_DEPTH=16
LDM_DIRECTX=True

Read the manpage for lts.conf what these are exactly.  Enabling 
LDM_DIRECTX could pose a security threat on networks where packet 
sniffing might be an issue.  On the other hand, if you trust the people 
connected to your LTSP network, you could very well enable it.

Met vriendelijke groet,

Jan Middelkoop
Recreatie en Zorg Groep B.V.

-- 
Website: http://www.recreatie-zorg.nl/
E-mail: j...@recreatie-zorg.nl
Telefoon: +31 10 714 22 97


Op 14-03-12 09:43, relosrl schreef:
> The server, the client and the net is overdimensioned. The client  has
> slowing downs when it manages modifications of screen. Sometimes it
> stops completely for 1 or 2 seconds. If I use "top" on local bash, I see
> that it's xorg to occupy all the resources. Radeon module is on and
> glxinfo is ok. If I start OS on client I haven't problem with xorg.
> Ubuntu 64 for server. 386 image for client. Xfce or TDE is equal.
> What can I do for resolve the problem?
> Thanks.
> Rodolfo
>
> --
> Virtualization&  Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _
> 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

--
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_
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