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


Channel log from 19 December 2018   (all times are UTC)

01:48rafael-ec has joined IRC (rafael-ec!~rafael@37.218.241.6)
04:46alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Ping timeout: 272 seconds)
05:44alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
06:43ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
09:09GodFather has left IRC (GodFather!~rcc@143.59.184.72, Ping timeout: 244 seconds)
09:57rafael-ec has left IRC (rafael-ec!~rafael@37.218.241.6, Ping timeout: 250 seconds)
10:15rafael-ec has joined IRC (rafael-ec!~rafael@37.218.241.6)
10:22nehemiah has joined IRC (nehemiah!~nehemiah@hs-user-138.wia.cz)
10:49Faith has joined IRC (Faith!~Paty_@unaffiliated/faith)
11:41ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Remote host closed the connection)
12:49nehemiah has left IRC (nehemiah!~nehemiah@hs-user-138.wia.cz, Remote host closed the connection)
12:52nehemiah has joined IRC (nehemiah!~nehemiah@hs-user-138.wia.cz)
13:29nehemiah has left IRC (nehemiah!~nehemiah@hs-user-138.wia.cz, Remote host closed the connection)
13:32nehemiah has joined IRC (nehemiah!~nehemiah@hs-user-138.wia.cz)
13:47spaced0ut has joined IRC (spaced0ut!~spaced0ut@unaffiliated/spaced0ut)
13:52GodFather has joined IRC (GodFather!~rcc@96-92-43-9-static.hfc.comcastbusiness.net)
14:58bwicksall has joined IRC (bwicksall!~bwicksall@fw.pls-net.org)
15:00josefig has joined IRC (josefig!~josefig@unaffiliated/josefig)
15:00
<josefig>
good morning, if I want to my ltsp clients uses the mysql server how can I do that?
15:02
<mwalters>
not sure exactly what you're asking, but you could install the mysql client on the ltsp clients and connect to a remote mysql server
15:02
<josefig>
yes, the mysql server is in the server and i want the ltsp clients to use the mysql client
15:03
<mwalters>
fat clients or thin clients?
15:03
<josefig>
in fact is installed already the server but the ltsp client cannot connect when I try it says cannot connect
15:03
fat clients
15:04
<mwalters>
have you configured the mysql server to accept remote connections?
15:04
<josefig>
yes
15:04
<mwalters>
Not sure about mysql, but I know out of the box postgresql won't accept remote connections
15:05
additionally, the authentication needs to be configured for remote auth as well, in regard to postgres
15:05
if the clients can succesfully run the client, and the mysql server is running (and connectable locally), it's probably a mysql configuration issue, not ltsp specific
15:07
<josefig>
mwalters, one question, if I do a change in the mysql config should I create the image again ?
15:07
<mwalters>
You should only need the mysql client in the image
15:08
you'll probably need to restart the mysql server each time you change the config, though
15:08
service*
15:09
<josefig>
worked, my bad
15:09
<mwalters>
`service mysql restart` or something similar
15:09
:D
15:09
<josefig>
the IP was the from the server
15:09
:)
15:09
not localhost :X
15:09
<mwalters>
it gets confusing, doesn't it ;)
15:09
what's running where
15:09
<josefig>
sometimes
15:10
<mwalters>
Glad it works!
15:10
<josefig>
last question
15:10
if I want to setup some hosts on /etc/hosts and i want to set it up in the clients too, how can i do that?
15:14vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
15:19
<mwalters>
I *think* you could just put it into the client chroot /etc/hosts
15:19
e.g., /opt/ltsp/<arch>/etc/hosts
15:20
just be sure to rebuild the image after
15:20
update
15:26
<josefig>
i dont see any /etc/hosts on the client chroot
15:27
<mwalters>
I'm not sure then, I have one
15:38
<alkisg>
josefig: HOSTS_0="blabla" in lts.conf
15:38
And HOSTS_1 or HOSTS_WHATEVER
15:39nehemiah has left IRC (nehemiah!~nehemiah@hs-user-138.wia.cz, Remote host closed the connection)
15:43
<josefig>
alkisg, great, thank you!
16:29
<mwalters>
alkisg: will the client use /etc/hosts if it's there?
16:30
<alkisg>
Sure
16:35GodFather has left IRC (GodFather!~rcc@96-92-43-9-static.hfc.comcastbusiness.net, Ping timeout: 268 seconds)
17:38spaced0ut has left IRC (spaced0ut!~spaced0ut@unaffiliated/spaced0ut, Ping timeout: 272 seconds)
17:44spaced0ut has joined IRC (spaced0ut!~spaced0ut@unaffiliated/spaced0ut)
18:33
<josefig>
alkisg, I added HOSTS_0="192.168.1.142 development.local" but on the ltsp client I don't see it on /etc/hosts
18:36
another question, is it possible to see between users? let me explain how is our scenario, we develop software with the ltsp clients so for example I create vhosts with every client let's say: https://franz.local => /home/franz/public_html/ (on nginx) but I don't see the hosts I added as HOSTS_01="franz.local 192.168.1.142" and if my user (josefig) I want to see on /home/franz I don't see anything
18:48josefig has left IRC (josefig!~josefig@unaffiliated/josefig, Read error: No route to host)
18:57josefig has joined IRC (josefig!~josefig@unaffiliated/josefig)
18:57
<josefig>
sorry i got dc
19:07
<alkisg>
josefig: thin or fat clients?
19:16vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Remote host closed the connection)
19:16
<alkisg>
josefig: paste the output of `getltscfg -a` from a root shell on the client
19:16
Your client probably didn't get your HOSTS directive
19:18
<josefig>
alkisg, I use fat clients but I see they cannot use sudo on the terminals from ltsp fat clients
19:18vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
19:19
<josefig>
so I can get the output from the root on server ?
19:32
if I do from normal user on ltsp fat client it says permission denied, and If I try to do a sudo -s or sudo su it doesn't accept my password but on ssh directly the server it does accept my sudo password
19:36
<alkisg>
josefig: do you use epoptes?
19:36
!epoptes
19:36
<ltsp>
epoptes: Epoptes is a computer lab administration and monitoring tool. It works on Ubuntu and Debian based labs with LTSP or non-LTSP servers, thin and fat clients, standalone workstations, NX clients etc. More info: http://www.epoptes.org
19:36
<alkisg>
!screen_02
19:36
<ltsp>
screen_02: To get a root shell on an Ubuntu thin client: https://help.ubuntu.com/community/UbuntuLTSP/ClientTroubleshooting#Using_a_shell_SCREEN
19:36
<alkisg>
Those are 2 ways to get root on client
19:36
!root
19:36
<ltsp>
I do not know about 'root', but I do know about these similar topics: 'ROOT_PASSWORD_HASH'
19:36
<alkisg>
!ROOT_PASSWORD_HASH
19:36
<ltsp>
ROOT_PASSWORD_HASH: To be able to login as root in vt1, with password "qwer1234", put this in lts.conf: INIT_COMMAND_ROOT_HASH="sed 's!^root:[^:]*:!root:\$6\$p2LdWE6j\$PDd1TUzGvvIkj9SE8wbw1gA/MD66tHHlStqi1.qyv860oK47UnKcafSKqGp7cbgZUPlgyPv6giCVyCSCdJt1b0:!' -i /etc/shadow"
19:36
<alkisg>
And this a 3rd method
19:36
!sudo
19:36
<ltsp>
I do not know about 'sudo', but I do know about these similar topics: 'sudoers', 'fat-sudo'
19:36
<alkisg>
!fat-sudo
19:36
<ltsp>
fat-sudo: to allow members of the sudo group to execute "sudo" in fat clients without a password prompt, put this in lts.conf: RCFILE_01="echo '%sudo ALL=NOPASSWD: ALL' >> /etc/sudoers"
19:36
<alkisg>
And this is a fourth
19:36
!HASH
19:36
<ltsp>
I do not know about 'HASH', but I do know about these similar topics: 'LDM_PASSWORD_HASH', 'ROOT_PASSWORD_HASH'
19:36
<alkisg>
!LDM_PASSWORD_HASH
19:36
<ltsp>
LDM_PASSWORD_HASH: LDM_PASSWORD_HASH=True in lts.conf saves the password hash to /etc/shadow on login, so that the users can unlock the screensaver etc. If they happen to change their password though, that only takes effect until logout.
19:37
<alkisg>
And this is a fifth
19:37
Use one of them
19:38
<mwalters>
alkisg: can I assume that I could paste a "regular" shadow hash into INIT_COMMAND_ROOT to set the password I want?
19:38
<alkisg>
Yes, but watch out to escape $ as \$
19:38
<mwalters>
cool, thx ;)
19:41
getting ready for my 18.04 updates on the 31st... 4 servers, 4 locations :D
19:42
<alkisg>
Wish you luck!
19:42
<mwalters>
never did figure out what is going on with chrome on thin clients in 14.04
19:42
<alkisg>
Thin/fat? Ubuntu MATE? How many clients?
19:42
<mwalters>
fat/mate
19:42
coming from metacity/thin
19:42
<alkisg>
Ah, nice speedup then
19:42
<mwalters>
I'm sure you've talked with my boss in the past... we're on the map ;)
19:42
<josefig>
alkisg, let me read about it first
19:42
<alkisg>
If you only have fat, you could also just use stock ubuntu
19:43
I'm not so sure; I'm unrelated to people in ltsp.org that sell workstations
19:43
<mwalters>
ah, he's been in here ;)
19:43
<alkisg>
Probably then :D
19:43
<mwalters>
but he's been removed from the day to day IT stuff for a while
19:43
I've personally been using 18.04 on my workstation for a while
19:43
with i3... i3 runs great, as to be expected ;)
19:44
I figure our users will want a littl emore... desktop ;)
19:44
<josefig>
mwalters, I started buying endless EC200 and with a SDcard using iPXE boot works great with fat clients
19:45
<mwalters>
cool... we have a bunch of custom built mini-itx boards w/ celeron j1900s
19:45
varying levels of memory
19:45
also a couple of gigabyte brix intel I3s around
19:45
all just using standard pxe
19:45
coming from mostly windows/AD DS shops... this is great
19:46
I did a novell netware to AD DS for a school a few years back... I thought that was a step up... this is so much easier
19:48
once I get 18.04 rolled out, gonna move our windows users (mostly quickbooks) to fat clients and have them do windows terminal services/remote desktop
19:53
<||cw>
unless you already have the TS licenses, it might be better to go with a hosted quickbooks
19:54
<mwalters>
we already have desktop
19:55
I'm not really involved with those decisions... boss/money ppl decided that qbo doesn't suit our needs
19:55
also, we're non-profit, so we can get TS/RDP licenses for next to nothing
20:01josefig has left IRC (josefig!~josefig@unaffiliated/josefig, Ping timeout: 250 seconds)
20:06josefig has joined IRC (josefig!~josefig@unaffiliated/josefig)
20:07
<josefig>
alkisg, I got the output to getltscfg -a
20:08
SCREEN_02= "shell", SCREEN_07="ldm", LDM_DIRECTX="True", USE_LOCAL_SWAP="True"
20:20
alkisg, i found the problem, i added the variables into wrong section
20:20
<alkisg>
:)
20:21
<josefig>
ls
20:25
last thing, about the home with all users, i need it how can I do that? I added into /etc/exports >> /home *(rw,sync,no_subtree_check) and the variables on root fat client are like: SSH_FOLLOW_SYMLINKS="False" , FSTAB_1="192.168.1.142:/home /home nfs defaults,nolock 0 0", NFS_HOME="/home"
20:51josefig has left IRC (josefig!~josefig@unaffiliated/josefig, Ping timeout: 272 seconds)
21:00spaced0ut has left IRC (spaced0ut!~spaced0ut@unaffiliated/spaced0ut, Ping timeout: 250 seconds)
21:05josefig has joined IRC (josefig!~josefig@unaffiliated/josefig)
21:06
<josefig>
I got dc again sorry for that
21:12josefig has left IRC (josefig!~josefig@unaffiliated/josefig, Ping timeout: 272 seconds)
21:54GodFather has joined IRC (GodFather!~rcc@143.59.184.72)
22:00ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
22:00josefig has joined IRC (josefig!~josefig@unaffiliated/josefig)
22:58adrianor1 has joined IRC (adrianor1!~adrianorg@177.156.63.219)
23:01adrianorg has left IRC (adrianorg!~adrianorg@187.58.154.23, Ping timeout: 250 seconds)
23:06markit has joined IRC (markit!~marco@5-157-104-85.v4.ngi.it)
23:36josefig has left IRC (josefig!~josefig@unaffiliated/josefig, Remote host closed the connection)
23:53ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Remote host closed the connection)