Re: [Ltsp-discuss] Debian LTSP, load balancing

2014-09-05 Thread Great Devil Singh
On Fri, Sep 5, 2014 at 11:42 AM,   wrote:

>> Seems my DHCP is not configured properly. I am using eth0 for DHCP
>> server. Can you post your /etc/network/interfaces file?
>
> When there are problems with TFTP be sure that there is no other DHCP
> server in your LAN if you are using Debian LTSP.

I am using LTSP only.(Not LTSP-PNP)

I am trying to boot Thin-client direct from root server without using
switch. Is it possible?

> If you are using Debian
> LTSP-PNP you need an DHCP server in your LAN.

You mentioned first if I have HP txxx thin-clients simple LTSP is fine
with me. Or can I go for LTSP-PNP?

I got the same problem with Edubuntu earlier and installed "tftp-hpa"
package and it solved the problem. I also tried same with Debian but
nothing went out.



-- 

Thanks
Arshpreet singh
http://arshpreetsingh.wordpress.com/

Let's Bring back "AWE" to "SOME" --->> "AWESOME"

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_
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] Debian LTSP, load balancing

2014-09-05 Thread asmo . koskinen
Great Devil Singh kirjoitti 2014-09-05 16:24:

> I am using LTSP only.(Not LTSP-PNP)

That is good. Try first get familiar with LTSP. Learning curve is not 
easy.

> I am trying to boot Thin-client direct from root server without using
> switch. Is it possible?

I think so. I did that long ago. But better use switch.

"Here we do setup for laptop demo. We need working LTSP setup in laptop 
and ethernet crossover cable for thin client. Laptop as a LTSP server is 
connected to the Internet by WLAN, another laptop as a thin client is 
connected to the LTSP server by LAN (ethernet crossover cable."

Do not follow NAT thing in that howto.

https://help.ubuntu.com/community/UbuntuLTSP/LaptopDemo

> You mentioned first if I have HP txxx thin-clients simple LTSP is fine
> with me. Or can I go for LTSP-PNP?

LTSP-PNP can handle thin clients, too. And those application servers 
were very same in both howtos, I just changed root server (Debian AMD64 
LTSP vs. Debian i386 LTSP-PNP).

LTSP_FATCLIENTS=False
FAT_RAM_THRESHOLD=1024

https://help.ubuntu.com/community/UbuntuLTSP/FatClients

> I got the same problem with Edubuntu earlier and installed "tftp-hpa"
> package and it solved the problem. I also tried same with Debian but
> nothing went out.

Debian LTSP use DHCPD, TFTPD and NFS. Debian LTSP-PNP use DNSMASQD and 
NBD.

You have your TFTPD.

--

root@debian-ltsp:~# cat /etc/default/tftpd-hpa
# /etc/default/tftpd-hpa

TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/srv/tftp"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="--secure"

root@debian-ltsp:~# ps ax | grep tftp
  2900 ?Ss 0:00 /usr/sbin/in.tftpd --listen --user tftp 
--address 0.0.0.0:69 --secure /srv/tftp

Do you have this for DHCPD?

root@debian-ltsp:~# cat /etc/default/isc-dhcp-server
[--]
#DHCPD_CONF=/etc/dhcp/dhcpd.conf
[--]
#DHCPD_PID=/var/run/dhcpd.pid
[--]
#OPTIONS=""
[--]
INTERFACES="eth0"

--
Best Regards Asmo Koskinen.

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_
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] Debian LTSP, load balancing

2014-09-05 Thread Great Devil Singh
On Fri, Sep 5, 2014 at 7:50 PM,   wrote:
> Great Devil Singh kirjoitti 2014-09-05 16:24:
>
>> I am using LTSP only.(Not LTSP-PNP)
>
> That is good. Try first get familiar with LTSP. Learning curve is not
> easy.

Yes it is little difficult but it is so interesting. I am learning
many new things. :)

>> I am trying to boot Thin-client direct from root server without using
>> switch. Is it possible?
>
> I think so. I did that long ago. But better use switch.

Ok I got your point. if we are connecting directly we need crossover
cable other with straight cable we have to use switch.

> "Here we do setup for laptop demo. We need working LTSP setup in laptop
> and ethernet crossover cable for thin client. Laptop as a LTSP server is
> connected to the Internet by WLAN, another laptop as a thin client is
> connected to the LTSP server by LAN (ethernet crossover cable."
>
> Do not follow NAT thing in that howto.
>
> https://help.ubuntu.com/community/UbuntuLTSP/LaptopDemo

Ok. Thanks.

>> You mentioned first if I have HP txxx thin-clients simple LTSP is fine
>> with me. Or can I go for LTSP-PNP?
>
> LTSP-PNP can handle thin clients, too. And those application servers
> were very same in both howtos, I just changed root server (Debian AMD64
> LTSP vs. Debian i386 LTSP-PNP).
>
> LTSP_FATCLIENTS=False
> FAT_RAM_THRESHOLD=1024
>
> https://help.ubuntu.com/community/UbuntuLTSP/FatClients

One more thing I want to clear first. Root server provide boot image
to clients and application servers provide the applications to the
clients.(after login)

>> I got the same problem with Edubuntu earlier and installed "tftp-hpa"
>> package and it solved the problem. I also tried same with Debian but
>> nothing went out.
>
> Debian LTSP use DHCPD, TFTPD and NFS. Debian LTSP-PNP use DNSMASQD and
> NBD.
>
> You have your TFTPD.

Ok.

> root@debian-ltsp:~# cat /etc/default/tftpd-hpa
> # /etc/default/tftpd-hpa
>
> TFTP_USERNAME="tftp"
> TFTP_DIRECTORY="/srv/tftp"
> TFTP_ADDRESS="0.0.0.0:69"
> TFTP_OPTIONS="--secure"
>
> root@debian-ltsp:~# ps ax | grep tftp
>   2900 ?Ss 0:00 /usr/sbin/in.tftpd --listen --user tftp
> --address 0.0.0.0:69 --secure /srv/tftp
>
> Do you have this for DHCPD?
>
> root@debian-ltsp:~# cat /etc/default/isc-dhcp-server
> [--]
> #DHCPD_CONF=/etc/dhcp/dhcpd.conf
> [--]
> #DHCPD_PID=/var/run/dhcpd.pid
> [--]
> #OPTIONS=""
> [--]
> INTERFACES="eth0"

Yes I am able to run/restart dhcp.
Here is my dhcp:


root@waheguru:/home/root-ltsp# cat /etc/default/isc-dhcp-server

# Defaults for isc-dhcp-server initscript
# sourced by /etc/init.d/isc-dhcp-server
# installed at /etc/default/isc-dhcp-server by the maintainer scripts

#
# This is a POSIX shell fragment
#

# Path to dhcpd's config file (default: /etc/dhcp/dhcpd.conf).
#DHCPD_CONF=/etc/dhcp/dhcpd.conf

# Path to dhcpd's PID file (default: /var/run/dhcpd.pid).
#DHCPD_PID=/var/run/dhcpd.pid

# Additional options to start dhcpd with.
#Don't use options -cf or -pf here; use DHCPD_CONF/ DHCPD_PID instead
#OPTIONS=""

# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
#Separate multiple interfaces with spaces, e.g. "eth0 eth1".

INTERFACES="eth0"



-- 

Thanks
Arshpreet singh
http://arshpreetsingh.wordpress.com/

Let's Bring back "AWE" to "SOME" --->> "AWESOME"

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_
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] Debian LTSP, load balancing

2014-09-05 Thread asmo . koskinen
Great Devil Singh kirjoitti 2014-09-05 17:44:
> 
> One more thing I want to clear first. Root server provide boot image
> to clients and application servers provide the applications to the
> clients.(after login)

Yes. That is because of "ldm-server"-package you install in every 
application server. And because of root servers setup (lts.conf and 
get_hosts).

root@debian-app-01:~# dpkg -l | grep ldm
ii  ldm-server   2:2.2.11-2  
all  server components for LTSP display manager

In application servers there are nothing more LTSP related pacages.

Root server gives ip address (DHCPD) to the thin client and kernel 
(TFTPD) and access to the chroot directory (NFS).

Sep  5 18:03:08 debian-ltsp dhcpd: DHCPOFFER on 192.168.0.202 to 
08:00:27:cc:7a:ab via eth0
Sep  5 18:03:21 debian-ltsp rpc.mountd[2292]: authenticated mount 
request from 192.168.0.203:903 for /opt/ltsp/i386 (/opt/ltsp)

Application server gives applications. /home is mounted from root server 
to the application server.

Sep  5 18:04:13 debian-app-01 sshd[3133]: Accepted password for ltsp001 
from 192.168.0.203 port 54069 ssh2
Sep  5 18:04:13 debian-app-01 sshd[3133]: pam_unix(sshd:session): 
session opened for user ltsp001 by (uid=0)

root@debian-app-01:~# mount | grep /home
192.168.0.105:/home on /home type nfs4 
(rw,relatime,vers=4,rsize=8192,wsize=8192,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.0.106,minorversion=0,local_lock=none,addr=192.168.0.105)

Remember that root server for LTSP can be AMD64, but do not have to be; 
but chroot have to be i386. And also application servers have to be 
i386. If using LTSP-PNP root server got to be i386.

So when I open some heavy program like LibreOffice thin client run it in 
application server, not in root server.

root@debian-app-01:~# ps ax | grep libreoffice
  3368 ?Sl 0:00 /usr/lib/libreoffice/program/oosplash 
--writer
  3402 ?Sl 0:02 /usr/lib/libreoffice/program/soffice.bin 
--writer --splash-pipe=6

Best Regards Asmo Koskinen.

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_
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] Debian LTSP, load balancing

2014-09-05 Thread James McQuillan
If you are using Gigabit ethernet,  you don't need a crossover cable.

part of the gigabit spec is to automatically sense whether the devices are
plugged into a switch or directly into another machine.

Jim McQuillan
j...@ltsp.org


On Fri, Sep 5, 2014 at 10:44 AM, Great Devil Singh 
wrote:

> On Fri, Sep 5, 2014 at 7:50 PM,   wrote:
> > Great Devil Singh kirjoitti 2014-09-05 16:24:
> >
> >> I am using LTSP only.(Not LTSP-PNP)
> >
> > That is good. Try first get familiar with LTSP. Learning curve is not
> > easy.
>
> Yes it is little difficult but it is so interesting. I am learning
> many new things. :)
>
> >> I am trying to boot Thin-client direct from root server without using
> >> switch. Is it possible?
> >
> > I think so. I did that long ago. But better use switch.
>
> Ok I got your point. if we are connecting directly we need crossover
> cable other with straight cable we have to use switch.
>
> > "Here we do setup for laptop demo. We need working LTSP setup in laptop
> > and ethernet crossover cable for thin client. Laptop as a LTSP server is
> > connected to the Internet by WLAN, another laptop as a thin client is
> > connected to the LTSP server by LAN (ethernet crossover cable."
> >
> > Do not follow NAT thing in that howto.
> >
> > https://help.ubuntu.com/community/UbuntuLTSP/LaptopDemo
>
> Ok. Thanks.
>
> >> You mentioned first if I have HP txxx thin-clients simple LTSP is fine
> >> with me. Or can I go for LTSP-PNP?
> >
> > LTSP-PNP can handle thin clients, too. And those application servers
> > were very same in both howtos, I just changed root server (Debian AMD64
> > LTSP vs. Debian i386 LTSP-PNP).
> >
> > LTSP_FATCLIENTS=False
> > FAT_RAM_THRESHOLD=1024
> >
> > https://help.ubuntu.com/community/UbuntuLTSP/FatClients
>
> One more thing I want to clear first. Root server provide boot image
> to clients and application servers provide the applications to the
> clients.(after login)
>
> >> I got the same problem with Edubuntu earlier and installed "tftp-hpa"
> >> package and it solved the problem. I also tried same with Debian but
> >> nothing went out.
> >
> > Debian LTSP use DHCPD, TFTPD and NFS. Debian LTSP-PNP use DNSMASQD and
> > NBD.
> >
> > You have your TFTPD.
>
> Ok.
>
> > root@debian-ltsp:~# cat /etc/default/tftpd-hpa
> > # /etc/default/tftpd-hpa
> >
> > TFTP_USERNAME="tftp"
> > TFTP_DIRECTORY="/srv/tftp"
> > TFTP_ADDRESS="0.0.0.0:69"
> > TFTP_OPTIONS="--secure"
> >
> > root@debian-ltsp:~# ps ax | grep tftp
> >   2900 ?Ss 0:00 /usr/sbin/in.tftpd --listen --user tftp
> > --address 0.0.0.0:69 --secure /srv/tftp
> >
> > Do you have this for DHCPD?
> >
> > root@debian-ltsp:~# cat /etc/default/isc-dhcp-server
> > [--]
> > #DHCPD_CONF=/etc/dhcp/dhcpd.conf
> > [--]
> > #DHCPD_PID=/var/run/dhcpd.pid
> > [--]
> > #OPTIONS=""
> > [--]
> > INTERFACES="eth0"
>
> Yes I am able to run/restart dhcp.
> Here is my dhcp:
>
>
> root@waheguru:/home/root-ltsp# cat /etc/default/isc-dhcp-server
>
> # Defaults for isc-dhcp-server initscript
> # sourced by /etc/init.d/isc-dhcp-server
> # installed at /etc/default/isc-dhcp-server by the maintainer scripts
>
> #
> # This is a POSIX shell fragment
> #
>
> # Path to dhcpd's config file (default: /etc/dhcp/dhcpd.conf).
> #DHCPD_CONF=/etc/dhcp/dhcpd.conf
>
> # Path to dhcpd's PID file (default: /var/run/dhcpd.pid).
> #DHCPD_PID=/var/run/dhcpd.pid
>
> # Additional options to start dhcpd with.
> #Don't use options -cf or -pf here; use DHCPD_CONF/ DHCPD_PID instead
> #OPTIONS=""
>
> # On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
> #Separate multiple interfaces with spaces, e.g. "eth0 eth1".
>
> INTERFACES="eth0"
>
>
>
> --
>
> Thanks
> Arshpreet singh
> http://arshpreetsingh.wordpress.com/
>
> Let's Bring back "AWE" to "SOME" --->> "AWESOME"
>
>
> --
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> _
> 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
>
--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/_
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] Debian LTSP, load balancing

2014-09-05 Thread Vagrant Cascadian
On 2014-09-05 10:18:24 -0500, James McQuillan wrote:
> If you are using Gigabit ethernet,  you don't need a crossover cable.
>
> part of the gigabit spec is to automatically sense whether the devices are
> plugged into a switch or directly into another machine.

Though I've definitely encountered thin clients which didn't negotiate a
link fast enough for auto-sensing to work, and PXE boot would fail,
while a genuine crossover worked. And other clients worked fine with the
same server. Nothing quite like real-world testing!


live well,
  vagrant


pgpC5FmltuDbk.pgp
Description: PGP signature
--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/_
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


[Ltsp-discuss] troubles with libreoffice as a localapp

2014-09-05 Thread Ivaylo Ganchev
Hello,

As reported a month ago, I still have a problem with running LibreOffice as a 
localapp. Here are some details.

When I start it from the menu, the progress bar shows for a second and then 
abruptly disappears. When I start LibreOffice as a remote app on the server it 
starts just well.

If I start a xterm as a localapp and then launch libreoffice from there, I see 
no debug messages. The progress bar shows for a second and then disappears.

There is another web-based java application that don't start at all. The 
firefox window shows, but it never starts the application.

I thought it is a java problem, but currently am able to start java 
applications as a localapp.

Any help would be welcome, because I am kind of stuck with this problem.

Best regards,

--
Ivaylo Ganchev 

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_
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