Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

startx fails

Posted on 2000-04-04
9
Medium Priority
?
739 Views
Last Modified: 2010-04-20
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.
0
Comment
Question by:xoxomos
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
9 Comments
 
LVL 4

Expert Comment

by:Robson
ID: 2687004
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.
0
 

Expert Comment

by:cheneque
ID: 2687005
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
0
 

Author Comment

by:xoxomos
ID: 2690320
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
0
Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

 

Expert Comment

by:cheneque
ID: 2690515
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
0
 

Accepted Solution

by:
cheneque earned 300 total points
ID: 2690516
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
0
 

Author Comment

by:xoxomos
ID: 2690929
Adjusted points from 50 to 75
0
 

Author Comment

by:xoxomos
ID: 2690930
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?
0
 

Author Comment

by:xoxomos
ID: 2690936
Thanks!!
0
 

Expert Comment

by:cheneque
ID: 2693720
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

0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question