Solved

startx fails

Posted on 2000-04-04
9
717 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
  • 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
 

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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

Accepted Solution

by:
cheneque earned 75 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

867 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now