If you do run scoterm and corrupt /var/adm/utmpx, you
can move the utmpx file and then execute the who(1)
command to rebuild it from scratch. For example:
mv /var/adm/utmpx /var/adm/utmpx.save
who
After executing the above commands, users should be able to log in to the system and all administrative commands that depend on utmpx should now work correctly.
Connection brokenYou may wish to try the following workaround:
DISPLAY=localhost:0;export DISPLAY xhost +localhost
The following exec modules and commands i286x, x286emul, i286emul, and xout were removed. These modules and commands provided compatibility for 286 and 386 XENIX binaries. The XENIX filesystem and all supporting commands for it have been removed. The module xnamfs has been removed which supports XENIX semaphores and shared data.
The XENIX libraries libx, libxcurses, and libxtermlib have been removed. Support for the system call nap is now in libc. The system calls creatsem, execseg, chsize, locking, nbwaitsem, opensem, proctl, sdenter, sdfree, sdgetv, sdleave, sdwaitv, sigsem, unexecseg, and waitsem that were in libx were not moved to another library. The corresponding man pages for these system calls no longer exist.
If you execute a XENIX binary you can expect exec to return ENOEXEC, and an error message similar to:
file: cannot execute [Exec format error]depending on your shell. You can identify whether a binary is a XENIX binary by using the file command.
The output of the file command on a XENIX binary is the following:
file: Microsoft a.out separate pure segmented word-swapped V2.3 V3.0 86
executable Large Text