Solved

startx fails

Posted on 2000-04-04
9
720 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

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 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.:

770 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