On 1/15/07, Philippe Bourdeu d'Aguerre <[EMAIL PROTECTED]> wrote:
Utwho is not working here. Looking at this script, it seems to search lines
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
   done

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.

Also, is it possible to have each Sunray keep its display number after
reboot ?

There's no supported way to do that.

OttoM.
__
ottomeister

Disclaimer: These are my opinions.  I do not speak for my employer.
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to