Discussion:
[Ltsp-discuss] newbie: changing pulseaudio file in chroot
Dirk Hennrichs
2015-08-21 14:59:57 UTC
Permalink
hallo, i'm new to ltsp. finally i set up ltsp5 server. thin client can log
in to the ltsp server but there is no sound. pulseaudio -vvv debug shows me
in the clients environment that there is a wrong entry in /etc/pulseaudio/
default.pa. i need to comment out a line in that file. but how can i change
this in the clients compressed image?? i read something about chroot can do
that but i dont understand that. i use kiwi 5.0.5 on suse 13.1. bootimage
is served per aoe to the clients. can somebody tell me how i can change
default.pa file of pulseaudio in clients compressed image so that i can
enable sound to them? thanks a lot and sorry for my bad english!!!
Lance Levsen
2015-08-21 15:43:35 UTC
Permalink
Hi Dirk,

You'll probably get a tonne of responses to this. :)

***@server: /usr/sbin/chroot /opt/ltsp/i386/ /bin/bash

What that does: chroot with /opt/ltsp/i386/ as / and run /bin/bash as the shell. 'exit' or Ctrl-d to exit the chroot.

You should also have a program called ltsp-chroot on your server you should use that instead:

If you used the default settings when setting up the client image then you can just call:

***@server: /usr/sbin/ltsp-chroot

man ltsp-chroot for the settings or edit /etc/ltsp/ltsp-chroot.conf to set them as you want.

If you're serving images via nbd you'll have to rebuild the image after you've edited the chroot.
***@server: /usr/sbin/ltsp-update-image

DO NOT DO this if you're serving the image via NFS.

Cheers,
lance
Post by Dirk Hennrichs
hallo, i'm new to ltsp. finally i set up ltsp5 server. thin client can log
in to the ltsp server but there is no sound. pulseaudio -vvv debug shows me
in the clients environment that there is a wrong entry in /etc/pulseaudio/
default.pa. i need to comment out a line in that file. but how can i change
this in the clients compressed image?? i read something about chroot can do
that but i dont understand that. i use kiwi 5.0.5 on suse 13.1. bootimage
is served per aoe to the clients. can somebody tell me how i can change
default.pa file of pulseaudio in clients compressed image so that i can
enable sound to them? thanks a lot and sorry for my bad english!!!
------------------------------------------------------------------------------
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
--
Lance Levsen,
Catprint Computing
Tel: (306) 493-2278
Cell: (306) 230-8783
Dirk Hennrichs
2015-08-21 16:27:10 UTC
Permalink
hi lance, ah ok i think i understand. on kiwi the program is called
kiwi-chroot i always edited the file but after exit from chroot and booting
the client the file was unchanged. i'll have to the ltsp-update-image that
will then compress the chroot environment to the image the thin client will
boot then. aaaaaaah i'll try this on work at monday. you helped me a lot to
understand that thanks!!!!
Post by Lance Levsen
Hi Dirk,
You'll probably get a tonne of responses to this. :)
What that does: chroot with /opt/ltsp/i386/ as / and run /bin/bash as the
shell. 'exit' or Ctrl-d to exit the chroot.
You should also have a program called ltsp-chroot on your server you
man ltsp-chroot for the settings or edit /etc/ltsp/ltsp-chroot.conf to set
them as you want.
If you're serving images via nbd you'll have to rebuild the image after
you've edited the chroot.
DO NOT DO this if you're serving the image via NFS.
Cheers,
lance
Post by Dirk Hennrichs
hallo, i'm new to ltsp. finally i set up ltsp5 server. thin client can
log
Post by Dirk Hennrichs
in to the ltsp server but there is no sound. pulseaudio -vvv debug shows
me
Post by Dirk Hennrichs
in the clients environment that there is a wrong entry in
/etc/pulseaudio/
Post by Dirk Hennrichs
default.pa. i need to comment out a line in that file. but how can i
change
Post by Dirk Hennrichs
this in the clients compressed image?? i read something about chroot can
do
Post by Dirk Hennrichs
that but i dont understand that. i use kiwi 5.0.5 on suse 13.1. bootimage
is served per aoe to the clients. can somebody tell me how i can change
default.pa file of pulseaudio in clients compressed image so that i can
enable sound to them? thanks a lot and sorry for my bad english!!!
------------------------------------------------------------------------------
Post by Dirk Hennrichs
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
--
Lance Levsen,
Catprint Computing
Tel: (306) 493-2278
Cell: (306) 230-8783
------------------------------------------------------------------------------
_____________________________________________________________________
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net
Loading...