Solved

startx fails

Posted on 2000-04-04
9
728 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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 

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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

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" …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

679 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