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


Channel log from 16 April 2022   (all times are UTC)

00:24adrianorg has left IRC (adrianorg!~adrianorg@debian/adrianorg, Ping timeout: 246 seconds)
01:13Vercas5 has joined IRC (Vercas5!~Vercas@gateway/tor-sasl/vercas)
01:15Vercas has left IRC (Vercas!~Vercas@gateway/tor-sasl/vercas, Ping timeout: 240 seconds)
01:15Vercas5 is now known as Vercas
01:25adrianorg has joined IRC (adrianorg!~adrianorg@debian/adrianorg)
01:29Vercas has left IRC (Vercas!~Vercas@gateway/tor-sasl/vercas, Remote host closed the connection)
01:29Vercas has joined IRC (Vercas!~Vercas@gateway/tor-sasl/vercas)
04:03vagrantc has left IRC (vagrantc!~vagrant@2600:3c01:e000:21:7:77:0:40, Quit: leaving)
07:32ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
12:14at2f has joined IRC (at2f!~at2f@aputeaux-654-1-99-82.w90-2.abo.wanadoo.fr)
13:46jeremy_walker has joined IRC (jeremy_walker!~jeremy_wa@182.75.223.102)
13:48
<jeremy_walker>
Is there a way to disable certain services on the LTSP server? Specifically, I would like to disable Ubuntu Mate desktop environment from loading on the server, but I do need it load on the clients. The following command toggles between booting into a graphical environment or terminal:
13:48
$ systemctl set-default <graphical/multi-user>
13:48
Is there anyway to configure this on LTSP?
13:55at2f has left IRC (at2f!~at2f@aputeaux-654-1-99-82.w90-2.abo.wanadoo.fr, Ping timeout: 250 seconds)
14:08at2f has joined IRC (at2f!~at2f@aputeaux-654-1-99-82.w90-2.abo.wanadoo.fr)
14:10
<alkisg>
jeremy_walker: you should be able to call systemctl commands like this: POST_INIT_SYSTEMCTL="systemctl set-default --quiet --root=/ --no-reload graphical.target"
14:10
Otherwise, just create or delete the symlink it creates, with the ln command
14:10
Or, use KERNEL_PARAMETERS= in ltsp.conf to define it in the kernel cmdline... so many options
14:11
<jeremy_walker>
Thanks. The POST_INIT_SYSTEMCTL="systemctl set-default --quiet --root=/ --no-reload graphical.target" should be in the [clients] section correct?
14:11
<alkisg>
Correct
14:11
<jeremy_walker>
Awesome thanks.
14:11
<alkisg>
Run it on a client manually first to see that I got it right
14:14
<at2f>
Hi everyone. I'm experimenting with LTSP, and I get no sound on my clients (Ubuntu 22.04). I don't have any input nor output device listed in the settings. It works fine on the server.
14:14
<alkisg>
Hi at2f, do you have sound on your client if you use a live usb?
14:14
<at2f>
Yes
14:15
<alkisg>
Do you have another client to test ltsp with it?
14:15
I.e. it mostly sounds like a kernel issue
14:16
For example, if you use liveusb with kernel 5.13 it might work, and ltsp with kernel 5.4 might fail, and liveusb with 5.4 might also fail
14:17
<at2f>
OK, I'll try on a different client.
14:18
<alkisg>
OK, also verify that you're testing with the same kernel; and compare the output of `amixer` with or without ltsp
14:18
LTSP in general doesn't do anything regarding sound, so the fix would be the same with or without ltsp
14:33
<at2f>
i have plenty of stuff in `amixer`, but no device in GNOME Settings.
14:35
I tested in live USB and LTSP client, both with Ubuntu 22.04 kernel 5.15. It works fine in live USB, but not with LTSP.
14:39
It works fine on another client, I'll have to check what's wrong. =/
14:47
<alkisg>
And you're using stock ubuntu gnome, with gdm etc?
14:51
Does pavucontrol show a device? Can you play stuff with e.g. `aplay /bin/ls`?
14:52
One thing that I can imagine might be different, is snap applications, which have issues when home is on the network
14:52
If they ended up implementing the sound applet as a snap, dunno, it might explode or something :P
14:53* alkisg doesn't really test snap; he starts his installations with `apt purge snapd`...
14:56jeremy_walker has left IRC (jeremy_walker!~jeremy_wa@182.75.223.102, Ping timeout: 250 seconds)
15:07at2f has left IRC (at2f!~at2f@aputeaux-654-1-99-82.w90-2.abo.wanadoo.fr, Ping timeout: 250 seconds)
15:09at2f has joined IRC (at2f!~at2f@aputeaux-654-1-99-82.w90-2.abo.wanadoo.fr)
15:10
<at2f>
Yes, default Ubuntu 22.04's GNOME with GDM.
15:10
Weirdly enough, I have other client that are the exact same hard
15:10
ware, and they seem to work fine.
15:11
Nevermind. Out of 3 clients with the same hardware, 2 don't have sound on LTSP (but work fine without LTSP), and 1 works fine with LTPS.
15:12
I got nothing with `aplay /bin/ls`
15:20
<alkisg>
OK boot two of them in LTSP, one that works and one that doesn't. First, try to see if the problem is in the PC or the user account, i.e. switch user accounts or something
15:20
Then pastebin the output of `pactl list` for both clients, the one that works and the one that doesn't
15:21
<at2f>
i already tried several accounts. This is not linked to accounts.
15:21
Also, the one that was previously working is not working anymore after a reboot.
15:23
I just tried 3 clients without AUTOLOGIN, and it worked on all of them. Maybe I've been lucky, I'll try again to be sure.
15:41
OK, so after more testing, I'm 100% positive AUTOLOGIN is causing the issue.
15:42
Without AUTOLOGIN, sound works perfectly every time. With AUTOLOGIN, sound works less than 5% of the time I boot.
15:42
I get the following output when running `pactl list` on a client with no sound:
15:42
Connection failure: Connection refused
15:43
pa_context_connect() failed: Connection refused
15:46
I'm getting off work. I'll make a bug request later on this week-end and I'll be back troubleshooting all of it on Tuesday. Thanks for the help so far!
15:46at2f has left IRC (at2f!~at2f@aputeaux-654-1-99-82.w90-2.abo.wanadoo.fr, Quit: Client closed)
18:32vsuojanen has left IRC (vsuojanen!~vsuojanen@cable-hml-585689-119.dhcp.inet.fi, Ping timeout: 250 seconds)
18:34vsuojanen has joined IRC (vsuojanen!~vsuojanen@cable-hml-585689-119.dhcp.inet.fi)
19:03vsuojanen has left IRC (vsuojanen!~vsuojanen@cable-hml-585689-119.dhcp.inet.fi, Ping timeout: 256 seconds)
19:04vsuojanen has joined IRC (vsuojanen!~vsuojanen@cable-hml-585689-119.dhcp.inet.fi)
21:19vagrantc has joined IRC (vagrantc!~vagrant@2600:3c01:e000:21:7:77:0:20)
21:31ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)