Re: : CentOS 7 & LTSP adventures, success.

Jim Kinney <[email protected]> Tue, 14 Apr 2015 12:54:22 -0400
Newsgroups gmane.linux.redhat.k12osn
Message-ID <CAEo=5Pz7908Y7i-qaUvHPY68uHrncZdXGnrLAD4=xEzi4FvJpA@mail.gmail.com>
--===============3555507106856323263==
Content-Type: multipart/alternative; boundary=f46d0442718216eb470513b215ac

--f46d0442718216eb470513b215ac
Content-Type: text/plain; charset=UTF-8

Disable selinux with setenforce 0 and retry. Or you can go digging in the
audit log for clues.
On Apr 14, 2015 12:51 PM, <[email protected]> wrote:

> Hello All,
>
> after copying over more recent images, this changes.
> Login at first seems to work.Then the screen goes all stripy, and goes
> back to logon screen.
> In /var/log/messages:
> Apr 14 18:40:42 localhost systemd: Created slice user-1000.slice.
> Apr 14 18:40:42 localhost systemd: Starting Session 3 of user caw.
> Apr 14 18:40:42 localhost systemd: Started Session 3 of user caw.
> Apr 14 18:40:42 localhost systemd-logind: New session 3 of user caw.
> Apr 14 18:40:47 localhost xinetd[1572]: START: ldminfod pid=3564
> from=::ffff:192.168.63.130
> Apr 14 18:40:47 localhost xinetd[1572]: EXIT: ldminfod status=0 pid=3564
> duration=0(sec)
> Apr 14 18:40:55 localhost systemd-logind: Removed session 3.
>
> In /var/log/secure:
> Apr 14 18:40:42 localhost sshd[3156]: Accepted password for caw from
> 192.168.63.130 port 47688 ssh2
> Apr 14 18:40:42 localhost sshd[3156]: pam_unix(sshd:session): session
> opened for user caw by (uid=0)
> Apr 14 18:40:46 localhost sshd[3160]: Received disconnect from
> 192.168.63.130: 11: disconnected by user
> Apr 14 18:40:46 localhost sshd[3156]: pam_unix(sshd:session): session
> closed for user caw
>
> Thanks for any clues.
>
> greetings, Johan
>
> ----- Oorspronkelijk bericht -----
> Van: "johan vermeulen7" <[email protected]>
> Aan: "Support list for open source software in schools." <
> [email protected]>
> Verzonden: Dinsdag 14 april 2015 12:27:24
> Onderwerp: Re: [K12OSN] :  CentOS 7 & LTSP adventures, success.
>
> And now I'm seeing this in lightdm log:
>
> [root@localhost ~]# tail -f /var/log/lightdm/x-0-greeter.log
>
> (lightdm-gtk-greeter:868): GLib-CRITICAL **: g_variant_get_type: assertion
> 'value != NULL' failed
>
> (lightdm-gtk-greeter:868): GLib-CRITICAL **: g_variant_type_is_subtype_of:
> assertion 'g_variant_type_check (type)' failed
>
> (lightdm-gtk-greeter:868): GLib-CRITICAL **: g_variant_get_type_string:
> assertion 'value != NULL' failed
>
> ** (lightdm-gtk-greeter:868): WARNING **: Unexpected accounts property
> type for XHasMessages: (null)
>
> (lightdm-gtk-greeter:868): GLib-CRITICAL **: g_variant_unref: assertion
> 'value != NULL' failed
>
> ----- Oorspronkelijk bericht -----
> Van: "johan vermeulen7" <[email protected]>
> Aan: "Support list for open source software in schools." <
> [email protected]>
> Verzonden: Dinsdag 14 april 2015 12:11:18
> Onderwerp: Re: [K12OSN] :  CentOS 7 & LTSP adventures, success.
>
> Hello,
>
> it could be this is related to Lightdm, the server has mate-desktop
> installed. I'm also seeing this EM:
> Apr 14 12:04:36 localhost lightdm: pam_unix(lightdm-greeter:session):
> session closed for user lightdm
>
> ----- Oorspronkelijk bericht -----
> Van: "johan vermeulen7" <[email protected]>
> Aan: "Support list for open source software in schools." <
> [email protected]>
> Verzonden: Dinsdag 14 april 2015 11:55:25
> Onderwerp: Re: [K12OSN] :  CentOS 7 & LTSP adventures, success.
>
> Hello Barry, Hello All,
>
> so I'm also experimenting on Centos7.
>
> I followed the procedure described by Barry below.
>
> The thinclient boots fine, but users or root can't logon.
> The EM I'm seeing is:
> Apr 14 11:46:02 localhost sshd[5003]: Connection closed by 192.168.63.130
> [preauth]
>
> I tried the usual, ltsp-update-sshkeys, Selinux, ...
>
> Can anyone help me with this?
>
> Many thanks.
>
> Johan
>
> ----- Oorspronkelijk bericht -----
> Van: "Johan Vermeulen" <[email protected]>
> Aan: "Support list for open source software in schools." <
> [email protected]>
> Verzonden: Vrijdag 2 januari 2015 22:34:53
> Onderwerp: Re: [K12OSN] :  CentOS 7 & LTSP adventures, success.
>
> Barry,
>
> thanks for letting us know.
> I am planning on deploying k12linux on Centos7.
>
> Greetings, johan
>
> Barry R Cisna <[email protected]>schreef:
>
> >Hello All,
> >
> >Thought this may be of interest to some here.
> >Decided to see how an install of LTSP on CentOS 7 would go,so here are
> >my findings and long story short LTSP can work on CentOS 7!
> >
> >1) Fresh install of CentOS 7
> >2) Do the standard install of the ltsp repo.rpm
> >3)" yum -y install ltsp-server", fails with three dependencies not
> >fulfilled.
> >4) add the epel & repoforge repos., still fails with xorg-x11-xdm not
> >found
> >5) find this rpm on net in i386 and force install
> >6) ltsp-server now installs fine on server, and ltsp-build-client builds
> >fine as well.
> >7) thin client boots but fails login, same as a recent CentOS 6.6 & LTSP
> >with root trying to get a login from ssh right behind the standard user?
> >
> >Plan B:
> >
> >1) rename /tftpboot/ltsp and /opt/ltsp to ltsp_OLD on CentOS 7 server.
> >
> >1a) from a working 8 month old install of LTSP on CentOS 6.6 on server
> >rsync -avz /var/lib/tftpboot/ltsp remoteCentOS7:/var/lib/tftpboot/
> >rsync -avz /opt/ltsp remoteCentOS7:/opt/
> >2a) restart nfs & xinetd services
> >3a) ltsp-update-sshkeys & ltsp-update-kernels
> >4a) boot client - login success!
> >5a) usb sticks & sound works.
> >6a) #optional, install latest google chrome on server with,
> >http://tecadmin.net/install-google-chrome-in-centos-rhel-and-fedora/
> >
> >Not necessary but all of the recent ltsp/k12linux server gets frequent
> >flash-plugin/plugin-container crashes using latest Firefox,
> >flash-plugin .
> >This is a known problem running flash-plugin on remote displays.
> >
> >Hope this may help someone.
> >
> >Barry
> >
> >
> >
> >
> >_______________________________________________
> >K12OSN mailing list
> >[email protected]
> >https://www.redhat.com/mailman/listinfo/k12osn
> >For more info see <http://www.k12os.org>
>
> _______________________________________________
> K12OSN mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
> _______________________________________________
> K12OSN mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
> _______________________________________________
> K12OSN mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
> _______________________________________________
> K12OSN mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
> _______________________________________________
> K12OSN mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>

--f46d0442718216eb470513b215ac
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">Disable selinux with setenforce 0 and retry. Or you can go d=
igging in the audit log for clues. </p>
<div class=3D"gmail_quote">On Apr 14, 2015 12:51 PM,  &lt;<a href=3D"mailto=
:[email protected]">[email protected]</a>&gt; wrote:<br=
 type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"margin:0 0=
 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello All,<br>
<br>
after copying over more recent images, this changes.<br>
Login at first seems to work.Then the screen goes all stripy, and goes back=
 to logon screen.<br>
In /var/log/messages:<br>
Apr 14 18:40:42 localhost systemd: Created slice user-1000.slice.<br>
Apr 14 18:40:42 localhost systemd: Starting Session 3 of user caw.<br>
Apr 14 18:40:42 localhost systemd: Started Session 3 of user caw.<br>
Apr 14 18:40:42 localhost systemd-logind: New session 3 of user caw.<br>
Apr 14 18:40:47 localhost xinetd[1572]: START: ldminfod pid=3D3564 from=3D:=
:ffff:192.168.63.130<br>
Apr 14 18:40:47 localhost xinetd[1572]: EXIT: ldminfod status=3D0 pid=3D356=
4 duration=3D0(sec)<br>
Apr 14 18:40:55 localhost systemd-logind: Removed session 3.<br>
<br>
In /var/log/secure:<br>
Apr 14 18:40:42 localhost sshd[3156]: Accepted password for caw from 192.16=
8.63.130 port 47688 ssh2<br>
Apr 14 18:40:42 localhost sshd[3156]: pam_unix(sshd:session): session opene=
d for user caw by (uid=3D0)<br>
Apr 14 18:40:46 localhost sshd[3160]: Received disconnect from <a href=3D"h=
ttp://192.168.63.130" target=3D"_blank">192.168.63.130</a>: 11: disconnecte=
d by user<br>
Apr 14 18:40:46 localhost sshd[3156]: pam_unix(sshd:session): session close=
d for user caw<br>
<br>
Thanks for any clues.<br>
<br>
greetings, Johan<br>
<br>
----- Oorspronkelijk bericht -----<br>
Van: &quot;johan vermeulen7&quot; &lt;<a href=3D"mailto:johan.vermeulen7@te=
lenet.be">[email protected]</a>&gt;<br>
Aan: &quot;Support list for open source software in schools.&quot; &lt;<a h=
ref=3D"mailto:[email protected]">[email protected]</a>&gt;<br>
Verzonden: Dinsdag 14 april 2015 12:27:24<br>
Onderwerp: Re: [K12OSN] :=C2=A0 CentOS 7 &amp; LTSP adventures, success.<br=
>
<br>
And now I&#39;m seeing this in lightdm log:<br>
<br>
[root@localhost ~]# tail -f /var/log/lightdm/x-0-greeter.log<br>
<br>
(lightdm-gtk-greeter:868): GLib-CRITICAL **: g_variant_get_type: assertion =
&#39;value !=3D NULL&#39; failed<br>
<br>
(lightdm-gtk-greeter:868): GLib-CRITICAL **: g_variant_type_is_subtype_of: =
assertion &#39;g_variant_type_check (type)&#39; failed<br>
<br>
(lightdm-gtk-greeter:868): GLib-CRITICAL **: g_variant_get_type_string: ass=
ertion &#39;value !=3D NULL&#39; failed<br>
<br>
** (lightdm-gtk-greeter:868): WARNING **: Unexpected accounts property type=
 for XHasMessages: (null)<br>
<br>
(lightdm-gtk-greeter:868): GLib-CRITICAL **: g_variant_unref: assertion &#3=
9;value !=3D NULL&#39; failed<br>
<br>
----- Oorspronkelijk bericht -----<br>
Van: &quot;johan vermeulen7&quot; &lt;<a href=3D"mailto:johan.vermeulen7@te=
lenet.be">[email protected]</a>&gt;<br>
Aan: &quot;Support list for open source software in schools.&quot; &lt;<a h=
ref=3D"mailto:[email protected]">[email protected]</a>&gt;<br>
Verzonden: Dinsdag 14 april 2015 12:11:18<br>
Onderwerp: Re: [K12OSN] :=C2=A0 CentOS 7 &amp; LTSP adventures, success.<br=
>
<br>
Hello,<br>
<br>
it could be this is related to Lightdm, the server has mate-desktop install=
ed. I&#39;m also seeing this EM:<br>
Apr 14 12:04:36 localhost lightdm: pam_unix(lightdm-greeter:session): sessi=
on closed for user lightdm<br>
<br>
----- Oorspronkelijk bericht -----<br>
Van: &quot;johan vermeulen7&quot; &lt;<a href=3D"mailto:johan.vermeulen7@te=
lenet.be">[email protected]</a>&gt;<br>
Aan: &quot;Support list for open source software in schools.&quot; &lt;<a h=
ref=3D"mailto:[email protected]">[email protected]</a>&gt;<br>
Verzonden: Dinsdag 14 april 2015 11:55:25<br>
Onderwerp: Re: [K12OSN] :=C2=A0 CentOS 7 &amp; LTSP adventures, success.<br=
>
<br>
Hello Barry, Hello All,<br>
<br>
so I&#39;m also experimenting on Centos7.<br>
<br>
I followed the procedure described by Barry below.<br>
<br>
The thinclient boots fine, but users or root can&#39;t logon.<br>
The EM I&#39;m seeing is:<br>
Apr 14 11:46:02 localhost sshd[5003]: Connection closed by 192.168.63.130 [=
preauth]<br>
<br>
I tried the usual, ltsp-update-sshkeys, Selinux, ...<br>
<br>
Can anyone help me with this?<br>
<br>
Many thanks.<br>
<br>
Johan<br>
<br>
----- Oorspronkelijk bericht -----<br>
Van: &quot;Johan Vermeulen&quot; &lt;<a href=3D"mailto:johan.vermeulen7@tel=
enet.be">[email protected]</a>&gt;<br>
Aan: &quot;Support list for open source software in schools.&quot; &lt;<a h=
ref=3D"mailto:[email protected]">[email protected]</a>&gt;<br>
Verzonden: Vrijdag 2 januari 2015 22:34:53<br>
Onderwerp: Re: [K12OSN] :=C2=A0 CentOS 7 &amp; LTSP adventures, success.<br=
>
<br>
Barry,<br>
<br>
thanks for letting us know.<br>
I am planning on deploying k12linux on Centos7.<br>
<br>
Greetings, johan<br>
<br>
Barry R Cisna &lt;<a href=3D"mailto:[email protected]">brcisna@eazylivi=
n.net</a>&gt;schreef:<br>
<br>
&gt;Hello All,<br>
&gt;<br>
&gt;Thought this may be of interest to some here.<br>
&gt;Decided to see how an install of LTSP on CentOS 7 would go,so here are<=
br>
&gt;my findings and long story short LTSP can work on CentOS 7!<br>
&gt;<br>
&gt;1) Fresh install of CentOS 7<br>
&gt;2) Do the standard install of the ltsp repo.rpm<br>
&gt;3)&quot; yum -y install ltsp-server&quot;, fails with three dependencie=
s not<br>
&gt;fulfilled.<br>
&gt;4) add the epel &amp; repoforge repos., still fails with xorg-x11-xdm n=
ot<br>
&gt;found<br>
&gt;5) find this rpm on net in i386 and force install<br>
&gt;6) ltsp-server now installs fine on server, and ltsp-build-client build=
s<br>
&gt;fine as well.<br>
&gt;7) thin client boots but fails login, same as a recent CentOS 6.6 &amp;=
 LTSP<br>
&gt;with root trying to get a login from ssh right behind the standard user=
?<br>
&gt;<br>
&gt;Plan B:<br>
&gt;<br>
&gt;1) rename /tftpboot/ltsp and /opt/ltsp to ltsp_OLD on CentOS 7 server.<=
br>
&gt;<br>
&gt;1a) from a working 8 month old install of LTSP on CentOS 6.6 on server<=
br>
&gt;rsync -avz /var/lib/tftpboot/ltsp remoteCentOS7:/var/lib/tftpboot/<br>
&gt;rsync -avz /opt/ltsp remoteCentOS7:/opt/<br>
&gt;2a) restart nfs &amp; xinetd services<br>
&gt;3a) ltsp-update-sshkeys &amp; ltsp-update-kernels<br>
&gt;4a) boot client - login success!<br>
&gt;5a) usb sticks &amp; sound works.<br>
&gt;6a) #optional, install latest google chrome on server with,<br>
&gt;<a href=3D"http://tecadmin.net/install-google-chrome-in-centos-rhel-and=
-fedora/" target=3D"_blank">http://tecadmin.net/install-google-chrome-in-ce=
ntos-rhel-and-fedora/</a><br>
&gt;<br>
&gt;Not necessary but all of the recent ltsp/k12linux server gets frequent<=
br>
&gt;flash-plugin/plugin-container crashes using latest Firefox,<br>
&gt;flash-plugin .<br>
&gt;This is a known problem running flash-plugin on remote displays.<br>
&gt;<br>
&gt;Hope this may help someone.<br>
&gt;<br>
&gt;Barry<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;_______________________________________________<br>
&gt;K12OSN mailing list<br>
&gt;<a href=3D"mailto:[email protected]">[email protected]</a><br>
&gt;<a href=3D"https://www.redhat.com/mailman/listinfo/k12osn" target=3D"_b=
lank">https://www.redhat.com/mailman/listinfo/k12osn</a><br>
&gt;For more info see &lt;<a href=3D"http://www.k12os.org" target=3D"_blank=
">http://www.k12os.org</a>&gt;<br>
<br>
_______________________________________________<br>
K12OSN mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]</a><br>
<a href=3D"https://www.redhat.com/mailman/listinfo/k12osn" target=3D"_blank=
">https://www.redhat.com/mailman/listinfo/k12osn</a><br>
For more info see &lt;<a href=3D"http://www.k12os.org" target=3D"_blank">ht=
tp://www.k12os.org</a>&gt;<br>
<br>
_______________________________________________<br>
K12OSN mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]</a><br>
<a href=3D"https://www.redhat.com/mailman/listinfo/k12osn" target=3D"_blank=
">https://www.redhat.com/mailman/listinfo/k12osn</a><br>
For more info see &lt;<a href=3D"http://www.k12os.org" target=3D"_blank">ht=
tp://www.k12os.org</a>&gt;<br>
<br>
_______________________________________________<br>
K12OSN mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]</a><br>
<a href=3D"https://www.redhat.com/mailman/listinfo/k12osn" target=3D"_blank=
">https://www.redhat.com/mailman/listinfo/k12osn</a><br>
For more info see &lt;<a href=3D"http://www.k12os.org" target=3D"_blank">ht=
tp://www.k12os.org</a>&gt;<br>
<br>
_______________________________________________<br>
K12OSN mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]</a><br>
<a href=3D"https://www.redhat.com/mailman/listinfo/k12osn" target=3D"_blank=
">https://www.redhat.com/mailman/listinfo/k12osn</a><br>
For more info see &lt;<a href=3D"http://www.k12os.org" target=3D"_blank">ht=
tp://www.k12os.org</a>&gt;<br>
<br>
_______________________________________________<br>
K12OSN mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]</a><br>
<a href=3D"https://www.redhat.com/mailman/listinfo/k12osn" target=3D"_blank=
">https://www.redhat.com/mailman/listinfo/k12osn</a><br>
For more info see &lt;<a href=3D"http://www.k12os.org" target=3D"_blank">ht=
tp://www.k12os.org</a>&gt;<br>
</blockquote></div>

--f46d0442718216eb470513b215ac--


--===============3555507106856323263==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
K12OSN mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
--===============3555507106856323263==--