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


Channel log from 7 April 2021   (all times are UTC)

01:17kidar_ has joined IRC (kidar_!~kidar@197.185.105.86)
01:20kidar has left IRC (kidar!~kidar@197.185.106.1, Ping timeout: 240 seconds)
04:46
<kidar_>
hi i have a problem i have a ubuntu mate 16.04 running ltsp (no dhcp). After upgrading to 18.04 my clients cannot connect to the ltsp server
04:46
<alkisg>
Hi kidar_
04:47
What are your client specifications, CPU and RAM?
04:47
<kidar_>
hi, long time. it is the same server u setup for me in 2017
04:47
i5 and 4gig ram
04:48
<alkisg>
Sorry but I don't remember the client specifications from back then :)
04:48
The clients are i5?
04:48
<kidar_>
mixture
04:48
<alkisg>
What's your oldest client that you need to support? Is it 64 bit, can you upgrade to 20.04?
04:49
<kidar_>
client are old pcs without hd. about 2gig ram
04:50
<alkisg>
Can you vnc to me?
04:50
!vnc-edide
04:50
<ltspbot`>
vnc-edide: To share your screen with me, open Epoptes → Help menu → Remote support → Host: srv1-dide.ioa.sch.gr, and click the Connect button
04:50
<kidar_>
server can be upgraded to 20.04 if u suggest
04:50
<alkisg>
I can't suggest until I know if the clients are 32 bit or 64 bit
04:50
And if the server installation is 32bit, it can't be upgraded to 20.04 as it's only for 64bit
04:51
<kidar_>
i can vnc into u no problems. the clients however are not here. i just have the hard drive
04:51
which i upgraded to 18.04
04:52
<alkisg>
OK, please do vnc, so that we see if the server installation is 32bit
04:54
<kidar_>
ok. i alss have the original 16.04 hd which works and the 18.04 which only has internet connection. which would you want me to vnc
04:55
<alkisg>
The 18.04
04:55
<kidar_>
ok
05:00
i cannot connect
05:01
to srv1-dide.ioa.sch.qr
05:01
<alkisg>
Do you have xorg running, or are you using ssh?
05:01
Ah, it's gr, not qr
05:01
greece
05:04
OK so you have LTSP5, amd64 server installation, with an i386 chroot
05:04
You can't upgrade to 20.04 that way
05:05
Also, you have a customized dnsmasq.conf, with a note to remove the boot entries from ltsp-server-dnsmasq.conf
05:05
I guess that's what you didn't do, and your clients won't boot?
05:05
But in any case, if your clients have at least 2 GB RAM, which would mean they're 64bit, you should consider upgrading to 20.04 and ltsp21
05:06
<kidar_>
can i connect the old 16.04 and u can advise on how to update that one?
05:06
<alkisg>
It's not different
05:06
<kidar_>
will take me 1 min to change the hard drive
05:06
<alkisg>
There's no point in seeing 16.04
05:06
If you want my advice, it would best to start by listing the client's CPU/RAM
05:07
So that we can see if you can upgrade to 20.04 or not
05:07
But you'd need all the old clients; maybe some of them are not 64bit and you can't use 20.04
05:09
So, make a list, for example: E8400 with 2GB RAM, Pentium 4 with 1 GB RAM etc
05:09
You can see the cpu model by running cat /proc/cpuinfo
05:09
<kidar_>
they are all pentium celeron and above it is a mixture at the moment as there are only 6 pcs working. we hard a burglary and they stole all my i5(29 of them). i guess we can do 20.04 and i will get new clients
05:10
all the pcs have more than 2gig
05:11
<alkisg>
kidar_: OK from what I can see you don't have anything too customized; it would be a lot easier if you just did a clean 20.04 installation by following its installation page:
05:11
!install
05:11
<ltspbot`>
install: To install LTSP: https://ltsp.org/docs/installation/
05:11
<alkisg>
It should take less than an hour for that
05:12
<kidar_>
ok how about the client users etc that are already created with there docs.
05:13
<alkisg>
You can keep the existing /home if you like
05:13
You have 500+ GB free, you can keep the old installation in a subdirectory
05:13
And keep /home and the users list
05:14
If you prefer to just upgrade, sure, you can do that too
05:14
You'll just need to remove ltsp5 and install ltsp21 then
05:15
<kidar_>
so i can just do a normal upgrade to 20.04, then remove install ltsp21
05:17
<alkisg>
Yes
05:18
<kidar_>
ok let me do that now.thanks
05:19
<alkisg>
You're welcome
05:30ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
05:34RaphGro has joined IRC (RaphGro!~raphgro@fedora/raphgro)
05:41woernie has joined IRC (woernie!~werner@pd9e8b5cc.dip0.t-ipconnect.de)
06:59statler has joined IRC (statler!~Georg@p5b30e0ac.dip0.t-ipconnect.de)
07:33woernie has left IRC (woernie!~werner@pd9e8b5cc.dip0.t-ipconnect.de, Ping timeout: 265 seconds)
07:34woernie has joined IRC (woernie!~werner@www.velometrik.eu)
08:05
<kidar_>
hi alkisg, i have updated to 20.04 and installed ltsp up to dnsmasq
08:05
i also followed the instructions that u had to speed up the server but it removed all the education stuff
08:26
hi alkisg, i have updated to 20.04 and installed ltsp up to dnsmasq
08:26
<kidar_> i also followed the instructions that u had to speed up the server but it removed all the education stuff
08:49dragon788 has left IRC (dragon788!sid158229@gateway/web/irccloud.com/x-nzojtkejsxejatyv, Ping timeout: 248 seconds)
08:50dragon788 has joined IRC (dragon788!sid158229@gateway/web/irccloud.com/x-cubwgvzyokmxuwth)
09:06
<alkisg>
kidar_: hi, are things ok now or do you need help?
09:24
<kidar_>
need help now
09:24
<alkisg>
kidar_: what kind of help, to reinstall the missing applications? Which ones?
09:28
<kidar_>
i ran dnsmasq now i have no access to net. pc only has one nic. i can ping an ip address but not a www address
09:28
regarding packages the educational ones
09:29
<alkisg>
kidar_: run this command: x11vnc -connect 81.186.20.0
09:30
<kidar_>
nothing
09:35
<alkisg>
kidar_: ok, try to boot a client now
09:35
...do you have a test client around?
09:36
<kidar_>
yeh just did. it runs and now itsys press a key to reboot
09:37
<alkisg>
kidar_: you forgot some installation commands, try it again now
09:37
<kidar_>
no nothing now
09:38
before it got an ip then did something and now nothing
09:38
<alkisg>
Power it off, then power it on
09:39
<kidar_>
the client or server?
09:39
<alkisg>
The client
09:39
<kidar_>
ok
09:40
still nothing
09:40
<alkisg>
I don't see any dhcp request, is the cable properly connected?
09:40
If so, get a screenshot of the client screen with your mobile phone, and upload it somewhere
09:40
!screenshot
09:40
<ltspbot`>
screenshot: to upload a screenshot use a site like https://prnt.sc/ or https://snag.gy/ and then paste the URL here
09:41
<kidar_>
dhcp is from the router
09:41
<alkisg>
Yes, the ltsp server is notified when ltsp clients request an ip from the router
09:41
Apr 07 11:35:27 pst-ProLiant-DL60-Gen9 dnsmasq-dhcp[30764]: PXE(enp2s0) 00:19:db:7a:d1:95 proxy
09:41
I didn't see that line now
09:41
OK now it's there
09:41
<kidar_>
yep
09:42
<alkisg>
Disconnected cable?
09:42
<kidar_>
switched it off waited a min then switched on.
09:42
<alkisg>
OK
09:42
<kidar_>
it is still saying press a key to reboot
09:42
<alkisg>
Can you upload a screenshot?
09:43
<kidar_>
its just a blank screen with press a key to reboot
09:43
<alkisg>
kidar_: reboot it once more
09:43
You may need to wait one minute again etc
09:44
(actually you may unplug it from the power, then press power on to discharge the capacitors, and then plug it to power again, and press power on)
09:44
<kidar_>
ok
09:44
<alkisg>
(so that you don't need to wait 1 minute)
09:46
<kidar_>
still doing the same disconnected network and power and pressed the power cable. will connect again
09:47
<alkisg>
Disconnect the power cable, not the network cable
09:47
So that it doesn't have 220V
09:47
Then press the power on button
09:47
Then connect the 220V again
09:52
<kidar_>
did it still not seeing the server
09:52
<alkisg>
Is it connected directly to the router, or to a switch?
09:53
<kidar_>
ok it is on now
09:53
connected to the router
09:54
<alkisg>
kidar_: another ltsp command was missing, I ran it now, you'll need to reboot the client again
09:54
<kidar_>
it came up with a blue screen asking me to select. then by the i got it came up with reboot
09:54
<alkisg>
You didn't follow all the installation instructions... :)
09:54
OK, let it reboot
09:56
<kidar_>
sorry i thought i did my sincere apologies
09:56
the packages i was talking about were the edubuntu ones
09:57
<alkisg>
Edubuntu doesn't exist since 2012, so I'm not sure which packages you want
09:57
You may reinstall them from synaptic
09:58
<kidar_>
last time u did it manually for me the tux and primary school
09:58
<alkisg>
Search for tux in synaptic and install it
09:59
<kidar_>
so i am guessing for now it is working
09:59
<alkisg>
Yes, it looks fine
09:59
<kidar_>
i dont need to do anything to the server
10:00
<alkisg>
I don't think so
10:00
Except than to install programs
10:01
<kidar_>
ok you had a command that u used to install the packages would that still work
10:01
from terminal
10:01
<alkisg>
I don't remember, I help in 1000+ installations per year :)
10:01
apt install program1 program2...
10:01
But I don't know which programs you want
10:04
<kidar_>
i pasted something on the terminal can u see it
10:06
<alkisg>
kidar_: no, edubuntu programs do not exist anymore
10:06
There's no ubuntu-edu-primary package
10:06
The programs are still there, but you need to specify them one by one
10:06
E.g. apt install tuxpaint tuxtype kolourpaint whatever
10:07
<kidar_>
ohh ok thanks for the help in setting this up again for me.
10:07
take care
10:08
<alkisg>
You're welcome; keep notes so that you can do it yourself next time!
10:08
The installation page is easy enough to follow
10:08
<kidar_>
need to know what u fixed and what i did not do right
10:08
<alkisg>
You didn't read the installation page
10:08
You only ran half of it
10:09
<kidar_>
will try and setup a dummy one at home and check. but once again thanks to you my school will be back on
10:09
<alkisg>
cheers
10:09
<kidar_>
i ran half because could not access the net
10:10
<alkisg>
That was because the 16.04 was using resolvconf and 18.04 didn't use it
10:10
It's an "ubuntu upgrade" issue, unrelated to ltsp
10:10
So I removed the old resolvconf package
10:11
<kidar_>
ohh ok , one last question.
10:11
you have chrootless, chroot and virtual
10:12
<alkisg>
Use chrootless, it's easier for you and it suits you
10:12
<kidar_>
thats what i needed to know.
10:12
<alkisg>
You may run `rm -rf /opt/ltsp` later on btw
10:12
You don't need that folder anymore, it's the old ltsp, you may delete it
10:14
<kidar_>
ok will do so
10:50
alksig, after installing the packages will this command still work to update the image sudo ltsp-update-image -c /
11:06mgariepy has left IRC (mgariepy!~mgariepy@ubuntu/member/mgariepy, Ping timeout: 240 seconds)
11:07
<kidar_>
alksig, after installing the packages will this command still work to update the image sudo ltsp-update-image -c /
11:10kidar_ has left IRC (kidar_!~kidar@197.185.105.86, Quit: Leaving)
12:14mgariepy has joined IRC (mgariepy!~mgariepy@ubuntu/member/mgariepy)
12:33woernie has left IRC (woernie!~werner@www.velometrik.eu, Ping timeout: 240 seconds)
12:34woernie has joined IRC (woernie!~werner@pd9e8b5cc.dip0.t-ipconnect.de)
14:18woernie has left IRC (woernie!~werner@pd9e8b5cc.dip0.t-ipconnect.de, Remote host closed the connection)
14:19woernie has joined IRC (woernie!~werner@pd9e8b5cc.dip0.t-ipconnect.de)
14:27
<Helenah>
alkisg, Okay going to use epoptes now, never used it. :3
14:28
alkisg, It would be good if I could see the X mode of individual clients, they are all wrong, one of them is using industrial 4K resolution when it should be using standard 4K resolution, the other one well that's worse, that's the one we are dealing with right now. :3
14:29
<alkisg>
Helenah: LTSP doesn't affect the client resolutions, but yeah epoptes would help a lot there
14:29
If you followed the installation page, you might already have it installed...
14:29
!install
14:29
<ltspbot`>
install: To install LTSP: https://ltsp.org/docs/installation/
14:46dsj2 has joined IRC (dsj2!~David@70-237-72-173.lightspeed.chrlnc.sbcglobal.net)
15:02
<Helenah>
alkisg, I was going to play more with epoptes but my LTSP server is headless and now I can't log into my thin clients!
15:02
I think it would be best if I put some remote desktop server on the LTSP server, right?
15:02
I'm going to do that now.
15:04
<alkisg>
Helenah: you can run `ssh -X epoptes`
15:09mgariepy has left IRC (mgariepy!~mgariepy@ubuntu/member/mgariepy, Ping timeout: 268 seconds)
15:16
<Helenah>
alkisg, Yes done :3
15:29mgariepy has joined IRC (mgariepy!~mgariepy@ubuntu/member/mgariepy)
15:42
<Helenah>
alkisg, I seem to have no xorg.conf on the client that the screen goes blank on when starting GDM
15:43
But on the working client, I have an xorg.conf file
15:43
I'm really struggling with epoptes, it seems a user has to be logged into the client before I can control it, open a terminal to it even.
15:43
So I'm not sure how I'm supposed to run xrandr on the client.
15:56Vercas has left IRC (Vercas!~Vercas@gateway/tor-sasl/vercas, Remote host closed the connection)
15:57Klimm has joined IRC (Klimm!~Georg@p5489776a.dip0.t-ipconnect.de)
15:57Vercas has joined IRC (Vercas!~Vercas@gateway/tor-sasl/vercas)
15:58statler has left IRC (statler!~Georg@p5b30e0ac.dip0.t-ipconnect.de, Ping timeout: 252 seconds)
16:01
<alkisg>
Helenah: no, you should be able to control the client before log in as long as epoptes is properly installed
16:01
Are you using gnome?
16:01
<Helenah>
gnome is on the system yes, basic gnome (Ubuntu Server) and GDM :3
16:02Vercas has left IRC (Vercas!~Vercas@gateway/tor-sasl/vercas, Client Quit)
16:02
<alkisg>
GDM doesn't allow vnc-like programs
16:02
<Helenah>
Oh o:
16:02
<alkisg>
I reported it as a bug but they refused to accept it as a valid use case
16:02
<Helenah>
Yeah weird that they did that! lol
16:03
It makes sense that if a computer is to be graphically remotely accessible that the login screen would also allow that lol
16:03
<alkisg>
I think it'll take another 10 years for me to switch back to gnome, it's not suitable for education anymore
16:03
I think MATE and KDE are better options for now
16:12Vercas has joined IRC (Vercas!~Vercas@gateway/tor-sasl/vercas)
16:18Klimm has left IRC (Klimm!~Georg@p5489776a.dip0.t-ipconnect.de, Quit: cu @ll)
16:19
<Helenah>
alkisg, In GNOME settings, I was able to set both monitors to 3840 x 2160 (16:9) @ 23.98 Hz and that's correct.
16:20
I tried adding that to X_MODELINE in /etc/ltsp/ltsp.conf however that has not worked.
16:20
I would rather have correct resolutions globally rather than having to guess what I'm typing in at GDM before I get a display...
16:21
<alkisg>
Helenah: are you sure you're using xorg and not wayland?
16:21
wayland isn't affected by xorg.conf settings...
16:21
<Helenah>
alkisg, Oh, good point! o.o
16:22
alkisg, How do I check?
16:23
Oh I think I figured it
16:24
<alkisg>
Just run xrandr after login
16:24
<Helenah>
XDG_SESSION_TYPE returns x11
16:24
<alkisg>
if it says XWAYLAND...
16:24
<Helenah>
I'll do that too
16:24
<alkisg>
Btw, it's possible that gdm is using wayland, and the session uses x11
16:24
...just install lightdm and call it a day :D
16:25
<Helenah>
Oh o:
16:26
<alkisg>
I gave up on gnome before figuring out all its quirks
16:30
<Helenah>
Installing lightdm now :3
16:38
alkisg, I don't usually use display managers.
16:38
But Ubuntu is notorious for recommending one!
16:38
lol
16:38
Or suggesting one?
16:38
heh
16:42
<alkisg>
Helenah: eh, you can omit gdm and its problems then
16:42
Use nodm or something
16:49
<Helenah>
alkisg, I'm using lightdm cause I don't want to be automatically logged in.
16:49
But... even at lightdm, same wrong resolution :/
16:49
<alkisg>
(07:37:53 PM) Helenah: alkisg, I don't usually use display managers. ==> then how would you log in?
16:49
Now with lightdm, can you access the client via epoptes?
16:51
<Helenah>
alkisg, No
16:51
<alkisg>
Are you using a chroot?
16:51
<Helenah>
ltsp image /
16:52
<alkisg>
Can you login to a client, and then VNC to me from there?
16:52
!vnc-alkisg
16:52
<ltspbot`>
vnc-alkisg: To share your screen with me, run this: sudo apt-get --yes install x11vnc; x11vnc -connect alkisg.ltsp.org; this is a reverse connection, it doesn't need port forwarding etc.
16:54
<Helenah>
alkisg, My gf is paranoid with that
16:55
o.o
16:55
Okies
16:55
<alkisg>
No worries
16:55
I just don't have enough time now, we can check it out via IRC another day, although it's not LTSP related...
16:55
It's just about generating a correct xorg.conf for lightdm to use
16:57
<Helenah>
alkisg, Ah!
16:57
Thanks
18:01Vercas0 has joined IRC (Vercas0!~Vercas@gateway/tor-sasl/vercas)
18:02Vercas has left IRC (Vercas!~Vercas@gateway/tor-sasl/vercas, Ping timeout: 240 seconds)
18:02Vercas0 is now known as Vercas
18:02
<Helenah>
alkisg, Since installing lightdm and updating the image, the thin clients have no audio, yeah, weird I know! Like why would a display manager affect audio? I've checked pavucontrol and alsamixer, the sound card is detected correctly and being used to play audio through but I don't hear it.
18:03
<alkisg>
I can't imagine anything related to the DM, but maybe it's just using the wrong output, e.g. jack instead of HDMI?
18:04
<Helenah>
There is no jack hardware and it's using HDMI
18:04
I can see it's using the sound device of my graphics card which is what I want.
18:05
<alkisg>
Not sure about how GNOME handles audio, maybe you can ask in #ubuntu?
18:05
In MATE, I can see the settings from the volume applet
18:05woernie has left IRC (woernie!~werner@pd9e8b5cc.dip0.t-ipconnect.de, Ping timeout: 260 seconds)
18:05woernie has joined IRC (woernie!~werner@www.velometrik.eu)
18:06
<Helenah>
Yeah I just did a GNOME speaker test, no worky, I'll ask there. :)
18:14vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
18:53woernie has left IRC (woernie!~werner@www.velometrik.eu, Remote host closed the connection)
20:18ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
21:13shored has left IRC (shored!~shored@dc790tyd0r43fhff5-3ct-3.rev.dnainternet.fi, Remote host closed the connection)
21:14shored has joined IRC (shored!~shored@81-175-153-95.bb.dnainternet.fi)
22:27Vercas has left IRC (Vercas!~Vercas@gateway/tor-sasl/vercas, Remote host closed the connection)
22:28Vercas has joined IRC (Vercas!~Vercas@gateway/tor-sasl/vercas)