I installed 8.1 on my main server with security=high and now cannot startx with any userid that existed before 8.1 (previous version was LM7.2(medium)).
Using an 8.1 created userid: [pf@bones pf]$ startx -- :1 XFree86 Version 4.1.0 / X Window System (protocol Version 11, revision 0, vendor release 6510) [snip] while a pre-8.1 userid: [pfortin1@bones pfortin1]$ startx -- :1 Authentication failed - cannot start X server. Perhaps you do not have console ownership? giving up. xinit: No such file or directory (errno 2): unable to connect to X server xinit: No such process (errno 3): Server error. Couldnt get a file descriptor referring to the console Background: I have 12 userids on this system which are all setup in the uid/gid=555+ range (to avoid uid/gid collisions -- see http://pfortin.com/Linux/chog.html) Since I'd avoided the possibility of uid/gid collisions, I simply created a single user at install time, then copied over my /etc/{passwd,shadow,group} entries and mounted the original /home partition. Since I could not startx with these userids, I did a "useradd pf" which *can* startx... no amount of messing with xauth, .Xauthority, etc will allow pre-8.1 userids to startx... I ran strace on startx and saw the following in one of the child processes: access("/var/lock/console/pfortin", F_OK) = -1 ENOENT (No such file or directory) munmap(0x40018000, 7036) = 0 munmap(0x4001a000, 48788) = 0 munmap(0x4018f000, 153812) = 0 munmap(0x4017f000, 6860) = 0 munmap(0x40181000, 6604) = 0 write(2, "Authentication failed - cannot s"..., 89) = 89 _exit(1) = ? If I manually create lock file, it tries to start; but immediately shuts down... # ll /var/lock/console total 2 -rw------- 1 root root 1 Oct 2 11:59 pf -rw------- 1 root root 1 Oct 2 12:01 pfortin Tried strace on this again and got: Fatal server error: Cannot open log file "/var/log/XFree86.1.log" File owned by root.root... OK... rm /var/log/XFree86.1.log... startx can create a new one: -rw-rw-r-- 1 root pfortin 22575 Oct 4 14:23 /var/log/XFree86.1.log $ strace -xff -o X8.1lock1 startx -- :1 [snip processes attached/detached] XFree86 Version 4.1.0 / X Window System (protocol Version 11, revision 0, vendor release 6510) Release Date: 2 June 2001 If the server is older than 6-12 months, or if your card is newer than the above date, look for a newer version before reporting problems. (See http://www.XFree86.Org/FAQ) Build Operating System: Linux 2.4.8-5mdkenterprise i686 [ELF] Module Loader present (==) Log file: "/var/log/XFree86.1.log", Time: Thu Oct 4 14:26:33 2001 (==) Using config file: "/etc/X11/XF86Config-4" Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) ServerLayout "layout1" (**) |-->Screen "screen1" (0) (**) | |-->Monitor "Acer 99c" (**) | |-->Device "Matrox Millennium G200" (**) |-->Input Device "Mouse1" (**) |-->Input Device "Keyboard1" (**) XKB: rules: "xfree86" (**) XKB: model: "pc105" (**) XKB: layout: "us" (**) FontPath set to "unix/:-1" (**) RgbPath set to "/usr/X11R6/lib/X11/rgb" (==) ModulePath set to "/usr/X11R6/lib/modules" (WW) xf86ReadBIOS: Failed to open /dev/mem (Permission denied) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Fatal server error: xf86OpenConsole: Server must be suid root ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ?? When reporting a problem related to a server crash, please send the full server output, not just the last messages. This can be found in the log file "/var/log/XFree86.1.log". Please report problems to [EMAIL PROTECTED] Process 1082 detached XIO: fatal IO error 104 (Connection reset by peer) on X server ":1.0" after 0 requests (0 known processed) with 0 events remaining. Process 1072 resumed [snip] Any ideas how to fix these pre-8.1 userids...? Thanks, Pierre