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


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

00:08mordocai has quit IRC
00:12epaphus has joined #ltsp
00:12mordocai has joined #ltsp
00:26dobber has joined #ltsp
00:29alkisg has joined #ltsp
00:46epaphus has quit IRC
01:18sweetpi has quit IRC
01:23jimjimovich has joined #ltsp
01:23jimjimovich has joined #ltsp
01:24
<jimjimovich>
morning everyone
01:24
<muppis>
Morning.
01:24
<jimjimovich>
what packages do i need to remove to disable screensavers? and is it still possible to have the screen go blank and lock even without the screensaver program?
01:25
for ubuntu
01:25
<alkisg>
Good morning
01:26
Screensavers are disabled by default for ubuntu ltsp clients
01:26
Only the blank screensaver works
01:27
<jimjimovich>
oh, since i saw all the options there, i thought i could change it :)
01:30
now users will just call me and tell me "the screensaver doesn't work" ;)
01:54
<johnny>
jimjimovich, edit the default menu .. remove it
01:54
<jimjimovich>
johnny: thanks. i guess i need to remove a lot of stuff
01:55
<johnny>
and there's also sabayon
01:55
you can use that too
02:00
<jimjimovich>
oh cool, sabayon looks like what I need
02:20artista_frustrad has joined #ltsp
02:25artista_frustrad has quit IRC
02:32gnunux has joined #ltsp
02:33
<gnunux>
hi
02:41klausade has quit IRC
03:17bobby_C has joined #ltsp
03:24alkisg has quit IRC
03:24alkisg1 has joined #ltsp
03:42NOMADICUS has joined #ltsp
04:12cyberorg has quit IRC
04:15cyberorg has joined #ltsp
04:20artista_frustrad has joined #ltsp
04:24artista_frustrad has quit IRC
04:32vagrantc has quit IRC
04:36artista_frustrad has joined #ltsp
04:42artista_frustrad has quit IRC
04:50alkisg1 has quit IRC
04:57mikkel has joined #ltsp
05:15mordocai has quit IRC
05:25alkisg has joined #ltsp
05:25
<jimjimovich>
anyone have any tips or methods for making a network share (probably smb) that is accessible on Windows machines in the network but that also allows all LTSP users access? I have a samba share that I want to mount, but I get funny permissions when making new documents on the share
05:35
<muppis>
jimjimovich, adjust permissions from smb.conf
05:35bobby_C has quit IRC
05:36
<jimjimovich>
actually, the samba share is not on the ltsp server, it's on another. i think my problem acutually has to do with the gnome umask settings on the ltsp server. still messing around with it
05:42
no, i guess that wasn't it
05:43
i want the group for the mounted samba share to have rw access when a new file is created, and I just can't get it to work
05:54feinbein_fred has joined #ltsp
06:17
<cyberorg>
jimjimovich, look up create mask, directory mask and force group in man smb.conf, not related to ltsp in anyway though
06:19
<jimjimovich>
cyberorg: looked into those, they work on the server only and don't effect the permissions on the mounted drive on the ltsp server
06:19
i realize that it has nothing to do with ltsp, I just thought someone might have come across the need for such a share
06:25pmatulis has joined #ltsp
06:45
<moldy>
jimjimovich: should be easy with samba
06:46
<jimjimovich>
i figured out that i needed to add "nounix" to the fstab options
06:46
<moldy>
jimjimovich: look at samba's "create mask" and "directory mask" configuration options
06:47
<jimjimovich>
moldy: I had those set, but they didn't work until i added "nounix"
06:47
<moldy>
jimjimovich: hm, that is weird. works perfectly fine in my experience.
06:47
<jimjimovich>
i searched google for hours and finally found the answer!
06:50
<moldy>
is that "nounix" thing undocumented? can't find it in any man page
06:55feinbein_fred has quit IRC
06:57alexqwesa has quit IRC
06:58alexqwesa has joined #ltsp
06:59[GuS] has joined #ltsp
06:59[GuS] has joined #ltsp
07:09mgariepy has joined #ltsp
07:10alexqwesa has quit IRC
07:10alexqwesa has joined #ltsp
07:15alexqwesa has quit IRC
07:16mikkel has quit IRC
07:16alexqwesa has joined #ltsp
07:17Hyperbyte has joined #ltsp
07:19dmarkey has quit IRC
07:19shogunx has quit IRC
07:19dmarkey has joined #ltsp
07:20shogunx has joined #ltsp
07:23artista_frustrad has joined #ltsp
07:26
<Hyperbyte>
Is it normal behaviour that LTSP mounts /home/<user>/ on the thin client as sshfs with user_id=0 and group_id=0 (nobody)?
07:26vvinet_ is now known as vvinet
07:27artista_frustrad has quit IRC
07:28mikkel has joined #ltsp
07:33
<muppis>
Hyperbyte, I think no.
07:36
<Hyperbyte>
Well, that's what LTSP is doing for me. I'm running LTSP 5.1.95-1 on Fedora 13... on the thin client, the /home/<user>/ directory has "nobody.nobody" permissions. When I look at the mount options, user_id=0 and group_id=0 are specified in there
07:36
The local thin client user -can- however access the filesystem without problems and write on it (?), still some problems complain about the ownership.
07:36
*problems -> programs
07:37
<muppis>
Looked from logs for possible reason?
07:41
<Hyperbyte>
Well, in the client logs I see nothing out of the ordinary
07:41
On the server there are two errors in /var/log/messages
07:41
http://secondary.recreatie-zorg.nl/jan/ltsp-errors.txt
07:42
I have no idea what that means though.
07:52
<mgariepy>
which version of ltsp are you using ?
07:52
<Hyperbyte>
5.1.95-1 (Fedora 13, x86_64)
07:57
<mgariepy>
can you copy somewhere the output of : ps aux | grep ssh
07:57
on the thin client
07:57F-GT has quit IRC
08:01
<Hyperbyte>
http://secondary.recreatie-zorg.nl/jan/ltsp-ssh-processes.txt
08:01
Little side info: 192.168.100.1 is our network/file server, 192.168.100.2 is the terminal server
08:02
The /home/ directory on the terminal server is mounted via NFS from the file server
08:04
<muppis>
Using NFSv3 or MFSv4 ?
08:06jimjimovich has left #ltsp
08:06
<Hyperbyte>
I think it is using NFSv4
08:06
I'm not entirely sure actually.
08:07
<muppis>
You see it with mount
08:08
There is NFSv4 mentioned if it used.
08:08
<Hyperbyte>
Are you talking about the /home/ mount on the terminal server, or the /home/<user>/ mount on the terminal client?
08:08
<muppis>
/home/ mount on server
08:09
But I need to go.
08:09
<Hyperbyte>
Ah.
08:09
It's using version 4.
08:10
Can I catch you later or perhaps tomorrow? :)
08:12NOMADICUS has quit IRC
08:13F-GT has joined #ltsp
08:16lauri has joined #ltsp
08:24
<mgariepy>
seems quite normal from here
08:27
<Hyperbyte>
Problem is that some programs complain that the home directory doesn't have the right ownership
08:27
While they can access it, they don't like the nobody.nobody ownership
08:27mkassapakis_ has joined #ltsp
08:30
<mgariepy>
can this be a uid problem on your setup ?
08:30
what's the uid of the jan user?
08:31
<Hyperbyte>
500
08:31
Both on the fileserver, terminal server and thin client
08:32mkassapakis_ has quit IRC
08:33ogra_ac has quit IRC
08:34mkassapakis has joined #ltsp
08:36ogra_ac has joined #ltsp
08:36
<Hyperbyte>
What confuses me, looking at the mount options on the thin client
08:36
http://secondary.recreatie-zorg.nl/jan/ltsp-mount-client.txt
08:37
It specifically says user_id=0 and group_id=0... or is that something else?
08:38
<mgariepy>
it's indeed kinda weird
08:39primeministerp has quit IRC
08:40mkassapakis has left #ltsp
08:42litlebuda has joined #ltsp
08:48jhutchins_lt has joined #ltsp
08:57vongrippen has joined #ltsp
09:00alexqwesa has quit IRC
09:00bobby_C has joined #ltsp
09:01alexqwesa has joined #ltsp
09:05
<mgariepy>
any of you guys using chrome as a localapps browser ?
09:21
<highvoltage>
I saw it used like that just this morning
09:30
<alkisg>
mgariepy: on fat clients, I don't think it makes much of a difference...
09:31
<mgariepy>
do you have a easy way to set preferences and lock them in a system configuration?
09:36
<alkisg>
No, only for firefox...
09:36
<pmatulis>
when using FF as a local app, currently (lucid) associated appliacations (ex: pdf viewer) must be available in the client chroot. is it feasible (feature request) to not have this requirement (i.e. server-based)?
09:36
<alkisg>
associate .pdf with ltsp-remoteapps evince
09:37
And enable remote apps on lts.conf...
09:37
<pmatulis>
alkisg: interesting
09:38
<alkisg>
You can set system-wide associations in /usr/share/mime/packages/package.xml and / or in /etc/mailcap - etc/mime.types
09:38
<pmatulis>
alkisg: lts.conf syntax for remote apps? assuming more undocumented stuff
09:38
<alkisg>
REMOTE_APPS=True
09:39
<pmatulis>
alkisg: nice
09:45
alkisg: is there anything i should be afraid of in ltsp-client-core?
09:45
alkisg: noticed i need this for ltsp-remoteapps
09:45
<alkisg>
pmatulis: erm, don't install that on the server
09:45
It's preinstalled on the chroot
09:46
ltsp-remoteapps is a chroot command
09:46
<pmatulis>
alkisg: k, i don't have it
09:46
<alkisg>
distro/version?
09:46
<pmatulis>
alkisg: in my chroot
09:46
alkisg: lucid but i started with a minimal system
09:47
<alkisg>
Hmmm it doesn't make sense, you have a working ltsp chroot that doesn't have ltsp-client-core?
09:47
<pmatulis>
alkisg: right now i just know that i don't have the command ltsp-remoteapps under /usr/bin on the client
09:48
alkisg: wait
09:48
alkisg: disregard :)
09:48
<alkisg>
:)
09:48* alkisg bets that was on the server :)
09:48* pmatulis whistles innocently
09:48
<alkisg>
Try: ltsp-localapps xterm
09:49
And in the xterm that will open: ltsp-remoteapps gnome-terminal
09:49
If it works, it'll open a gnome-terminal inside the normal user session which runs on the server (but is displayed on the client)
09:49
<pmatulis>
alkisg: yeah, got that
09:49
<alkisg>
(client reboot is required after setting LTSP_REMOTEAPPS on lts.conf)
09:51
I think the best way would be to associate all common extensions with a special script, "ltsp-open-locally-if-program-is-available-otherwise-call-ltsp-remoteapps"
09:54bla has quit IRC
10:00
<mgariepy>
alkisg, pmatulis ltsp-remoteapps soffice "file" doesn't work in ff.
10:00
works in chrome tho.
10:01
<pmatulis>
what is the command again for viewing the LTSP client variables/environment?
10:02
<alkisg>
mgariepy: I've recently had to deal with prism, which is gecko-based like ff. Prism needed the association in /etc/mime.types, but I think firefox also reads /usr/share/mime/packages/package.xml, if update-mime-database is called of course
10:02
getltscfg -a
10:02
<pmatulis>
alkisg: cheers
10:02
<mgariepy>
both chromium and ff uses /etc/mailcap which is set via /usr/lib/mime/packages/
10:03
abd running update-mime
10:04
what have you done with prisms ?
10:05
<alkisg>
Packaged some flash-based edu apps with it, and I needed it to be able to open some custom file extensions like .mwd
10:05
Kids need shopping, bbl, ciao all :)
10:05alkisg has quit IRC
10:05bla has joined #ltsp
10:08
<pmatulis>
alexqwesa: the remote apps thing doesn't work for me :( "application you chose ("/usr/bin/ltsp-remoteapps evince") could not be found
10:08
oops
10:08
alkisg has left
10:08
mgariepy: any idea? ^^^
10:10
<mgariepy>
you are running this on the client ?
10:10
<pmatulis>
mgariepy: FF, yes
10:10
<mgariepy>
because this script is in ltsp-client-core package
10:11
<pmatulis>
mgariepy: and i'm telling FF to use that command (for viewing PDF)
10:12
<mgariepy>
did running ltsp-remoteapps gnome-terminal in a xterm works ?
10:13
i haven't tested remoteapps on lucid but it was broken on maverick.
10:14
<pmatulis>
mgariepy: yes, and i'm trying to run the remoteapps command directly
10:14
mgariepy: i have to become root btw
10:14
<mgariepy>
ok, on the server, you run " ltsp-localapps xterm"
10:14
<pmatulis>
mgariepy: but even so, it says "cannot stat evince", well obviously
10:15
<mgariepy>
then the xterm launch, "ltsp-remoteapps gnome-terminal" from the xterm
10:15
do you have ltsp-remoteappsd running on you client ?
10:15
<pmatulis>
mgariepy: yes
10:16
mgariepy: this is lucid
10:16
<mgariepy>
and running "ltsp-remoteapps gnome-terminal " as the user start a new gnome-terminal ?
10:18staffencasa has joined #ltsp
10:18
<pmatulis>
mgariepy: it automatically thinks i'm requesting root privileges
10:18
mgariepy: "[sudo] password for username":
10:19
<mgariepy>
hmm it's weird, it's not supposed to do that.
10:19
<pmatulis>
mgariepy: but if i become root and issue command i get: 'cannot stat gnome-terminal'
10:19
(it's still looking on the client)
10:19
<mgariepy>
what version of ltsp do you have installed ?
10:20primeministerp has joined #ltsp
10:20
<pmatulis>
mgariepy: 5.1.90
10:21EarlessPierre has joined #ltsp
10:21primeministerp has quit IRC
10:21primeministerp has joined #ltsp
10:21
<EarlessPierre>
Has anyone here managed to get KDM on their login screen instead of LDM? LDM seems to have a problem with csh and tcsh
10:21
<pmatulis>
mgariepy: ah sorry, i'm running ubuntu 9.10
10:21
<EarlessPierre>
Users that use those can't log on
10:25
<atkuepker>
braver man than I if you're handling login scripting and whatnot with csh.
10:26
<mgariepy>
pmatulis, i haven't tested this on karmic either.
10:26
pmatulis, currently i'm kinda use it on maverick with a package from stgraber's ppa.
10:26
it's kinda far from the karmic one.
10:28
<EarlessPierre>
I didn't change how login scripting is handled. Users whose default shell is csh can't log in under LDM. It seems to be a known bug that they never got around to fixing.
10:30
<pmatulis>
mgariepy: ok, so it *might* work on lucid, but broken for sure on karmic and maverick
10:31
<mgariepy>
not sure it works correctly on lucid.
10:31
and firefox doesn't use /etc/mailcap correcly either
10:33
it's not quite easy to implement the open with in firefox.
10:33
<pmatulis>
mgariepy: the open?
10:33
mgariepy: ah ok
10:34
<mgariepy>
when you click on a pdf file it ask you if you want to open it or save it.
10:34
:)
10:35Selveste1 has joined #ltsp
10:45gnunux has quit IRC
10:48bobby_C has quit IRC
10:52alkisg has joined #ltsp
11:02
<alkisg>
!localxterm
11:02
<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.
11:02
<alkisg>
pmatulis: open a localxterm, and then run `ltsp-remoteapps gnome-terminal` from within it. Does it work?
11:03
<pmatulis>
alkisg: no
11:03
<alkisg>
Did you put REMOTE_APPS=True in lts.conf?
11:03
<pmatulis>
alkisg: yes
11:03
<alkisg>
Then something might be broken on Karmic, leave it for when you upgrade to Lucid :)
11:04
<pmatulis>
alkisg: that was my conclusion too
11:04
alkisg: it automatically thinks i'm requesting root privileges
11:04
alkisg: "[sudo] password for username":
11:04
<alkisg>
Erm, are you sure you did that right?
11:04
<pmatulis>
alkisg: and even if i'm root it tries to look for the program (evince or gnome-terminal) locally
11:05
alkisg: "cannot stat"
11:05
<alkisg>
pmatulis: I think you're doing something wrong...
11:05
Wanna vnc to test?
11:05
<pmatulis>
alkisg: not really :)
11:05
<alkisg>
ok
11:05
Does the xterm say "user@ltsp15" on its title?
11:05
<pmatulis>
alkisg: not sure what i could be doing wrong
11:05
<alkisg>
If not, it isn't a local xterm...
11:06
ltsp-remoteapps calls xprop, so it shouldn't have anything to do with sudo privileges
11:06
<pmatulis>
alkisg: yes
11:06
<alkisg>
Can you pastebin your version of ltsp-remoteapps?
11:07
The main command is, xprop -root -f LTSP_RCOMMAND 8s -set LTSP_RCOMMAND "$CMD $ARGS"
11:07
So even without ltsp-remoteapps, you could try: xprop -root -f LTSP_RCOMMAND 8s -set LTSP_RCOMMAND "gnome-calculator"
11:08
That shouldn't cause a "sudo" prompt in any case
11:09
<pmatulis>
alkisg: where do you get this stuff?!
11:09
<alkisg>
In the source code :)
11:09
<pmatulis>
alkisg: nice
11:09
<alkisg>
Did it open a gnome-calculator?
11:10
<pmatulis>
alkisg: trying now
11:11
alkisg: no response at all
11:11
<alkisg>
That's better than the sudo prompt :D
11:11
<pmatulis>
alkisg: yeah
11:11
<alkisg>
...but I'm still wondering what you might be doing wrong so you're getting that prompt
11:12
(07:07:12 PM) alkisg: Can you pastebin your version of ltsp-remoteapps?
11:12
(it's a shell file)
11:14
<pmatulis>
alkisg: http://pastebin.ca/1965901
11:14
<alkisg>
Ah, ok then, seems broken :D
11:15
You can safely postpone it till Lucid :D
11:15
<pmatulis>
alkisg: you were assuming i was guilty all this time!
11:15
<alkisg>
...till proven innocent :P
11:15
<pmatulis>
alkisg: er
11:15
<alkisg>
Ah, it's the other way around, isn't it? :D
11:16
Heh
11:16
<pmatulis>
alkisg: i thought bush was out of power
11:16
<alkisg>
" You need that in /etc/sudoers: ALL ALL=(ALL) NOPASSWD:NOEXEC:/usr/bin/ltsp-remoteapp"
11:16
So if you want ltsp-remoteapps to work in Karmic, you'd have to start hacking at your chroot
11:16
<pmatulis>
alkisg: damn!
11:16
<alkisg>
...the current implementation is much easier
11:17
<pmatulis>
alkisg: mgariepy was saying it's broken in Ubuntu 10.10
11:17
<alkisg>
I don't know, it works for me in Lucid though
11:17
<pmatulis>
alkisg: that is good to hear
11:18* alkisg will be sticking to LTS => LTS upgrade paths from now on...
11:21
<alkisg>
Btw, for anyone regularly doing remote support, here's a handy way to share a console between you and a remote pc, even if it is behind nat: http://www.torriefamily.org/~torriem/wiki/computer_stuff:shareterm
11:21* alkisg uses part of that to get remote terminals from ltsp clients...
11:24
<pmatulis>
alkisg: interesting - thanks for that
11:24
<alkisg>
!xauthority
11:25
<ltspbot`>
alkisg: "xauthority" :: to access the client X session from a local root shell, try: eval $(tr '\0' '\n' < /proc/$(pidof -s ldm gdm-simple-greeter gnome-session | cut -d' ' -f1)/environ | egrep '^DISPLAY=|^XAUTHORITY=') && export DISPLAY XAUTHORITY
11:25
<pmatulis>
alkisg: no, you're definitely not a geek
11:25
<alkisg>
:P
11:25
<pmatulis>
:)
11:26
<alkisg>
I wasted 17 years programming Windows... :(
11:26
<pmatulis>
now you're making up that time?
11:26
like someone in prison?
11:27
<alkisg>
Something like that - though unfortunately I'll have to pause any linux activities for the next 2 years..
11:27
<pmatulis>
alkisg: you mentioned kids earlier
11:28
<alkisg>
(trying to do a phd, kinda late though... :()
11:28
<pmatulis>
alkisg: so not php, wow
11:28
<alkisg>
Nah, php isn't for me
11:28
I prefer python :D
11:28
<pmatulis>
ok
11:37dobber has quit IRC
11:37alkisg has quit IRC
11:44
<EarlessPierre>
So is there a way to have a KDM greeter instead of an LDM greeter?
11:46vagrantc has joined #ltsp
11:55alkisg has joined #ltsp
11:55vagrantc has quit IRC
11:56mgariepy has quit IRC
11:57
<pmatulis>
EarlessPierre: i don't think so. LDM is integrated into how LTSP works these days
11:57
EarlessPierre: LDM actually runs on the client
11:59
<EarlessPierre>
oh, that sucks
11:59
Is there any way to get it to accept users that use csh and tcsh then?
11:59
<ogra_ac>
no
11:59
there is a debian bug with a workaround but that breaks it for all other users iirc
12:00
<EarlessPierre>
oh
12:00
<ogra_ac>
wait for vagrantc to return, he might remember the bug #
12:00
<EarlessPierre>
ok
12:00
<ogra_ac>
and you can use KDM through xdmcp but you will lose all functionallity
12:01
everything is deeply integrated with LDM in LTSP
12:01vagrantc has joined #ltsp
12:06mistik1_ has joined #ltsp
12:09mistik1 has quit IRC
12:09mgariepy has joined #ltsp
12:10komunista has joined #ltsp
12:10mistik1_ has quit IRC
12:11mistik1 has joined #ltsp
12:11
<mgariepy>
alkisg, i would like to hear what you did with mime type and prism if you have a few minutes
12:12
<alkisg>
Sure, let me paste the /debian directory...
12:13
<mgariepy>
you did integration with remoteapps prism applications ?
12:13vagrantc has quit IRC
12:15
<alkisg>
No, I don't use localapps
12:15
Just told prism to correctly open some extensions
12:16
<mgariepy>
local or remote, i
12:16
i'm a bit confuse now :D
12:16
<alkisg>
Locally
12:16
<mgariepy>
ok
12:16
<alkisg>
But the extension handling should be the same
12:16
Here are the related files: http://pastebin.ca/1965968
12:18mistik1 has quit IRC
12:18
<mgariepy>
so you register the applications so when you get a file of this type in firefox it open in this application
12:19mistik1 has joined #ltsp
12:19
<alkisg>
Right, firefox uses sharedmimeinfo while prism /etc/mime.types
12:19
For those that use localapps, it would be handy to build a package that associates all common extensions to a single common launcher, which checks to see if the app is available locally, and if not, then calls ltsp-remoteapps
12:20
<mgariepy>
firefox uses /etc/mailcap (debian/mime update this i guess)
12:20
<alkisg>
No, it uses sharedmimeinfo first
12:20
/etc/mailcap doesn't support internationalized descriptions
12:20
Firefox gives i18n descriptions for the "open with" dialog
12:21
<mgariepy>
mailcap is used to launch the applications for the file
12:21
<alkisg>
OK, I haven't checked that
12:22
<mgariepy>
sharedmimeinfo is used to register mimetype on the system
12:22
:)
12:22
<alkisg>
About the "ltsp-remoteapps evince %1", there was a bug in ltsp-remoteapps with multiple parameters, maybe that causes the problem you see
12:22
Both mime and sharedmimeinfo are used, they go to different places
12:22
<mgariepy>
yeah and they do different things :)
12:23
<alkisg>
Unfortunately prism doesn't read the sharedmimeinfo association at all
12:23
Why do you say that they do different things?
12:23vagrantc has joined #ltsp
12:24
<mgariepy>
mime register applications in /etc/mailcap so the system knows how to manage some files. and sharedmimeinfo register the filetype in the system so it know what filetype it is
12:25mistik1 has quit IRC
12:26mistik1 has joined #ltsp
12:26
<alkisg>
Aren't the mimetypes also registered in the package's .desktop files, according to xdg specs?
12:26
E.g. mine has MimeType=application/x-glossa;
12:27
I wasn't even using /etc/mailcap until I discovered that prism "bug"....
12:27
I thought /etc/mailcap was the "old" way to do things, and it was replaced with sharedmimeinfo / desktop files etc...
12:27
(I haven't read anything about it, I just saw that only a few apps register mime types this way...)
12:28
<mgariepy>
example for a doc document, if you add a line like :http://pastebin.com/b3BaVZPb
12:28
in /etc/mailcap
12:28
when clicking on a doc file in firefox, it's gonna show you open with "ltsp-remoteapps..."
12:29
<alkisg>
Sure, I use that too, I'm just saying that I thought that was the "old way" of doing file associations
12:29
...the new way being the xdg specs
12:29
<mgariepy>
firefox and chrome uses /etc/mailcap
12:30
<alkisg>
When I didn't put my file association in /etc/mailcap, firefox was still correctly opening my files
12:30
<mgariepy>
your package did ? or i'm confused
12:30
<alkisg>
I have some .glo files
12:31
That I want them opened with a "glossa" app
12:31mistik1 has quit IRC
12:31
<mgariepy>
grep glossa /etc/mailcap*
12:31
<alkisg>
no
12:31
Nothing there in the old version
12:31
I created a debian/sharedmimeinfo and a glossa.desktop file
12:31
That was all
12:31
debian/sharedmimeinfo does NOT go to /etc/mailcap
12:31
/debian/mime goes to /etc/mailcap
12:31
<mgariepy>
yeah
12:32
<alkisg>
I didn't have such a file, and firefox still opened them correctly
12:32mistik1 has joined #ltsp
12:32
<alkisg>
So I think that firefox reads the xdg database for file associations (what's its name) first, and if that fails, THEN it goes on to read /etc/mailcap
12:32
As a fallback for the older method
12:32
<mgariepy>
on your client, you don't have references in /etc/mailcap /etc/mailcap.order
12:33
<alkisg>
So what I'm saying is that there are 2 ways to declare file associations
12:33
<mgariepy>
i tried to import the sharedmimeinfo of openoffice and overrride the to launch remote on my client
12:33
and it wasn't working
12:33
<alkisg>
Firefox uses both of them, prism only the older one
12:34
You need a .desktop file too, to provide the command for that mime type
12:34
So it's a combination: sharemimeinfo + .desktop, OR/AND mailcap + mime.types
12:34
<mgariepy>
the test i did with sharedmimeinfo is : scp mgariepy@appsrv:/usr/share/mime/packages/openoffice* .
12:35
update-mime-database /sr/share/mime
12:35
<alkisg>
I think that's not enough, you need a .desktop file too
12:35
<mgariepy>
copy all openoffice desktop on the thin client
12:35
and sed to launch ltsp-remoteapps instead of soffice.
12:36
<alkisg>
And update-mime-database afterwards, to read the associations?
12:36
<mgariepy>
but i wasn't opening files
12:36
yeah
12:36tomak has joined #ltsp
12:36
<tomak>
Hi All
12:37
<alkisg>
OK let's take it from the start. So, you're saying that you didn't manage to get file associations working with a localapps firefox?
12:37
<mgariepy>
i did, but when i update the /etc/mailcap
12:37
<tomak>
Guys, did you test what is te max number of connected clients to ltsp server ?
12:38
<mgariepy>
tomak, depends of you resources available ;)
12:38
depends of your available ressources. sorry, i'm fr-ca
12:38
hehe
12:39
<tomak>
lets say that I have 2GB of RAM and Intel Quad processor with 1Gb/s NIC card. what is yours forecast
12:39
is it enough for the 10 users ?
12:40
have you got any experience ?
12:40
<mgariepy>
depend on the usage but i would say no
12:40
<elias_a>
tomak: What kind of usage?
12:40
<tomak>
usage: web browsing/email, text editing (OpenOffice)
12:40* alkisg is dazzled with vdpau... from 100% cpu + dropped frames, down to 20% cpu without dropped frames!
12:41bla has quit IRC
12:41
<elias_a>
alkisg: Tell me instantly what vdpau is all about or I kiss you! :D
12:42
<alkisg>
elias_a: hd video playback - sorry not directly related to ltsp, I just happened to try it just now
12:42
It offloads some decoding to the gpu
12:42
<elias_a>
tomak: OpenOffice is a hard one as it consumes a lot of memory.
12:42
alkisg: Any gpu OK?
12:43
<alkisg>
No, only a few ones are currently supported
12:43
nvidia, intel, ati something like that
12:43
<tomak>
are all the programs/processes (e.g. Open Office) reside in Server's memory ?
12:43
<alkisg>
tomak: I'd say that should suffice for 10-20 clients depending on the usage. E.g. with 5 of them watching fullscreen youtube video, your server+network would block
12:44
But non-flash web pages + openoffice, I think it could handle 20 users
12:45
<tomak>
alkisg: so what is the crucias resource in this case ? If I increase server's memory up to 4GB will it help ?
12:45
<alkisg>
For full screen flash, both cpu + network
12:45
<tomak>
alkisg: *crucial
12:45
<alkisg>
!flash
12:45
<ltspbot`>
alkisg: "flash" :: Yes, flash sucks. Make sure you have LDM_DIRECTX=True in your lts.conf file, or if it's just youtube you're after, try some flash replacing plugin like https://addons.mozilla.org/el/firefox/addon/161869/ (per user installation, gecko-mediaplayer is also needed).
12:47
<mgariepy>
alkisg, i scp /usr/share/mime/packages/openoffice.xml, scp /usr/share/applications/openoffice*, sed 's/ooffice/ltsp-remoteapps ooffice/g' openoffice* and then update-mime-database /usr/share/mime/
12:47primeministerp has quit IRC
12:47EarlessPierre has quit IRC
12:47
<mgariepy>
when i download a doc file it say that it's a msword document.
12:47primeministerp has joined #ltsp
12:48
<mgariepy>
but doesn't suggest me any application to open the file.
12:49
<alkisg>
mgariepy: when I did that with my own extension, it did suggest me to open the file
12:49
<mgariepy>
is your package freely avalaible ?
12:49
<alkisg>
Maybe firefox is reading /etc/mailcap *first* and it sees that Ooo isn't there
12:49
..and since I didn't have any associations in /etc/mailcap, then it went on to read the mime database
12:49
So maybe the order is the opposite
12:50
Let me see if I can find the old version, because in the new one I also write to /etc/mailcap...
12:50
<mgariepy>
maybe debian package do some magic
12:50
nice thanks
12:51
<alkisg>
Maybe. I have the old .deb on my disk if you want it, but it depends on wine :)
12:51
<mgariepy>
no problem
12:51
i just want to understand those d*** mime-tpes correctly so i can fix the local/remote apps issue correctly
12:52
<alkisg>
http://people.ubuntu.com/~alkisg/tmp/glossa_0.9.4.0-1_i386.deb
12:53
Create a text file with .glo extension and open it from firefox, localapp or otherwise
12:54
<mgariepy>
i just hope my thin client wont run out of memory :)
12:55
<alkisg>
I think the safest thing to do regarding local/remoteapps is to use *both* ways to associate extensions, though, i.e. both /etc/mailcap+mime.types and sharedmimeinfo+.desktop files.
12:56bla has joined #ltsp
12:57
<tomak>
so guys, what would be your solution for network with 50 users, using as I stated before web browser + open office + 25 of them youtube ?
12:57
<mgariepy>
do you need special content ?
12:57
<tomak>
I know that there is not accurate answer
12:57
bur any idea
12:57
?
12:57
<alkisg>
tomak: client specs? cpu/ram?
13:00Gadi has joined #ltsp
13:00
<tomak>
client: cpu 1.6 GHz Intel Atom, 1GB RAM, 100 Mb/s NIC card, GPU, Intel
13:00
<ogra_ac>
Gadi, !
13:01
<Gadi>
ogra_ac! ac, huh? is it hot where you are? har har
13:01
<ogra_ac>
heh, no, exactly the opposite
13:01
Gadi, all booked for BTS ?
13:02
<mgariepy>
alkisg, my test.glo file still a ascii file
13:02* ogra_ac points to pandaboard.org ... on sale since today !
13:04
<Gadi>
ogra_ac: getting there
13:05
<alkisg>
mgariepy: ah it's a subtype of plain/text that's why it opens in the browser, what's the shortcut for it not to open in a browser? Shift + click?
13:05
<Gadi>
I was all set to do the 8-hour drive - then, yesterday I notice deals from NY to Portland
13:05
of course, then I need to get to SW Harbor from Portland
13:05
:P
13:05
<ogra_ac>
which is also a days ride
13:05
i did that last year
13:06
<Gadi>
yeah
13:06
<alkisg>
mgariepy: or try a non-text file with .glo extension, not sure how I verified that it worked at that time
13:06* ogra_ac always finds it hard to cope with these slow american streets
13:06
<Gadi>
hehe
13:06
<alkisg>
Heh
13:06
<Gadi>
yeah, you can drive *like* it is the autobahn
13:06
:)
13:06
<ogra_ac>
heh
13:07
<mgariepy>
it justs want to save it now.
13:08robehend1 has joined #ltsp
13:08
<robehend1>
Was wondering if anyone could help me with an Ubuntu LTSP server, mostly involving Likewise-Open and lib-pam mount
13:09
<ogra_ac>
Gadi, so what aboout symbiant building some pandaboard based clients ?
13:09
<Gadi>
Symbio (*cough*) has to wait until the CTO has his fill of beer and sees what ogra has to show off
13:09
<ogra_ac>
it smarts out every ATOM easily
13:09
<Gadi>
:)
13:10
it doesn't smart out, it outsmarts
13:10
:)
13:10
tho, maybe ARM is littel-endian
13:10
<ogra_ac>
(dual core 1GHz, 1GB RAM ... about 10% of the power consumption of an intel)
13:10
<Gadi>
har har
13:10
<ogra_ac>
*grin*
13:10
<Gadi>
you bringing one to BTS?
13:11
<ogra_ac>
i can, yes
13:11artista_frustrad has joined #ltsp
13:11
<Gadi>
then, I shall bring the beer
13:11
:D
13:11
<ogra_ac>
i also registered a spec for adding full LTSP support for it in natty
13:11
beer and bamboo !
13:11
<alkisg>
mgariepy: I just tried removing .glo from /etc/mailcap and it still correctly shows the dialog
13:11Mobe has quit IRC
13:12
<ogra_ac>
and it looks like i can do it on worktime ;)
13:12
<Gadi>
wow! ogra's back?
13:12
<mgariepy>
there must be something else then.
13:12
<ogra_ac>
well, only for adding arm support :) but at least that
13:12* mgariepy starting to hate some aspect of firefox
13:13
<alkisg>
mgariepy: try with file:///some-directory-containing-a-glo-file
13:13
<Gadi>
ogra_ac: and if adding arm support should require fixing any and all of LTSP's non-existant short-comings...
13:13
<alkisg>
Oooh and dbus integration!
13:13
:D
13:14* ogra_ac giggles evlish
13:14
<mgariepy>
file:///home/mgariepy/
13:14
<ogra_ac>
what ?!?
13:14
you still didnt fix dbus integration ?!?
13:14
<mgariepy>
did you restarted ff ?
13:14
<alkisg>
Yup
13:14
(and yup to the other question too ;))
13:15
We're waiting for porsche intergration
13:15
<ogra_ac>
i have some spare ones ...
13:15
just come by and pick them up and you can integrate them
13:15artista_frustrad has quit IRC
13:15
<alkisg>
So, what's the max speed you managed to go in an autobahn?
13:16
<ogra_ac>
280km/h with my new one
13:16
<alkisg>
Ooooh flying low...
13:16
<ogra_ac>
there might have been more possible but i didnt want to break it
13:16
(even the new one is nearly 20 years old already)
13:17
<alkisg>
With that speed you could be here for a coffee in a few hours :D
13:17
<mgariepy>
alkisg, would you mind giving my the newer version ?
13:17
<ogra_ac>
heh, yeah, sadly there are speed limits after i cross the border
13:18
<vagrantc>
ogra_ac: what integration is needed on the pandaboard?
13:18
<ogra_ac>
vagrantc, a boot image, not sure what else beyond qemu-static ...
13:18
<robehend1>
So was anyone willing to attempt to help me on this Likewise-open and pam-mount issue?
13:18
<ogra_ac>
hi btw ;)
13:19
<vagrantc>
ogra_ac: kernel support in good shape?
13:19
sounds like a very nice piece of hardware
13:20
<alkisg>
mgariepy: ah, both of them are there: https://launchpad.net/~ts.sch.gr/+archive/ppa/+packages (forgot about the previous ubuntu versions, for karmic I still have the old one)
13:20
<ogra_ac>
vagrantc, not upstream, only TI branches available yet
13:20
<vagrantc>
ogra_ac: zumbi gave me an efikamx to mess around with... works great except for the kernel patches haven't been mainlined.
13:21
<ogra_ac>
yeah
13:21
same goes for TI OMAP4
13:21
<vagrantc>
and for some bizarre reason the ethernet interface is ... usb.
13:21
<mgariepy>
alkisg, thanks, and i'll stop bugging you for today :)
13:22
<alkisg>
mgariepy: np, those associations broke my nerves too 1 week ago
13:22
<mgariepy>
the funny fact is that it work quite well in chromium..
13:23
<vagrantc>
ogra_ac: though a dual-core arm sounds *nice*
13:23
<Gadi>
robehend1: I had writeen a wiki on likewise+pam-mount, on the Ubuntu LTSP wiki - look for AD integration
13:23
<robehend1>
Gadi: Went there and followed the instructions, however the mounts are only happening 1/3 of the time
13:23
<Gadi>
robehend1: sometimes I have found using pam-script and writing my own script to be easier in a likewise env
13:23
1/3 of the time?
13:23
<mgariepy>
quiet well is imo, the same desktop experience with chrome in localapps on LTSP, and with chrome on a normal desktop
13:23
<ogra_ac>
vagrantc, doesnt only *sound* nice, it also does 1080p video ;)
13:24
<mgariepy>
s
13:24
<robehend1>
gadi: It will occasionally mount the folders in the correct place, but sometimes, it doesnt even appear.
13:24
<mgariepy>
s/quiet/quite/g
13:24
<Gadi>
robehend1: anything in the logs?
13:24
<robehend1>
gadi: not that I see.
13:24
<Gadi>
robehend1: I have had more issues with it not unmounting than with it not mounting
13:24
<robehend1>
gadi: It also will sometimes work for user A for a good week, but then, it will drop for userA and then work for userB
13:25
<Gadi>
but, likewise also keeps changing with each version
13:25
<robehend1>
so i've noticed
13:25
<Gadi>
which version are you using?
13:25
<robehend1>
5.4
13:25
or whatever is native in the 10.04 repositories
13:25
<Gadi>
mounting with cifs?
13:25
<robehend1>
yep
13:25
<Gadi>
hmm
13:26
<robehend1>
have volumes setup to mount based on groups, all users a member of the group, and the group has full control of the share
13:26jhutchins_kc is now known as jhutchins
13:26
<robehend1>
I do, however, notice a delayed login with users. LDM pops up, authentication comes in, but gnome seems to take forever.
13:27
<Gadi>
what happens if you log in locally?
13:27
locally to the server, that is
13:27
<robehend1>
instant login, and always mounts
13:27
<Gadi>
ah
13:27
well, there is real funniness with ssh
13:27
<robehend1>
If i login with a local account, not an AD account, it usually goes pretty fast
13:27
<Gadi>
because of ssh's privelege separation
13:27
<robehend1>
on a client, that is
13:27
<Gadi>
did you make all the ssh changes?
13:28
<robehend1>
yes.
13:28
and if you dont, Likewise tends to do it itself these days, i've noticed
13:28
<Gadi>
hmm...
13:28
<robehend1>
I have sshd_config up, if you'd like me to look for a specific part
13:28
<Gadi>
well, likewise makes certain changes, but I think others were required for pam-mount to work
13:29
<robehend1>
I do remember having to set pam to actually be used, due to a funky config, but i'd be darned if I can remember where.
13:29
<Gadi>
ChallengeResponseAuthentication no PasswordAuthentication yes
13:30
<robehend1>
both set exactly that way
13:30
<Gadi>
GSSAPIAuthentication no
13:30
<robehend1>
also set that way
13:30
<Gadi>
(that one is just to speed things up)
13:30
<robehend1>
could this have anything to do with having FreeNX going on the server as well? I'd heard they work well together, but if it's the issue..
13:30
<Gadi>
and you can mount the shares by hand without a problem
13:31
<robehend1>
yep
13:31
<Gadi>
hmm...
13:31
<robehend1>
server is defined by direct IP, not dns, so thats not an issue, and user priviledges, at least on the windows side, is fine.
13:31
<Gadi>
well, it may still try a netbios lookup
13:32
<robehend1>
even if nsswitch is set to "files dns"?
13:32
<Gadi>
well, netbios is a samba thing
13:32
<robehend1>
valid point.
13:33
<Gadi>
but still, it is weird to have it only mount some times
13:33
<robehend1>
wish I could use this as an example why a switch to linux as the primary system here, instead of windows, would be a good idea, but I have a feeling it would blow up on my face
13:33
Agreed. It also seems to vary between clients.
13:33
I take my demo user and will login, one by one, and get the mount each time
13:33
<Gadi>
when it fails, can you check "mount"
13:33
<robehend1>
but students tend to be hit or miss
13:33
<Gadi>
maybe it never unmounted properly
13:33
<robehend1>
so your thinking it's not unmounting at logout?
13:34
<Gadi>
maybe
13:34
<robehend1>
and now to be a fool, but where am I looking a bit more? I'm ssh'd into the server now, and there are some active users, so perfect time to check
13:34
<Gadi>
type mount
13:35
are there more mountpoints than users?
13:35
er, more cifs mountpoints than user
13:35
*users
13:35
<robehend1>
hmm, lemme take a look here
13:35
how do i check current logged in users? I'm to used to a gui
13:35komunista has quit IRC
13:36
<Gadi>
w
13:36
usually works
13:36
<robehend1>
hmm
13:36
I do see 1 extra mount
13:37
actually, 2, considering 2 of them have a 32 day uptime, and I dont think any of my students are that devoted
13:37
<Gadi>
hehe
13:37
<robehend1>
so, if they arent unmounting, is there a work around?
13:39
<Gadi>
great question
13:40
it somewhat depends on why it is not unmounting
13:40
or, you can move from pam-mount to pam-script and write your own script to mount things and unmount them
13:41
<robehend1>
hmm
13:41
<Gadi>
I know, it seems like there should be a better way
13:41
<robehend1>
will pam-script allow me to use the $user and $domain_user variables?
13:41
<Gadi>
it will have knowledge of the user
13:41
at least
13:41
and from there, you can get the rest of the info
13:41
<robehend1>
Well, how about this. Instead of working to make the CIFS mounts go through, any way I can just make users /home folders mountable on windows?
13:41komunista has joined #ltsp
13:42
<Gadi>
samba
13:42
<robehend1>
only reason we are using Pam-mount is to mount their home folder, so they can share their files between windows and linux.
13:42
so basically, define the share in smb.conf, and see if it works?
13:42
<Gadi>
if their homedirs are a share in smb.conf, then Windows can map it
13:43
<robehend1>
hmm
13:43
<Gadi>
or, if you get to Windows with rdesktop, you don't need samba
13:43
just redirect the home dir
13:43
<robehend1>
do I need to give it 750 for permissions, so students can read/write to it?
13:43
<Gadi>
as a drive
13:43
<robehend1>
Sadly, we still have windows clients
13:44
big old Celeron D's with 512 mb of ram, on Xp SP3..and they want to use them for movie editing..
13:44
<Gadi>
:)
13:44
I've been there
13:44
:)
13:44
<robehend1>
I love the job of a k-12 admin :D
13:45
I'm assuming I have to put "guest ok = yes" in the share defination so windows can get to it?
13:45
<Gadi>
is there common auth?
13:45
oh yeah!
13:45
AD
13:45
<robehend1>
yep
13:45
<Gadi>
duh
13:45
<robehend1>
as long as it works
13:45
<Gadi>
sory - bouncing around
13:45
:)
13:45
<robehend1>
Ha, i've been out of the room 3 times since we've started this discussion, no worries
13:46
<Gadi>
users don't need gusst access
13:46
they can log in with their creds
13:46
and get their home directories
13:46
<robehend1>
So, just to make sure I'm stright
13:46
er, straight here
13:46
<Gadi>
as long as samba is using pam to auth and not its own users
13:47
in other words, if samba can use likewise to auth,
13:47
<robehend1>
I setup the share in smb.conf, map that in Active Directory to a students H: drive, and then I should be golden?
13:47
<Gadi>
right
13:47
and the share should already be there
13:47
[homes]
13:47
<robehend1>
Will I get all the home folder, er, folders? Desktop,Downloads, Documents, etc?
13:48
<Gadi>
right
13:48
the key is to make sure samba can auth to AD
13:48
<robehend1>
Hmm. where should I look for that?
13:48
<Gadi>
Im sure google has plenty on the topic - tho, maybe with likewise it just works
13:48
(I havent tried)
13:49
<robehend1>
Well, we will see. I'm hoping this works, so people stop whining
13:49
<Gadi>
:)
13:49
<robehend1>
It's almost as bad as when I converted them to Open Office
13:49
<Gadi>
do let me/us know
13:49
<robehend1>
it was as if I destroyed their lives
13:49
Oh, will do. I'm nearly finished setting up the share, and as long as I dont get interrupted for 20 min..
13:54
<Gadi>
bbiab
13:54
<robehend1>
thanks again!
14:25
Gadi: Got the share's working. Just had to, gasp, actually install samba instead of just smbfs. As long as kids keep hidden files turned on, they wont break anything too special.
14:29komunista has quit IRC
14:29komunista has joined #ltsp
14:32Lns has joined #ltsp
14:32Lns has joined #ltsp
14:48pmatulis has quit IRC
14:53[GuS] has quit IRC
14:59ogra_ac has quit IRC
15:00ogra_ac has joined #ltsp
15:08Gadi has left #ltsp
15:21robehend1 has left #ltsp
15:27mgariepy has quit IRC
15:40artista_frustrad has joined #ltsp
15:44komunista has quit IRC
15:44komunista has joined #ltsp
15:47dgroos has joined #ltsp
15:50tomak has left #ltsp
16:00alkisg has quit IRC
16:02bobby_C has joined #ltsp
16:06vagrantc has quit IRC
16:11mistik1_ has joined #ltsp
16:12Lumiere_ has joined #ltsp
16:15artista_frustrad has quit IRC
16:16ogra_ac has quit IRC
16:16mistik1 has quit IRC
16:16mikkel has quit IRC
16:16ogra has quit IRC
16:16cfkane has quit IRC
16:16Lumiere has quit IRC
16:16mistik1_ is now known as mistik1
16:18vmlintu has quit IRC
16:19cfkane has joined #ltsp
16:22vmlintu has joined #ltsp
16:22ogra has joined #ltsp
16:23ogra_ac has joined #ltsp
16:33igor has joined #ltsp
16:57komunista has quit IRC
17:05vongrippen has quit IRC
17:19artista_frustrad has joined #ltsp
17:23artista_frustrad has quit IRC
17:28bobby_C has quit IRC
17:29ogra_ac has quit IRC
17:56Lns has quit IRC
17:57mischko has joined #ltsp
18:25jhutchins_lt has quit IRC
18:29ogra_ac has joined #ltsp
18:35igor has quit IRC
18:39MorningSon has joined #ltsp
18:42mischko_ has joined #ltsp
18:43mischko_ has quit IRC
18:45mischko has quit IRC
19:01map7 has quit IRC
19:14map7 has joined #ltsp
19:20irule has joined #ltsp
19:24litlebuda has quit IRC
19:29jhutchins_lt has joined #ltsp
19:32al3 has joined #ltsp
19:35al3 has quit IRC
19:36obengdako has joined #ltsp
19:37al3 has joined #ltsp
19:39al3 has quit IRC
19:39al3 has joined #ltsp
19:42jhutchins_lt has quit IRC
19:50pmatulis has joined #ltsp
19:54obengdako has left #ltsp
20:03artista_frustrad has joined #ltsp
20:19johnny has left #ltsp
20:19johnny has joined #ltsp
20:19pmatulis has quit IRC
20:34map7work has joined #ltsp
20:36davidj has joined #ltsp
20:36map7 has quit IRC
20:50map7work has joined #ltsp
20:50davidj has quit IRC
20:52ogra_ac has quit IRC
21:11artista_frustrad has quit IRC
22:02irule has quit IRC
22:23ogra has quit IRC
22:24ogra has joined #ltsp
22:53vagrantc has joined #ltsp
23:49vmlintu has quit IRC