Hi, I am using RedHat Linux 6.2, the following is the problem:
(1) At the server console, I login as root
(2) Then I "su - userSOMEONE" to switch to "userSOMEONE"
(3) Then I "startx" to start the X-window, but I got this error
Authentication failed - cannot start X server.
Perhaps you do not have console
ownership?_X11TransSocketUNIXConnect: Can't connect: errno = 111
xinit: Connection refused (errno 111): unable to connect to X
xinit: No such process (errno 3): Server error.
However, if I "startx" after step (1), where login as root, the error won't
appear and X-window starts normally.
Does anyone have this experience? Did I missed some settings?
Thanks in advance.