00:25 | mordocai has quit IRC | |
00:47 | mistik1_ has joined #ltsp | |
00:48 | mistik1 has quit IRC | |
00:48 | mistik1_ is now known as mistik1 | |
01:08 | sweetpi has quit IRC | |
01:23 | Kicer86 has joined #ltsp | |
02:03 | alkisg has joined #ltsp | |
02:04 | dobber has joined #ltsp | |
02:14 | <Pacifica> Hi. Using both local and LDAP accounts. ssh login for both local and LDAP works fine however I can only login on thin clients with local accounts, not LDAP accounts.
| |
02:14 | auth.log shows a successful login with LDAP but no desktop shows and the LDM login screen is shown again.
| |
02:26 | <Appiah> so you pass the login screen , you se the desktop starting to load but you get thrown back to login?
| |
02:28 | <Pacifica> does anyone know when/where the home dir of the user is mounted?
| |
02:28 | <Appiah> O_o they are not unless you make it
| |
02:28 | <Pacifica> yes login is successful
| |
02:29 | zz_evil_root is now known as evil_root | |
02:29 | <Appiah> they will access /home/username
| |
02:29 | stgraber has quit IRC | |
02:29 | <Appiah> or whatever you specify in their account
| |
02:29 | stgraber has joined #ltsp | |
02:29 | <Appiah> on that server
| |
02:29 | evil_root is now known as zz_evil_root | |
02:29 | <Appiah> maybe its a permisson issue
| |
02:29 | check /var/log/messages
| |
02:35 | daya has quit IRC | |
02:47 | daya has joined #ltsp | |
03:01 | alkisg has quit IRC | |
03:06 | bobby_C has joined #ltsp | |
03:06 | daya has quit IRC | |
03:07 | daya has joined #ltsp | |
03:09 | asmok has joined #ltsp | |
03:09 | asmok has joined #ltsp | |
03:11 | <asmok> hi, i use to have KVM on 8.04, LTSP worked just fine - when i use 10.10 as a KVM host i get tftpboot time out - tc gets it's ip as usual - any advice for tftpboot timeout problem in 10.10 KVM machine
| |
03:14 | <Appiah> Just treat it as tftpboot timeout problem with 10.04/10.10
| |
03:14 | KVM or not
| |
03:14 | did you upgrade or is it a fresh install?
| |
03:15 | <asmok> it is fresh
| |
03:15 | any howto to read?
| |
03:15 | <Appiah> https://help.ubuntu.com/community/UbuntuLTSP/Troubleshooting/TFTP
| |
03:16 | <asmok> thanks
| |
03:18 | it is not in main page (ubuntultsp)? this one should be
| |
03:19 | <Appiah> true
| |
03:19 | should be under Troubleshooting section
| |
03:19 | <asmok> i'm going to add it now
| |
03:22 | done, thank you and bye
| |
03:22 | asmok has left #ltsp | |
03:28 | Da-Geek has joined #ltsp | |
03:32 | <Pacifica> Appiah, sorry had meetings. var/log/messages shows nbd errors but I don't think that's the issue... from what I understand those are part of the termination of the session.
| |
03:33 | According to auth.log, we have a successful login via LDAP but the Gnome session fails to start.
| |
03:34 | We're using pam_mkhome which indeed creates a home dir in /home if it doesn't exist yet
| |
03:35 | The error messages we see in the log on the LTSP client are:
| |
03:36 | nbd9: unknown partition table, nbd9: NBD_DISCONNECT, nbd9: Receive control failed (result -32), nbd9: queue cleared, acpid: client 1613[0:0] has disconnected
| |
03:36 | but as I said I think these are a result of the problem, not the cause.
| |
03:36 | there are no errors in the syslog on the LTSP server
| |
03:37 | It's late here - time to call it a day - thanks for listening and I'd be happy to hear suggestions how I can further analyse this issue.
| |
03:38 | <Appiah> not that
| |
03:38 | check the .xsession logs
| |
03:41 | <Pacifica> there is no .xsession log
| |
03:42 | after a successful ssh login and a unsuccessful ldap login (using the LTSP client), I see .bash_logout, .bashrc, .cache, examples.desktop, .profile and .Xauthority
| |
03:42 | that's it.
| |
03:43 | have a good day - thank you so far - will be back tomorrow
| |
03:43 | Pacifica has quit IRC | |
03:52 | zz_evil_root is now known as evil_root | |
03:53 | evil_root is now known as zz_evil_root | |
04:01 | zz_evil_root is now known as evil_root | |
04:04 | evil_root is now known as zz_evil_root | |
04:42 | alkisg has joined #ltsp | |
04:57 | alkisg has quit IRC | |
05:01 | Axachi has joined #ltsp | |
05:03 | <Axachi> ?
| |
05:03 | Annyone her?
| |
05:03 | <Appiah> nope
| |
05:03 | <Axachi> :)
| |
05:03 | <Appiah> No one
| |
05:04 | <Axachi> Hello I need some help with a LTSP Ubuntu dist. I have setup
| |
05:09 | <Hyperbyte> !ask
| |
05:09 | <ltspbot`> Hyperbyte: "ask" :: Don't ask to ask a question, simply ask it, and if someone knows the answer, they'll respond. Please hang around for at least 15 minutes after asking a question, as not everybody constantly monitors the channel.
| |
05:10 | <Hyperbyte> :)
| |
05:19 | (you realize that that's your cue to ask a question, right, Axachi?)
| |
05:22 | daya has quit IRC | |
05:24 | <Axachi> Hi yes I need help with the rdesktop screen script'
| |
05:25 | bobby_C has quit IRC | |
05:25 | <Axachi> I am trying to do a singel line SCREEN_07 "rdesktop -a 16 IP"
| |
05:25 | but it fails
| |
05:25 | the mutil line works
| |
05:26 | multi even
| |
05:26 | <Appiah> does just "rdesktop" work?
| |
05:26 | <Axachi> yes with RDP_SERVER servername and RDP_OPTIONS "-a 16" etc..
| |
05:27 | When I do the single line ver. it comes up with a black screen and a mouse pointer
| |
05:28 | I can copy the Script her..
| |
05:29 | I am on ubuntu 10.10
| |
05:32 | <Hyperbyte> There is no single-line configuration
| |
05:32 | !lts.conf
| |
05:32 | <ltspbot`> Hyperbyte: "lts.conf" :: http://manpages.ubuntu.com/lts.conf
| |
05:33 | <Axachi> ?
| |
05:33 | says so in the pdf
| |
05:33 | and in the script rdesktop
| |
05:33 | <Appiah> never seen anyone do
| |
05:34 | <Hyperbyte> See that link, it's the current documentation.
| |
05:34 | <Axachi> # Call this through lts.conf like this:
| |
05:34 | # RDP_OPTIONS = "-a 16"
| |
05:34 | # RDP_SERVER = w2k3.terminal.server.ip
| |
05:34 | # SCREEN_02 = rdesktop
| |
05:34 | #
| |
05:34 | # or like this:
| |
05:34 | # SCREEN_02 = "rdesktop -a 16 w2k3.terminal.server.ip"
| |
05:34 | this is in the script... you see'
| |
05:34 | This is what I want.. :P
| |
05:34 | alkisg has joined #ltsp | |
05:35 | <Appiah> !pastebin
| |
05:35 | <ltspbot`> Appiah: "pastebin" :: try !pastebot
| |
05:35 | <Hyperbyte> Axachi: look at the link ltspbot just gave you. It's the current documentation. There are no arguments after "rdesktop" in the lts.conf SCREEN option
| |
05:36 | Plus, if you have it working when you specify it with multiple lines... why on earth would you want to get it down to 1 line per se?
| |
05:37 | <Axachi> well maby I would like different screens for different RDP connections :)
| |
05:37 | and swap with ctrl alt F2 -F3
| |
05:38 | this is wat this docsays as well http://ignum.dl.sourceforge.net/project/ltsp/Docs-Admin-Guide/LTSPManual.pdf
| |
05:38 | clearly on page 37...
| |
05:39 | it states if can be done.
| |
05:39 | it
| |
05:39 | <Appiah> never seen that pdf..
| |
05:39 | !docs
| |
05:39 | <ltspbot`> Appiah: "docs" :: For the most current documentation, see https://sourceforge.net/apps/mediawiki/ltsp/index.php?title=Ltsp_LtspDocumentationUpstream
| |
05:39 | <Appiah> it's the same
| |
05:40 | <alkisg> !pastebot
| |
05:40 | <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.
| |
05:40 | <alkisg> !forget pastebot
| |
05:40 | <ltspbot`> alkisg: The operation succeeded.
| |
05:40 | <alkisg> !forget pastebin
| |
05:40 | <ltspbot`> alkisg: The operation succeeded.
| |
05:40 | <Appiah> but never once seen anyone put multiple options in one line
| |
05:40 | <alkisg> !learn pastebot as try !pastebin
| |
05:40 | <ltspbot`> alkisg: The operation succeeded.
| |
05:40 | <Appiah> Axachi: just file a bug report then
| |
05:41 | <Hyperbyte> Axachi: well, put your lts.conf on pastebin to start with
| |
05:41 | <Axachi> where?
| |
05:41 | <alkisg> !learn pastebin as the LTSP pastebin is at http://ltsp.pastebin.com. Please paste all text longer than a line or two to the pastebin, as it helps to reduce traffic in the channel. Don't forget to paste the URL of the text here.
| |
05:41 | <ltspbot`> alkisg: The operation succeeded.
| |
05:41 | <Appiah> !bugs
| |
05:41 | <ltspbot`> Appiah: Error: "bugs" is not a valid command.
| |
05:41 | <Appiah> !bug
| |
05:41 | <ltspbot`> Appiah: Error: "bug" is not a valid command.
| |
05:41 | <Appiah> what
| |
05:41 | https://launchpad.net/ltsp Axachi
| |
05:41 | <Axachi> ok
| |
05:42 | <Hyperbyte> Let's take a look at your lts.conf before you file a bug report, Axachi
| |
05:42 | <Axachi> k
| |
05:42 | <Hyperbyte> Put your lts.conf on http://ltsp.pastebin.com
| |
05:42 | <alkisg> Screen scripts allow parareters to be passed in lts.conf
| |
05:42 | So it's possible to use SCREEN_02=rdesktop params
| |
05:42 | <Axachi> thank you..
| |
05:42 | but not working her..
| |
05:42 | <alkisg> (01:40:49 PM) Hyperbyte: Axachi: well, put your lts.conf on pastebin to start with
| |
05:42 | ^^
| |
05:42 | <Hyperbyte> alkisg: well, that should be added to the documentation then. Everywhere it says there are a few possible values for the screen options
| |
05:43 | <Axachi> [Default]
| |
05:43 | LDM_AUTOLOGIN=True
| |
05:43 | SCREEN_04=ldm
| |
05:43 | SCREEN_05=shell
| |
05:43 | LDM_DIRECTX=True
| |
05:43 | LDM_USERNAME=modum
| |
05:43 | LDM_PASSWORD=Modum10
| |
05:43 | [00:0F:FE:AC:B7:64]
| |
05:43 | #LDM_DIRECTX=False
| |
05:43 | <alkisg> Hyperbyte: there are only a few screen scripts available, but parameters can be passed to some of them
| |
05:43 | <Axachi> #RDP_OPTIONS = "-a 16 -k no"
| |
05:43 | #RDP_SERVER = mbfarm
| |
05:43 | SCREEN_06 = "rdesktop -a 16 172.31.1.3"
| |
05:43 | <Appiah> PASTEBIN
| |
05:43 | <Hyperbyte> Eek.
| |
05:43 | <Appiah> PASTEBIN
| |
05:43 | <alkisg> Axachi: not here. In the pastebin url.
| |
05:43 | <Axachi> pastbin ?
| |
05:43 | <alkisg> !pastebin
| |
05:43 | <ltspbot`> alkisg: "pastebin" :: the LTSP pastebin is at http://ltsp.pastebin.com. Please paste all text longer than a line or two to the pastebin, as it helps to reduce traffic in the channel. Don't forget to paste the URL of the text here.
| |
05:44 | <Hyperbyte> Axachi: ok, do you get any error messages on screen 6?
| |
05:45 | <Axachi> 2sec..
| |
05:45 | no
| |
05:46 | and if I login to the Thin Client I do a getltscfg -a and it all looks good
| |
05:46 | http://ltsp.pastebin.com/Csk0DmMD
| |
05:46 | ogra_ac_ has quit IRC | |
05:46 | <Axachi> is this right
| |
05:48 | <alkisg> Axachi: try without the quotes in SCREEN_06. Also, paste the output of `getltscfg -a` that you said.
| |
05:49 | <Hyperbyte> alkisg, could LTSP actually even open multiple rdesktop sessions at once in different screens?
| |
05:49 | <Axachi> ok hang on
| |
05:49 | <alkisg> Hyperbyte: I don't see why not
| |
05:50 | Hyperbyte: I've tried SCREEN_07=ldm and SCREEN_08=rdesktop and it worked, I didn't try 2 rdesktops but I imagine they'd work.
| |
05:50 | <Hyperbyte> alkisg, hmm.. because I just tried that, screen 01=ldm and 06=rdesktop and it froze up.
| |
05:51 | <alkisg> Hyperbyte: on ubuntu SCREEN_01 is reserved for boot messages
| |
05:51 | It's not to be used by anything
| |
05:51 | <Hyperbyte> Didn't give me problems on Fedora
| |
05:51 | <Axachi> :)
| |
05:52 | <Hyperbyte> I actually switched it to screen 01 for some reason or experiment, can't remember why though.
| |
05:52 | <Axachi> damn ubuntu :P
| |
05:52 | ok it still gives black screen
| |
05:52 | and the output og getltscfg is
| |
05:57 | http://ltsp.pastebin.com/XXVVe5m7
| |
05:57 | <alkisg> SCRREN_06 ==> typo
| |
05:58 | <Axachi> so it puts in yes
| |
05:58 | <alkisg> Try again with one R and two E :D
| |
05:58 | <Hyperbyte> There's a typo in... yeah
| |
05:58 | <Axachi> yes typo
| |
05:58 | it is SCREEN
| |
05:58 | <Hyperbyte> Wait, you didn't actually copy-paste that?
| |
05:58 | <Axachi> no
| |
05:58 | <Hyperbyte> You typed it over from the thin client into pastebin? :O
| |
05:58 | <Axachi> had to manualy type it
| |
05:58 | ye
| |
05:59 | i know ssh
| |
05:59 | <alkisg> You can open a web browser on the client and paste to pastebin from there...
| |
05:59 | No need for ssh
| |
05:59 | <Axachi> ok
| |
05:59 | I forgot :P
| |
05:59 | <alkisg> distro/version?
| |
06:00 | <Axachi> but hey I type fast ... lol
| |
06:00 | Ubuntu 10.10 (maverick)
| |
06:00 | I am a Micosoft man so go easy guys
| |
06:00 | and i,m not native english..
| |
06:01 | <alkisg> Axachi: how did you run getltscfg -a? From a local xterm?
| |
06:01 | <Hyperbyte> Neither are alkisg and me, by the way. :-)
| |
06:01 | <alkisg> ;)
| |
06:01 | <Axachi> :)
| |
06:01 | yes from the shell on the thin klient
| |
06:02 | <alkisg> From SCREEN_02? OK
| |
06:02 | From the same screen, try "ps -ef | grep rdesktop"
| |
06:02 | <Axachi> yepp
| |
06:02 | <alkisg> And see if rdesktop actually runs or not
| |
06:03 | klausade has joined #ltsp | |
06:04 | <alkisg> bb in 30'...
| |
06:06 | <Axachi> I see it is running.
| |
06:07 | zz_evil_root is now known as evil_root | |
06:07 | <Axachi> I do this from the SCREEN_05 shell .
| |
06:08 | evil_root is now known as zz_evil_root | |
06:09 | ogra_ac has joined #ltsp | |
06:09 | <Axachi> but if this works in Fedora I will switch over.. no problem...
| |
06:13 | bobby_C has joined #ltsp | |
06:14 | <Axachi> What ver. of Fedora have you tried it on. but I will help fix the bug if you need me to.. :)
| |
06:14 | Hyperbyte did you tri 2 RDP rdesktops??
| |
06:14 | try
| |
06:15 | <Hyperbyte> Axachi, I wasn't recommending Fedora at all. In fact, as someone who has been using no other distro than Fedora, I would even go as far as saying Ubuntu is your best choice for LTSP integration and documentation.
| |
06:15 | ;-)
| |
06:15 | <Axachi> lol
| |
06:15 | ok
| |
06:15 | <Hyperbyte> There is a logical reason why it's not working, you just have to find it.
| |
06:15 | <Axachi> for me it's more like customer needs it and needs it now..
| |
06:17 | Probably.. I notice there where not much diffrent when I used the quotes or not.
| |
06:18 | <Hyperbyte> Axachi, so debug the process carefully. Check everything. Make sure there's nothing a typo in the IP address, etc...
| |
06:18 | *not
| |
06:19 | <Axachi> yea trying.. but hey should it work if I just use SCREEN_06 rdesktop ?? and what should come up?
| |
06:22 | <Hyperbyte> We're gonna try something else
| |
06:22 | From SCREEN_06
| |
06:23 | Try removing the -a 16
| |
06:23 | Although
| |
06:23 | I'm looking at the rdesktop script here, I'm a bit confused with the order of the parameters
| |
06:24 | <Axachi> her is my script can you compair
| |
06:24 | http://ltsp.pastebin.com/6395wnGN
| |
06:25 | <Hyperbyte> ehm
| |
06:25 | <Axachi> ?
| |
06:25 | <Hyperbyte> I'm confused. Mine looks completely different.
| |
06:25 | Better wait for alkisg. :-)
| |
06:26 | <Axachi> lol
| |
06:26 | <Hyperbyte> alkisg is the resident LTSP geek here.
| |
06:26 | <Axachi> her is the last part as well
| |
06:26 | >/dev/null 2>&1
| |
06:27 | good then maby he will find a solution.. :)
| |
06:27 | <Hyperbyte> And /usr/share/ltsp/rdesktop.sh ?
| |
06:27 | (pastebin)
| |
06:29 | <Axachi> ok 2 sec
| |
06:32 | <alkisg> Axachi: looks like a bug introduced in some recent ltsp version
| |
06:32 | Let me check the bazaar history...
| |
06:33 | <Axachi> http://ltsp.pastebin.com/z4R8XrrU
| |
06:33 | :)
| |
06:33 | <alkisg> (i.e. some part of the code was moved to a different file, rdesktop.sh, but they're not passing the rdesktop parameters to it)
| |
06:33 | <Axachi> hope there is a fix :)
| |
06:33 | <alkisg> Sure, it's just scripts...
| |
06:33 | <Axachi> lol
| |
06:34 | <alkisg> Axachi: in the `ps -ef` I told you before, you don't see the server IP there, do you?
| |
06:34 | E.g. rdesktop.sh .....172.x.x.x or whatever you're using
| |
06:34 | <Axachi> yes i do
| |
06:34 | <alkisg> Axachi: not in the rdesktop line
| |
06:34 | In the rdesktop.sh line
| |
06:34 | With the .sh
| |
06:35 | <Axachi> no
| |
06:35 | not there
| |
06:35 | <alkisg> Right, that's the problem, it should be there.
| |
06:35 | <Axachi> ah
| |
06:35 | so it,s in the .sh file then?
| |
06:36 | the problem..
| |
06:36 | <alkisg> Without testing, I'd say the problem is in screen.d/rdesktop:
| |
06:36 | xinit $xinitrc sh /usr/share/ltsp/rdesktop.sh -- ${DISPLAY} vt${TTY} ${X_ARGS} -br >/dev/null 2>&1
| |
06:36 | should be
| |
06:36 | xinit $xinitrc sh /usr/share/ltsp/rdesktop.sh "$@" -- ${DISPLAY} vt${TTY} ${X_ARGS} -br >/dev/null 2>&1
| |
06:36 | <Axachi> let me edit and see :)
| |
06:36 | <alkisg> I.e. rdesktop should pass its parameters to rdesktop.sh
| |
06:36 | <Axachi> k
| |
06:37 | and I then need to do a lts-update-image right ?
| |
06:37 | <alkisg> Axachi: since you have SCREEN_05=shell, do it from there
| |
06:37 | And then just kill rdesktop.sh so that it runs again
| |
06:37 | No client reboot
| |
06:37 | <Axachi> trying.
| |
06:43 | <alkisg> Erm, I think there's a second problem there, i.e. rdesktop.sh missing from the package... :D
| |
06:45 | (lucid here)
| |
06:45 | <Axachi> still not working..
| |
06:45 | ok
| |
06:46 | <alkisg> Where did you find the rdesktop.sh script in lucid? In /opt/ltsp/i386/usr/share/ltsp/rdesktop.sh ?
| |
06:46 | *in maverick?
| |
06:46 | <Axachi> yes
| |
06:47 | <alkisg> Right, http://packages.ubuntu.com/maverick/i386/ltsp-client-core/filelist vs http://packages.ubuntu.com/lucid/i386/ltsp-client-core/filelist
| |
06:48 | Ah, so the splitting occurred between lucid and maverick, that's when it broke
| |
06:48 | <Axachi> looks right..
| |
06:48 | <alkisg> OK, file a bug report in launchpad about it
| |
06:49 | <Axachi> launchpad?
| |
06:49 | <alkisg> Yes
| |
06:49 | And in the meantime, use the script from lucid: http://ltsp.pastebin.com/zByLCiKk
| |
06:50 | (save that as screen.d/rdesktop - then rdesktop.sh will be completely ignored)
| |
06:56 | <Axachi> thank you so much.. I am rebuilding as i typethis
| |
07:01 | <alkisg> https://bugs.launchpad.net/ltsp/+filebug
| |
07:02 | ...because it's an upstream bug, if it was an ubuntu-specific bug you'd file it to: https://bugs.launchpad.net/ubuntu/+source/ltsp/+filebug
| |
07:03 | !upstream-bug
| |
07:03 | <ltspbot`> alkisg: Error: "upstream-bug" is not a valid command.
| |
07:03 | <alkisg> !learn upstream-bug as https://bugs.launchpad.net/ltsp/+filebug
| |
07:03 | <ltspbot`> alkisg: The operation succeeded.
| |
07:03 | <alkisg> ubuntu-bug
| |
07:03 | !ubuntu-bug
| |
07:03 | <ltspbot`> alkisg: Error: "ubuntu-bug" is not a valid command.
| |
07:03 | <alkisg> !learn ubuntu-bug as https://bugs.launchpad.net/ubuntu/+source/ltsp/+filebug
| |
07:03 | <ltspbot`> alkisg: The operation succeeded.
| |
07:13 | <Axachi> hmm still got black screen .. trying go over the script.
| |
07:17 | strike that.. got it working.. :) yay
| |
07:19 | <Hyperbyte> Axachi, see. Told you.
| |
07:19 | alkisg is the LTSP wizard. :-)
| |
07:20 | alkisg: it's a bug in logic really. The $* variable (all passed arguments) is moved from screen.d/rdesktop to rdesktop.sh
| |
07:21 | But not the arguments itself
| |
07:21 | If $* is added to line 28 of screen.d/rdesktop it -should- work
| |
07:21 | But you might've gathered that already.
| |
07:23 | A better question might be why on earth this needs to be spread out over 2 scripts, but alas.
| |
07:27 | <alkisg> (03:21:14 PM) Hyperbyte: If $* is added to line 28 of screen.d/rdesktop it -should- work ==> yup that's what I told Axachi to try above, but it didn't work for him. I don't know if he did it right though.
| |
07:29 | Axachi: don't forget to file the bug so that it gets fixed for other people and for newer ltsp versions too
| |
07:29 | <Axachi> sorry guys was out a sev.
| |
07:29 | sec
| |
07:31 | I will try the line 28 fix again. but I put it in like "$@" but is it only $* ?
| |
07:31 | you typed abow alkisxinit $xinitrc sh /usr/share/ltsp/rdesktop.sh "$@"
| |
07:33 | is this correct xinit $xinitrc sh /usr/share/ltsp/rdesktop.sh $* -- ${DISPLAY} vt${TTY} ${X_ARGS}
| |
07:34 | <Hyperbyte> xinit $xinitrc sh /usr/share/ltsp/rdesktop.sh -- ${DISPLAY} etc...
| |
07:34 | to
| |
07:34 | xinit $xinitrc sh /usr/share/ltsp/rdesktop.sh $* -- ${DISPLAY} etc...
| |
07:34 | Yes, seems like you got it.
| |
07:34 | That -should- work.
| |
07:34 | <Axachi> k wil try her.
| |
07:34 | <Hyperbyte> Make sure you file a bug report with as much information as possible, regardless of if you get it working or not.
| |
07:35 | By filing a bug report you will help to make LTSP better for everybody. :-)
| |
07:35 | <Axachi> I will waiting for mail confirm for login.
| |
07:35 | komunista has joined #ltsp | |
07:36 | <alkisg> Hyperbyte: even though $* is in the current code, it's wrong, "$@" is the correct one
| |
07:37 | $* would break spaces in command line parameters
| |
07:37 | <Hyperbyte> Why? Isn't $* just 'the whole command line' ?
| |
07:37 | <alkisg> No
| |
07:37 | <Axachi> :)
| |
07:37 | <alkisg> Example
| |
07:37 | <Hyperbyte> Don't you actually break the command line options by putting " " around it?
| |
07:37 | <alkisg> script "hi there"
| |
07:38 | That script then calls ls $*
| |
07:38 | ==> ls will try to find 2 files, one named "hi" and one "there"
| |
07:38 | But with "$@" it will try to find one file, "hi there"
| |
07:38 | <Hyperbyte> Okay, how about
| |
07:38 | script -al "hi there"
| |
07:38 | Then it breaks.
| |
07:39 | <alkisg> Why would it break?
| |
07:39 | <Hyperbyte> Because script will then call ls "-al hi there" no?
| |
07:39 | <alkisg> No, it will call "ls" "-al" "hi there"
| |
07:39 | "$@" means "all the parameters, properly quoted"
| |
07:39 | and expanded
| |
07:40 | <Hyperbyte> Weird syntax. :\
| |
07:40 | <alkisg> $* means, all the parameters expanded in any spaces
| |
07:40 | `man sh` for details :D
| |
07:40 | <Hyperbyte> You're 100% correct though, my apologies for doubting you.
| |
07:40 | <alkisg> np, it's a very common problem
| |
07:40 | <Hyperbyte> Rest assured that I didn't doubt because of you, but rather because of the weird syntax. :P
| |
07:40 | <Axachi> so it should read xinit $xinitrc sh /usr/share/ltsp/rdesktop.sh "$@" -- ${DISPLAY} vt${TTY} ${X_ARGS}
| |
07:41 | <alkisg> Another one is that many devs think that ${var} will preserve spaces, but that's wrong, only "$var" will preserve them
| |
07:41 | <Axachi> but wy * vs @
| |
07:41 | <alkisg> So the current code is broken wrt spaces in many places...
| |
07:41 | <Axachi> ok
| |
07:41 | <alkisg> Axachi: read above for why "$@" vs $*
| |
07:41 | <Hyperbyte> alkisg, well... yeah.. but it's not like you'd ever use " " in rdesktop arguments I think... so 'broken' is relative, but I take you point. :-)
| |
07:42 | <alkisg> Also ${X_ARGS} there should be "$X_ARGS" etc etc
| |
07:42 | <Hyperbyte> Valuable lesson learned today.
| |
07:42 | I have a meeting, will be back later.
| |
07:42 | <alkisg> bb
| |
07:42 | <Axachi> yea and my linux/ltsp learning went up 50% bump
| |
07:43 | k
| |
07:47 | now for another task how to set default screen to show?
| |
07:48 | <alkisg> SCREEN_DEFAULT=07
| |
07:48 | <Axachi> thx a bunch. you rock :O)
| |
07:49 | sweet. now thy are gonna be amazed her. :)
| |
07:49 | asmok has joined #ltsp | |
07:51 | <Axachi> and now it seems to work with the changes.. $* but it did not work with "$@" did not work.'
| |
07:51 | <alkisg> If it doesn't work, maybe the caller doesn't properly expand the arguments before calling the script
| |
07:52 | So it might be a double problem, which works when no spaces are involved :D
| |
07:53 | <asmok> just want to say that i got now working ltsp server (lucid) in KVM maverick machine. tftpboot works. fresh installation. don't know what i missed earlier... thanks and bye.
| |
07:53 | asmok has left #ltsp | |
08:04 | <Axachi> ok alkisg.. Ok I will try and bug the error.. have to go.. once again thank you..
| |
08:04 | <alkisg> bb
| |
08:04 | Axachi has quit IRC | |
08:10 | mordocai has joined #ltsp | |
08:22 | [GuS] has joined #ltsp | |
08:35 | mordocai has quit IRC | |
08:38 | m4chomanul has joined #ltsp | |
08:39 | <m4chomanul> I have an Ubuntu 10.10 LTSP and I get "Failed to connect to NBD server"
| |
08:51 | m4chomanul has quit IRC | |
09:00 | ben__ has joined #ltsp | |
09:00 | <ben__> heya all
| |
09:01 | anybody know what this means:
| |
09:01 | LTSP Client...Negotiation: Error: INIT_PASSWD bad
| |
09:01 | Setting LTSP Client...Negotiation: Error: INIT_PASSWD bad
| |
09:01 | sorry, I'll get it right this time
| |
09:01 | Setting up LTSP Client...Negotiation: Error: INIT_PASSWD bad
| |
09:03 | I get to the log in screen (LDM) though
| |
09:03 | can't seem to get USB keys working
| |
09:03 | I'm running this on a linux-vserver guest by the way
| |
09:38 | ben__ has quit IRC | |
09:42 | alkisg has quit IRC | |
10:10 | alexqwesa_ is now known as alexqwesa | |
10:12 | jammcq has joined #ltsp | |
10:12 | <jammcq> good morning everyone
| |
10:19 | Da-Geek has quit IRC | |
10:21 | <highvoltage> hi jammcq
| |
10:29 | <jammcq> hey highvoltage, just read your post about ltsp fat clients. nicely done
| |
10:30 | [GuS] has quit IRC | |
10:50 | dobber has quit IRC | |
11:22 | <highvoltage> jammcq: merci!
| |
11:22 | komunista has quit IRC | |
11:40 | alkisg has joined #ltsp | |
11:44 | mgariepy has joined #ltsp | |
12:53 | Da-Geek has joined #ltsp | |
13:03 | sweetpi has joined #ltsp | |
13:30 | ogra_ac has quit IRC | |
13:30 | ogra_ac has joined #ltsp | |
13:58 | komunista has joined #ltsp | |
14:16 | zz_evil_root is now known as evil_root | |
14:17 | evil_root is now known as zz_evil_root | |
14:23 | mikkel has joined #ltsp | |
14:31 | komunista has quit IRC | |
14:34 | zz_evil_root is now known as evil_root | |
14:34 | evil_root is now known as zz_evil_root | |
14:38 | zz_evil_root is now known as evil_root | |
14:39 | evil_root is now known as zz_evil_root | |
14:50 | BenG has joined #ltsp | |
15:06 | BenG has quit IRC | |
15:20 | mgariepy has quit IRC | |
15:23 | alexqwesa has quit IRC | |
15:23 | alexqwesa has joined #ltsp | |
15:29 | alkisg has quit IRC | |
16:02 | Kicer86 has quit IRC | |
16:24 | mordocai has joined #ltsp | |
16:45 | mikkel has quit IRC | |
16:46 | jimishol has joined #ltsp | |
16:51 | <jimishol> i am making another try to boot from client. At screen i see "trying to load: pxelinux.cfg/default" then screen goes to sleep. I putted [default]
| |
16:51 | SCREEN_02=shell
| |
16:51 | # XRANDR_DISABLE = True
| |
16:51 | XSERVER = vesa
| |
16:51 | # CONFIGURE_X = True
| |
16:51 | X_COLOR_DEPTH = 16
| |
16:51 | X_MODE_0 = 800x600
| |
16:51 | # X_MODE_0 = 1024x768
| |
16:52 | in /var/lib/tftpboot/ltsp/i386 but cant be sure if it interacts. how could i boot in safe or in text mode? txs
| |
17:31 | ogra_ac_ has joined #ltsp | |
17:34 | ogra_ac has quit IRC | |
18:03 | jimishol has quit IRC | |
19:01 | litlebuda has joined #ltsp | |
20:05 | shogunx has quit IRC | |
20:16 | ogra has quit IRC | |
20:31 | ogra has joined #ltsp | |
20:50 | litlebuda has quit IRC | |
20:52 | litlebuda has joined #ltsp | |
21:04 | litlebuda has quit IRC | |
21:05 | litlebuda has joined #ltsp | |
21:11 | litlebuda has quit IRC | |
21:11 | litlebuda has joined #ltsp | |
21:55 | geckozo6 has joined #ltsp | |
23:36 | alkisg has joined #ltsp | |