Click to See Complete Forum and Search --> : X won't start for non-root users


dufeu
01-13-2005, 09:01 AM
I'm a Gentoo user and I've run into a strange problem which no one has beeb able to suggest a solution for.

It is somewhat similar but not the same as the problem discussed here: http://justlinux.com/forum/showthread.php?threadid=136550

Basically, I can no longer initiate X sessions for non-root users. here is a partial snip from the X log file for user 'guyc':

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/dragonfyre:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

This is a pre-release version of the The X.Org Foundation X11.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the The X.Org Foundation "monolithic tree" CVS
repository hosted at http://www.freedesktop.org/Software/xorg/
X Window System Version 6.8.1.901 (6.8.2 RC 1)
Release Date: 16 December 2004
X Protocol Version 11, Revision 0, Release 6.8.1.901
Build Operating System: Linux 2.6.9 i686 [ELF]
Current Operating System: Linux dragonfyre 2.6.10 #1 Wed Dec 29 21:21:55 EST 2004 i686

Here is the equivalent snip from the X log file for 'root':

This is a pre-release version of the The X.Org Foundation X11.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the The X.Org Foundation "monolithic tree" CVS
repository hosted at http://www.freedesktop.org/Software/xorg/
X Window System Version 6.8.1.901 (6.8.2 RC 1)
Release Date: 16 December 2004
X Protocol Version 11, Revision 0, Release 6.8.1.901
Build Operating System: Linux 2.6.9 i686 [ELF]
Current Operating System: Linux dragonfyre 2.6.10 #1 Wed Dec 29 21:21:55 EST 2004 i686
Build Date: 10 January 2005

The current suggestion is that this is a permissions problem introduced in my latest updates of Gentoo. You can follow this and get more information here:

http://bugs.gentoo.org/show_bug.cgi?id=77207

When I tried to go back to various versions of both the standard 2.6 kernel and xorg-x11, in all cases, I can no llonger initiate X sessions for non-root users. I'm getting desperate for more suggestions. Please help.

I have kernel versions 2.6.7, 2.6.9 and 2.6.10 available to boot with. It takes me about an hour to compile any given version of xorg-x11. The only error messages I get are the ones indicated above.


:-( :-(

dufeu
01-13-2005, 10:24 AM
I just re-built my 2.6.10 kernel with ipv6 support.

The only difference between the root X log and the non-root X log is these additional lines in the root X log{

SetClientVersion: 0 8
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) Mouse1: ps2EnableDataReporting: succeeded

That's it, there are no other differences. Can someone suggest what I should look for next?

madcompnerd
01-13-2005, 10:26 AM
Install X.org 6.8.1.

dufeu
01-13-2005, 02:43 PM
Either the Gentoo ebuild itself or the make process for xorg-x11-6.8.1.809 installed an empty .xinitrc on the home directory of my non-root user account.

Removing the file resolved the problem. :-)

Thank you though.

madcompnerd
01-13-2005, 10:59 PM
Haha, of course a valid xinitrc is a bit important. Seems odd for it to have done that since you'd run the install as root, but who knows about those wacky gentoo scripters!