xoxomos
asked on
startx fails
I have RH 6.1 installed. There are six login id's. On four i can startx and go along fine. On two id's when i try to startx i get a message 'authentication failed cannot start x server ...perhaps you do not have console ownership--cannot connect errno=111---giving up---xixit connection refused'
when i go back into the home directory there is this .enlightenment and .genome directories which does not happen in the other login id's. How do i get it so i can startx.
when i go back into the home directory there is this .enlightenment and .genome directories which does not happen in the other login id's. How do i get it so i can startx.
On standard RH 6.1 installation only one user is allowed to have console ownership. Don't you log two users at once? Anyway, your problem is conected with PAM module. You can find brief desciption of this mechanism in RH documentation. 'man pam' displays more detailed information.
It seems like a troble with the user rights, look in the /dev subdirectory and verify the "console" device rights with the "ls -l" command and give de correct rigths wit the "chmod 766 console" command.
Other solution it´s add the user that dosen´t work to the group of the users that works fine.
See ya in advance
Other solution it´s add the user that dosen´t work to the group of the users that works fine.
See ya in advance
ASKER
cheneque
i looked at another machine under /etc/console and it had the same settings as mine. console showed crw------- root root as does mine
i looked at another machine under /etc/console and it had the same settings as mine. console showed crw------- root root as does mine
try with another console like this
startx -- :1 /* the tty7 or F8 */
startx -- :2 /* the tty8 or F9 */
startx -- :3 /* the tty9 or F10 */
other thing that you can do is go to the /etc/X11 and backup the "XF86Config" file and remove it.
After that Generate a new one as root with the "setup" comand and generate a new configuration (its necesary don´t do this with the X server up.
Question:
Are you entering in the 5 level (xwindows) or the 3 level (text) of the operating system when it start's
startx -- :1 /* the tty7 or F8 */
startx -- :2 /* the tty8 or F9 */
startx -- :3 /* the tty9 or F10 */
other thing that you can do is go to the /etc/X11 and backup the "XF86Config" file and remove it.
After that Generate a new one as root with the "setup" comand and generate a new configuration (its necesary don´t do this with the X server up.
Question:
Are you entering in the 5 level (xwindows) or the 3 level (text) of the operating system when it start's
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Adjusted points from 50 to 75
ASKER
O.K. O.K. i don't know what is happening but i tried the --:3 business and it works. Let me increase this a little bit and ask what is the --3: and where do you look to find out about it?
ASKER
Thanks!!
I found the configuration in the xinit man page and debuging by hand the startx script
Thanks for the points and good look in this way of Linux
By default the :0 console is in the F7 or tty6 but the -- :# option lets you take the terminals after F7
Thanks for the points and good look in this way of Linux
By default the :0 console is in the F7 or tty6 but the -- :# option lets you take the terminals after F7