[OpenAFS] Ubuntu 10.04 Login Issues
Thomas Calderon
calderon.thomas@gmail.com
Wed, 22 Dec 2010 18:40:57 +0100
--00221532c7ac71587a04980341a3
Content-Type: text/plain; charset=UTF-8
Hi,
We are also using Ubuntu 10.04 paired with AFS home dirs and I am facing a
hard problem with Gnome. Opening and closing sessions work flawlessly, but
when users lock their workstation at night, they can't unlock it the
following morning. Of course their TGT and AFS tokens expire overnight,
which is the main cause of the problem. I read in the discussion that a
GCONF_LOCAL_LOCKS variable might exist, which sounded promising but has no
effect nowadays. The problem only occurs with Gnome, KDE is fine. I spend
many ours trying to debug this issue.
The issue is reproductible for me using this approach:
running gnome-screensaver in debug
renew TGT with 10 seconds lifetime and lock
wait 15 minutes -> the GUI is freezed
killing in console gives back the GUI and I can renew TGT in a terminal
ex:
cd /tmp
apt-get source gnome-screensaver
cd gnome-screensaver-xxx/src/
sh debug-screensaver.sh (can be tuned to send log to /tmp/xxx.log)
kinit -l 10 xxx@MYREALM.COM
Any of you could point me in a direction on how to solve this ? I might end
up using xlock or xscreensaver, but I'd prefer to stay close to the
"default" environement.
Regards,
Thomas.
On Fri, Dec 10, 2010 at 1:54 PM, Thomas Briggs <tbriggs@cs.ship.edu> wrote:
> We use a mixed environment of Ubuntu 10.04 and Mac OSX machines in our labs
> and classrooms. After our upgrade to Ubuntu 10.04, are users are noticing
> that the first time they log in, GDM accepts their password, starts a
> session, and then terminates. They can usually log in the second time,
> though sometimes it takes two or three tries. After a few days of running,
> a 'ps -eaf' shows stray processes from just about every user, and every
> login session since the last reboot.
>
> Why am I asking here? Because this doesn't seem to be widespread Ubuntu
> problem, and I suspect it has something to do with the interaction between
> some new aberration of nature in Ubuntu 10.04 (and there are many) and the
> user's home directories, which are on AFS, and hopefully there is another
> school using it for their classrooms like we. Also, people on this group
> seem to be more helpful, patient, intelligent, and just downright better
> people :-)
>
> -tom
>
> -------------------------------------------
> Dr. Thomas Briggs, Assoc. Professor
> Dept. of Computer Science, Shippensburg University
> 1871 Old Main Drive / Shippensburg, PA 17257 / (717) 477-1178
>
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>
--00221532c7ac71587a04980341a3
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Hi,<br><br>We are also using Ubuntu 10.04 paired with AFS home dirs and I a=
m facing a hard problem with Gnome. Opening and closing sessions work flawl=
essly, but when users lock their workstation at night, they can't unloc=
k it the following morning. Of course their TGT and AFS tokens expire overn=
ight, which is the main cause of the problem. I read in the discussion that=
a GCONF_LOCAL_LOCKS variable might exist, which sounded promising but has =
no effect nowadays. The problem only occurs with Gnome, KDE is fine. I spen=
d many ours trying to debug this issue. <br>
<br>The issue is reproductible for me using this approach:<br>=C2=A0 runnin=
g gnome-screensaver in debug<br>=C2=A0 renew TGT with 10 seconds lifetime a=
nd lock<br>=C2=A0 wait 15 minutes -> the GUI is freezed<br>=C2=A0 killin=
g in console gives back the GUI and I can renew TGT in a terminal<br>
<br>ex:<br>=C2=A0 cd /tmp<br>=C2=A0 apt-get source gnome-screensaver<br>=C2=
=A0 cd gnome-screensaver-xxx/src/<br>=C2=A0 sh debug-screensaver.sh (can be=
tuned to send log to /tmp/xxx.log)<br>=C2=A0 kinit -l 10 <a href=3D"mailto=
:xxx@MYREALM.COM">xxx@MYREALM.COM</a><br>
<br><br>Any of you could point me in a direction on how to solve this ? I m=
ight=20
end up using xlock or xscreensaver, but I'd prefer to stay close to the=
"default" environement. <br><br>Regards,<br><br>Thomas.<br><br><=
div class=3D"gmail_quote">On Fri, Dec 10, 2010 at 1:54 PM, Thomas Briggs <s=
pan dir=3D"ltr"><<a href=3D"mailto:tbriggs@cs.ship.edu">tbriggs@cs.ship.=
edu</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">We use a mixed en=
vironment of Ubuntu 10.04 and Mac OSX machines in our labs and classrooms. =
=C2=A0After our upgrade to Ubuntu 10.04, are users are noticing that the fi=
rst time they log in, GDM accepts their password, starts a session, and the=
n terminates. =C2=A0They can usually log in the second time, though sometim=
es it takes two or three tries. =C2=A0After a few days of running, a 'p=
s -eaf' shows stray processes from just about every user, and every log=
in session since the last reboot.<br>
<br>
Why am I asking here? =C2=A0Because this doesn't seem to be widespread =
Ubuntu problem, and I suspect it has something to do with the interaction b=
etween some new aberration of nature in Ubuntu 10.04 (and there are many) a=
nd the user's home directories, which are on AFS, and hopefully there i=
s another school using it for their classrooms like we. =C2=A0Also, people =
on this group seem to be more helpful, patient, intelligent, and just downr=
ight better people :-)<br>
<br>
-tom<br>
<br>
-------------------------------------------<br>
Dr. Thomas Briggs, Assoc. Professor<br>
Dept. of Computer Science, Shippensburg University<br>
1871 Old Main Drive / Shippensburg, PA 17257 / (717) 477-1178<br>
<br>
_______________________________________________<br>
OpenAFS-info mailing list<br>
<a href=3D"mailto:OpenAFS-info@openafs.org">OpenAFS-info@openafs.org</a><br=
>
<a href=3D"https://lists.openafs.org/mailman/listinfo/openafs-info" target=
=3D"_blank">https://lists.openafs.org/mailman/listinfo/openafs-info</a><br>
</blockquote></div><br>
--00221532c7ac71587a04980341a3--