[SunRay-Users] Utwho not working
Philippe Bourdeu d'Aguerre
bda at aime-toulouse.fr
Tue Jan 16 09:58:09 EET 2007
Le mardi 16 janvier 2007 01:04, ottomeister a écrit :
> On 1/15/07, Philippe Bourdeu d'Aguerre <bda at aime-toulouse.fr> wrote:
> > Utwho is not working here. Looking at this script, it seems to search
> > beginning by "XID=" in files /tmp/SUNWut/session_proc/* but these files
> > contain only one "uid=" line.
> It's possible that this could happen if the filesystem that contains
> /var/opt/SUNWut gets full. Has that happened recently? I'd
> consider that a bug, you could open a support call against it.
> As long as there's space in /var/opt/SUNWut these files should
> be repaired the next time the user logs out.
> If you don't want to force your users to log out then you could
> partially repair the files (enough to make 'utwho' happy) by
> creating an XID= line in each file. The tricky part is that the
> XID= line must occur before the uid= line in order for 'utwho' to
> behave properly. (I consider that a bug too.) Since each file in
> /tmp/SUNWut/session_proc is named for its X display number,
> and that's the value that should be in the XID= line, you could
> do something like:
> cd /tmp/SUNWut/session_proc
> for F in [0-9]* ; do
> cp $F $F.save
> echo "XID=$F" > $F
> cat $F.save >> $F
> If everything goes well then you can 'rm' the *.save files.
> This will not restore full functionality. Some programs care
> about other lines in session_proc and those programs will still
> be confused.
Thank you for your help. The problem was that at install my Xsetup script
didn't get UT stuff incorporated. I had trouble at install because /etc/dt
was a link here. All is OK now.
Install should test if /etc/dt is a real dir because if it is a link it
doesn't work very well.
Philippe BOURDEU d'AGUERRE
AIME - Campus de l'INSA http://www.aime-toulouse.fr/
135, av. de Rangueil Tel +33 561 559 885
31077 TOULOUSE Cedex 4 - FRANCE Fax +33 561 559 870
More information about the SunRay-Users