IRC chat logs for #ltsp on irc.libera.chat (webchat)


Channel log from 18 November 2010   (all times are UTC)

00:16alkisg has joined #ltsp
00:21
<alkisg>
!forget SCREEN_02
00:21
<ltspbot>
alkisg: The operation succeeded.
00:22
<alkisg>
!learn SCREEN_02 as to get a root shell on an Ubuntu thin client: https://help.ubuntu.com/community/UbuntuLTSP/ClientTroubleshooting#Using%20a%20shell%20SCREEN
00:22
<ltspbot>
alkisg: The operation succeeded.
00:32talntid has quit IRC
00:44alexqwesa has quit IRC
00:57sweetpi has quit IRC
00:57alexqwesa has joined #ltsp
01:32Trixboxer has joined #ltsp
01:51dlezcano has quit IRC
02:04litlebuda has joined #ltsp
02:09dobber has joined #ltsp
02:22zz_evil_root has quit IRC
02:26zz_evil_root has joined #ltsp
02:26zz_evil_root is now known as evil_root
02:59cyberorg has quit IRC
03:39dlezcano has joined #ltsp
03:49Da-Geek has joined #ltsp
04:04bobby_C has joined #ltsp
04:49bobby_C has quit IRC
05:19otavio has quit IRC
05:21otavio has joined #ltsp
05:21otavio has joined #ltsp
05:23otavio has quit IRC
05:23otavio has joined #ltsp
05:26
<alkisg>
!learn socat-screen as to share a local thin client shell with a remote person, see https://help.ubuntu.com/community/UbuntuLTSP/Troubleshooting/socat-screen
05:26
<ltspbot>
alkisg: The operation succeeded.
05:42mistik1 has quit IRC
05:49otavio has quit IRC
06:00otavio has joined #ltsp
06:08ogra_ac has quit IRC
06:09ogra_ac has joined #ltsp
06:10cyberorg has joined #ltsp
06:14[GuS] has joined #ltsp
06:14[GuS] has joined #ltsp
06:17FGXR6 has joined #ltsp
06:25F-GTSC has joined #ltsp
06:40F-GT has quit IRC
06:55cyberorg has quit IRC
07:04mistik1 has joined #ltsp
07:04mistik1 has joined #ltsp
07:45mgariepy has joined #ltsp
07:58Gadi has joined #ltsp
08:18dlezcano has quit IRC
08:29ogra has quit IRC
08:30ogra has joined #ltsp
08:31bobby_C has joined #ltsp
08:32leio has quit IRC
08:32leio has joined #ltsp
08:41FGXR6 has quit IRC
08:58FGXR6 has joined #ltsp
09:04komunista has joined #ltsp
09:34Da-Geek has quit IRC
09:44klausade has joined #ltsp
10:06toscalix has joined #ltsp
10:13Pweg has joined #ltsp
10:17staffencasa has joined #ltsp
10:31Appiah has quit IRC
10:31Appiah has joined #ltsp
10:42toscalix has quit IRC
10:43Appiah has quit IRC
10:43Appiah has joined #ltsp
10:57dlezcano has joined #ltsp
10:57dobber has quit IRC
11:12mikkel has joined #ltsp
11:31cfkane has joined #ltsp
11:35
<cfkane>
I can't get a client's printer to work (lp0, HP LJ4, Ubuntu Lucid server). Standalone printers are seen fine, as are printers hanging off standalone machines. Only printers on clients on the Lucid server are not working. Any ideas or fixes out there? thx
11:54
<Gadi>
cfkane: as in plugged into the client machines?
11:55
have you set the clients up with an IP address reservation, added the lts.conf params, and set up the printer queues as jetdirect printers?
11:55
<cfkane>
yes. I might have just stumbled on a/the fix. But yes, I meant printers on clients via parallel cable
11:59
I'm not sure what you mean by "reservation". I'm using client specific IP addresses, not "range" in dhcpd.conf.
11:59
<Gadi>
right
12:00
that's an IP reservation in DHCP-parlance
12:00
such that that client always gets reserved that IP
12:00
would suck to set up a network print queue only to have the IP change
12:13
<cfkane>
I just got back. I had changed the /etc/cups/cups.conf "Listen" directive from localhost to the server's actual IP address. Didn't help.
12:18
<Gadi>
do the print queues work?
12:18
ie, can you print a test page to a local client?
12:24
<cfkane>
No, not to this printer on the client. Otherwise, yes. To a Sharp copier and to an HP LJ4 hanging off a standalone Ubuntu Jaunty machine via a parallel cable.
12:28
The clients are able to sumit print jobs to the server. But there they stop. I buld the printer on the server but when I send it a test page a yellow triangle is appended to the printer's icon in the dialog box.
12:30
Maybe this will help:
12:30
No ID match for device socket://192.168.3.54:9100:
12:32gnujach has joined #ltsp
12:32
<cfkane>
is what I'm seeing. I'm at my machine and exporting the server's display to my desktop. then I run "gnome-control-center &" and fire up the printer module. With the ampersand I can get my prompt back any time but I still get output about what the printer modules is saying.
12:33
What ID might it be looking for? It also says:
12:33
Using lsb/usr/cups-included/textonly.ppd (status: 3)
12:34
I'll get a PPD from another server but I can't believe this thing can't deal with a simple postscript printer like a laserjet 4.
12:37
<Gadi>
it sounds like the queue is not set up properly
12:37
if the LTSP client is at 192.168.3.54,
12:37
and you have PRINTER_0_DEVICE = /dev/lp0
12:37
in lts.conf
12:38
and you set up the print queue as you did, selecting the correct driver for HPLJ4
12:38
it should work
12:38
<cfkane>
I'll check the lts.conf but I'm sure it's there.
12:39
<Gadi>
cfkane: you can also try: telnet 192.168.3.54 9100
12:39
<cfkane>
Yup, it's there.
12:40
Bingo "telnet: Unable to connect to remote host: Connection refused" How to fix? /etc/services?
12:40
<Gadi>
no - that means that jetpipe is not running on the client
12:40
what distro?
12:40
<cfkane>
I read there were license issues with that.
12:41
Is there a package?
12:41
<Gadi>
nah
12:41
it is part of the ltsp package
12:41
what distro?
12:41
ah, you said
12:41
Ubuntu
12:42
did you upgrade to Lucid or was it a fresh install?
12:42
<cfkane>
Ubuntu Lucid amd64 server, with ubuntu-desktop installed.
12:42
Fresh
12:42
<Gadi>
and your lts.conf is in: /var/lib/tftpboot/ltsp/i386/lts.conf
12:42
right?
12:42
<cfkane>
yes.
12:42
<Gadi>
and: grep tftp /etc/inetd.conf
12:42
has /var/lib/tftpboot in it?
12:43
<cfkane>
No, I don't see that in inetd.
12:43
maybe xinetd...
12:44
<Gadi>
xinetd?
12:44
dpkg -l|grep inetd
12:44
<cfkane>
ii openbsd-inetd
12:44
ii update-inetd
12:45
<Gadi>
dpkg -l|grep tftp
12:45
<cfkane>
FYI: p xinetd - replacement for inetd with many enhancements
12:45
<Gadi>
ah... did you install xinetd?
12:45
<cfkane>
ii tftpd-hpa
12:46mistik1 has quit IRC
12:46
<cfkane>
I've had problems with this version 5.0. I've even hacked in the earlier version from karmin (something like 0.48 or whatever)
12:47
ii tftpd-hpa 5.0-11ubuntu2
12:47
No. No xinetd. Would do that in the old ltsp-4.x days (Nice system, that)
12:48
<Gadi>
:)
12:48
ok, well you are missing the inetd.conf line for tftp
12:48
which means that your lts.conf is not getting downloaded
12:48
so, let's fix that
12:48
<alkisg>
Gadi: that's in /etc/default/tftpd-hpa
12:48
in Lucid
12:48
<Gadi>
really?
12:48
<alkisg>
Yup, it doesn't start from inetd anymore
12:48Kyle__ has quit IRC
12:49
<alkisg>
!localxterm
12:49
<ltspbot>
alkisg: "localxterm" :: while sitting on a thin client, open a gnome terminal. In that, run: ltsp-localapps xterm. An xterm will open. That xterm runs locally, so any commands you enter there are executed directly on the client.
12:49
<Gadi>
huh
12:49
<alkisg>
cfkane: on a localxterm, type `getltscfg -a` to verify that your lts.conf is being parsed
12:49
<Gadi>
good tip
12:50
<cfkane>
ans: The program 'getltscfg' is currently not installed
12:50
It includes directions: apt-get install ltsp-client-core
12:50
<Gadi>
cfkane: run ltsp-localapps xterm
12:50
<cfkane>
Will this accidently over-write anything critical?
12:50
<Gadi>
while sitting at the client
12:50
don't install anything
12:51
just run: ltsp-localapps xterm
12:51
while sitting at the thin client
12:51
<cfkane>
At the client. OK. I'll walk over there. Be back in a bit...
12:51
<Gadi>
that will start an xterm running on the client, in which you can run local commands
12:52
like: getltscfg -a
12:52
<cfkane>
I'll install xchat and pick this up from the client, it's across the building. thanks.
12:55
<alkisg>
cfkane: http://webchat.freenode.net/?channels=ltsp
12:55
(web irc front-end)
12:56cfkane has quit IRC
12:57cfkane has joined #ltsp
12:57shawnp0wers has joined #ltsp
13:01
<cfkane>
I'm back, at a client, not the one with the printer. do I need to be there?
13:01Trixboxer has quit IRC
13:03
<cfkane>
Gadi: I'm back.
13:06Lns has joined #ltsp
13:08
<alkisg>
cfkane: until Gadi gets back, try the `getltscfg -a` command on a local terminal
13:08
!localxterm
13:08
<ltspbot>
alkisg: "localxterm" :: while sitting on a thin client, open a gnome terminal. In that, run: ltsp-localapps xterm. An xterm will open. That xterm runs locally, so any commands you enter there are executed directly on the client.
13:09
<cfkane>
syntax error in /etc/lts.conf, line=7
13:09
<alkisg>
So you have a problem with your lts.conf
13:09
Upload it to pastebot
13:09
!pastebot
13:09
<ltspbot>
alkisg: "pastebot" :: The LTSP pastebot is at http://ltsp.pastebin.com. Please paste all text longer than a line or two to the pastebot, as it helps to reduce traffic in the channel. Don't forget to paste the URL of the text here.
13:12
<cfkane>
OK, but I'll check lts.conf first. I'm familiar with it. Then I'll pastebot
13:12ogra_ac has quit IRC
13:17ogra_ac has joined #ltsp
13:23
<cfkane>
http://ltsp.pastebin.com/4LFKbTWd
13:25
I can see the error. the line "key=value" is not commented out. I did that and ran ltsp-update-image --arch i386 but it changed nothing in the chroot. Where can this be edited?
13:26
FYI: this is the lts.conf from the getltscfg -a command. that would be from the chroot wouldn't it?
13:29vagrantc has joined #ltsp
13:30shawnp0wers has quit IRC
13:31
<cfkane>
I've checked both lts.confs; the one in /opt/ltsp/i386/etc, and the one in /var/lib/tftpboot/ltsp. they're both commented out but ltdcfg -a still says the error's there. getltscfg looks at some built image and this needs to be re-built after my commenting those files. Right?
13:31
<alkisg>
cfkane: the problem with the lts.conf you pasted is that it doesn't have any sections at all
13:31
You need a [Default] section on top of it
13:32
Also aren't you supposed to declare the printer there, like Gadi wrote above?
13:32
<cfkane>
You need the one in the server's environment (/opt/ltsp/i386/etc)? I'll do that now.
13:35
<alkisg>
cfkane: no, you need to modify the one in the server's /var/lib/tftpboot/ltsp/i386/lts.conf
13:35
The one in /opt/ltsp/i386 is ignored if the other one exists
13:36
<cfkane>
I'm being kicked off of this client. I'm going back to my machine and I'll get the right lts.conf. It *does* have sections. Bye and thanks.
13:36
<alkisg>
cfkane: also, you don't need to run ltsp-update-image when you change lts.conf
13:36cfkane has left #ltsp
13:37shawnp0wers has joined #ltsp
13:43cfkane has joined #ltsp
13:45
<cfkane>
Gadi: Here's my lts.conf from /var/lib/tftpboot/ltsp/lts.conf
13:45
Gadi: http://ltsp.pastebin.com/EQNF4jXx
13:46
<Gadi>
sorry, was afk
13:46
cfkane: you cannot have an empty [default]
13:46
that's a syntax error
13:46
add something
13:46
like
13:46
foo=bar
13:46
under it
13:47
ah
13:47
read too
13:47
read too quickly
13:48
try not have so many lines between things
13:48
<cfkane>
Gadi: In the lts.conf I pasted there are entries under [default]. Printer cfg lines.
13:48
<Gadi>
like have
13:48
[default]
13:48
entry1
13:48
not sure if it makes a difference, but it might help find your syntax error
13:49
<alkisg>
cfkane: that's probably NOT the lts.conf that the client receives
13:49
<cfkane>
Gadi: Ha! I'm posting between your rsponse lines. Too much coffee here...
13:50
alkisg: I can believe that from the output of getltscfg -a. Just where *is* the lts.cfg the clients get?
13:51
<alkisg>
cfkane: grep DIRECTORY /etc/default/tftpd-hpa
13:52
<cfkane>
alkisg: TFTP_DIRECTORY="/var/lib/tftpboot"
13:52
<alkisg>
cfkane: grep TFTP_OPTIONS /etc/default/tftpd-hpa
13:53
<cfkane>
I remember there were some changes made by Ubuntu when their tftpd package was upgraded
13:53
TFTP_OPTIONS="--secure"
13:53
<alkisg>
Your tftp setup is ok, let's check your dhcp...
13:53
cfkane: grep filename /etc/ltsp/dhcpd.conf
13:53
<cfkane>
make that tftpd-hpa
13:54
filename "/ltsp/i386/pxelinux.0";
13:54
filename "/ltsp/i386/nbi.img";
13:55
<alkisg>
And the one you put to pastebin is /var/lib/tftpboot/ltsp/i386/lts.conf ?
13:55
<cfkane>
Correct.
13:55
<alkisg>
Something doesn't sound right... :D
13:55
Ok, change your TFTP_OPTIONS to TFTP_OPTIONS="--verbose --secure"
13:56
Then: sudo restart tftpd-hpa
13:56
Then reboot a client and check your daemon log, you'll see the lts.conf it downloads from tftp there
13:57
<cfkane>
Be right back.
13:58[GuS] has quit IRC
14:00
<cfkane>
alkisg: RRQ from 192.168.3.41 filename /ltsp/i386//lts.conf. Where would that double slash come from?
14:00
<alkisg>
That's not a problem though
14:01
<cfkane>
Other than that it's OK then?
14:01
The expected path
14:01
<alkisg>
Well it seems so, but since the client is complaining about a syntax error, it isn't :D
14:02
<cfkane>
Is there a file or command switch that will let me spec a non-default lts.conf at client boot time?
14:02
Maybe I can force its hand
14:03
<alkisg>
Ah, no, there is a syntax error
14:03
No empty lines are allowed outside a section
14:03jhutchins_kc has quit IRC
14:03
<cfkane>
Dang. I like a brute force approach at times.
14:03
<alkisg>
So line 6 is a syntax error
14:04
So put [Default] as the very first line to make sure you never get that problem again :)
14:04jhutchins has joined #ltsp
14:08
<cfkane>
alkisg: That's a capital "D", right? Not lower case?
14:08
<alkisg>
case doesn't matter in sections
14:10shawnp0wers has quit IRC
14:10
<alkisg>
(the code mentions it as [Default] though, so I'm personally preferring that)
14:13
<cfkane>
I've made the change and I'll give it a shot. Then I'll go clean up the empty lines.
14:29
alkisg: That was the ticket! Everything prints fine. thanks for all the help. You too Gadi! And anyone I missed.
14:29cfkane has left #ltsp
14:32Lns has quit IRC
14:38shawnp0wers has joined #ltsp
14:51mistik1 has joined #ltsp
15:03Gadi has left #ltsp
15:06ogra_ac has quit IRC
15:15shawnp0wers has quit IRC
15:16LandryD_ has joined #ltsp
15:16
<LandryD_>
Help needed with ltsp-remoteapps
15:17
I have a working server and fatclients. I want to use ltsp-remoteapps to launch some applications on the server but this does not seem to be working
15:18
I have made the remoteapps entry in the ltsp.conf file
15:19ogra_ac has joined #ltsp
15:21
<alkisg>
LandryD_: distro/version?
15:22
<LandryD_>
Ubuntu 10.04 ltsp 5.2
15:23
<alkisg>
!localxterm
15:23
<ltspbot>
alkisg: "localxterm" :: while sitting on a thin client, open a gnome terminal. In that, run: ltsp-localapps xterm. An xterm will open. That xterm runs locally, so any commands you enter there are executed directly on the client.
15:23
<alkisg>
LandryD_: so on a localxterm, if you run: ltsp-remoteapps gnome-calculator, does a calculator open?
15:25ogra_ac has quit IRC
15:26
<LandryD_>
No. If I run the command using sh -x the string "xprop -root -f LTSP_RCOMMAND 8s -set LTSP_RCOMMAND xcal" is the result. No application is launched
15:26
<alkisg>
Again in a localxterm, what does this give you? getltscfg -a
15:27
(btw xcal? not gnome-calculator? is xcal even installed?)
15:28
<LandryD_>
it was 'xcalc. Yes it's installed
15:28
<alkisg>
OK, what's the output of getltscfg -a ?
15:30
<LandryD_>
getltscfg -a shows "REMOTE_APPS=True" "LOCAL_APPS=True" anything in particular to look for here?
15:31gnujach has quit IRC
15:32
<LandryD_>
Here's the full output of getltscfg -a
15:33
net1@ltsp21:~$ getltscfg -a
15:33
REMOTE_APPS="True"
15:33
LOCAL_APPS="True"
15:33
LOCAL_APPS_MENU="True"
15:33
LOCAL_APPS_MENU_ITMES="firefox"
15:33
SEARCH_DOMAIN="santacruzpl.org"
15:33
DNS_SERVER="63.193.16.68"
15:33
export REMOTE_APPS
15:33
export LOCAL_APPS
15:33
export LOCAL_APPS_MENU
15:33
export LOCAL_APPS_MENU_ITMES
15:33
export SEARCH_DOMAIN
15:33
export DNS_SERVER
15:33
<alkisg>
!pastebot
15:33
<ltspbot>
alkisg: "pastebot" :: The LTSP pastebot is at http://ltsp.pastebin.com. Please paste all text longer than a line or two to the pastebot, as it helps to reduce traffic in the channel. Don't forget to paste the URL of the text here.
15:33mgariepy has quit IRC
15:33
<alkisg>
Also, with fat clients, local apps are not really needed, as all are localapps
15:34
Also there's a typo in _ITMES
15:34
It should be "ITEMS"
15:35
<LandryD_>
So I should remove the LOCAL_APPS references?
15:36
<alkisg>
Yup better do that so it's more straightforward
15:37ogra_ac has joined #ltsp
15:38
<alkisg>
Also verify (with ps -ef|grep remote) that ltsp-remoteappsd is running
15:42ogra_ac has quit IRC
15:43
<LandryD_>
I made the changes and started ltsp-update-image...so...waiting
15:43
<alkisg>
LandryD_: you don't need to run ltsp-update-image when you change lts.conf
15:44
<LandryD_>
I just like to wait :-)
15:48ogra_ac has joined #ltsp
15:52
<LandryD_>
Verified that ltsp-remoteappsd is running. getltscfg -a shows that all references to LOCALAPPS are removed and that REMOTE_APPS=True appears. The result of running /usr/bin/ltsp-remoteapps gnome-calculator is the same; no app is launched.
15:53ogra_ac has quit IRC
15:54
<Pweg>
stupid question: where in dhcpd.conf would I append the host declarations for static ips?
15:54
or does it matter?
15:55
<alkisg>
Goodnight all
15:55alkisg has quit IRC
15:56
<LandryD_>
statics should not occur within the range for dynamic address assignment. They don't need to be in dhcp
15:57
<Pweg>
you need declarations in the conf file for it to recognize them on boot though don't you?
16:01shawnp0wers has joined #ltsp
16:05
<LandryD_>
Not sure what you are trying to accomplish but statics are resolved by dns. Are you really asking about dhcp reserved addresses?
16:07
<Pweg>
I may be, now I'm not sure anymore. https://help.ubuntu.com/community/UbuntuLTSP/StaticIPsWithDHCP is what I'm referencing.
16:08
<LandryD_>
alkisg had to leave. Still can't resolve my problem with ltsp-remoteapps. Output of getltscfg, and other info is in the pastebin at http://ltsp.pastebin.com/birqz5dC if anyone can help.
16:11
That document is describing reserved dhcp addressing which is what you want to do. Strictly speaking this is not static ip but only maps a mac address to a specific ip in the dhcp range.
16:11
<Pweg>
ah, ok.
16:56mikkel has quit IRC
16:57shawnp0wers has quit IRC
16:59komunista has quit IRC
17:00bobby_C has quit IRC
17:12shawnp0wers has joined #ltsp
17:18artista_frustrad has quit IRC
17:32artista_frustrad has joined #ltsp
17:41evil_root is now known as zz_evil_root
17:42
<LandryD_>
anyone around that can help with ltsp-remoteapps?
17:43shawnp0wers has quit IRC
17:44vagrantc has quit IRC
17:46hughessd has joined #ltsp
17:48LandryD_ has left #ltsp
18:02Pweg has quit IRC
18:06spectra has quit IRC
18:08spectra has joined #ltsp
18:08landryd_ has joined #ltsp
18:08landryd_ has left #ltsp
18:10vagrantc has joined #ltsp
18:18wideyes has joined #ltsp
18:22litlebuda has joined #ltsp
18:30bobby_C has joined #ltsp
18:33wideyes has quit IRC
18:44GodFather has joined #ltsp
18:45staffencasa has quit IRC
18:52GodFather has quit IRC
18:56bobby_C has quit IRC
19:01shawnp0wers has joined #ltsp
19:02vagrantc has quit IRC
19:03vagrantc has joined #ltsp
19:11spectra has quit IRC
19:12hughessd has quit IRC
19:13spectra has joined #ltsp
19:14vagrantc has quit IRC
19:17spectra has quit IRC
19:18spectra has joined #ltsp
19:31shawnp0wers is now known as Chastity_Belt_Ma
19:32Chastity_Belt_Ma is now known as shawnp0wers
19:57spectra has quit IRC
19:58spectra has joined #ltsp
20:34litlebuda has quit IRC
20:35litlebuda has joined #ltsp
20:42litlebuda has quit IRC
20:43litlebuda has joined #ltsp
21:08litlebuda has quit IRC
21:09litlebuda has joined #ltsp
21:13litlebuda has quit IRC
21:33daya has joined #ltsp
21:37artista_frustrad has quit IRC
22:45zz_evil_root is now known as evil_root
23:15alkisg has joined #ltsp