Startx fatal error centos

startx fatal error centos

XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0" after 0 requests (0 known processed) with 0 events remaining. Seems that X server has crashed. I tried "startx",not working "init 5", not working. XIO: Fatal IO error 104 (Connection reset by peer) on X server ": 0.0. Require OpenGL version 2.1 or later (EE) Fatal server error: (EE) Install xorg-xinit then execute startx and post the produced.

Startx fatal error centos - possible speak

    centos6.5, when you execute startx on the command line and want to enter the graphical interface, an error is reported: Fatal server error: Cannot establish any listening sockets-Make sure an X server isn't already < /span>running 

< p> The reason is actually that your graphical interface is already running.At this time, when you execute startx, you mean to start the graphical interface again, and all centos will report this error.Then this How to enter the graphical interface when it is time?

Execute: init 5 or use the key ctrl+alt+f7.

init is the operating level of linux, from 0 to 6, commonly used is 3 and 5, 3 is the command line (multi-user with network status), 5 is the graphical interface , 6 is to restart.The cat /etc/inittab configuration file is as follows:

# Default runlevel.The runlevels used are:
#   0-halt (Do NOT set initdefault to this)
#   1-Single user mode
#   2-Multiuser, without NFS (The same as 3, if you do not have networking)
#   3-Full multiuser mode
#   4 -unused
#   5-X11
#   6-reboot (Do NOT set initdefault to this)

id:3:initdefault:

So this question is sorted out as follows:

     If your /etc/inittab is configured to 5, that is, the graphical interface is entered at startup.At this time, if you press ctrl+alt+f3 to enter the command line, you can no longer enter the graphical interface through the startx command, ( You can use the init 5 command or press ctrl+alt+f7 to enter 0 ).

ifYour /etc/inittab is configured to 3, use the startx command under the command line to enter the graphical interface, but after switching from the graphical interface to the command line, you can only use the above method if you want to enter the graphical interface.

   ;  The startx command can only be used when entering the graphical interface for the first time.

Read these next...

Hi Alex

I solved this problem before I give you the instruction:

1- install Xen server 6 or 6.2  

2- install Centwos version 5.6 or 5.9 or 6.4  ( you can install Centos in two ways 1- from DVD 2- from FTP or any webserver)

Select the second way from FTP . So make a web server and extract the CEntos ISO in FTP , then instead of DVD select URL  and  install from URL . 

3- you need to have VNC Viewer on your Console PC too.

After starting installation it will ask you from Local or VNC and you select VNC then it will give you the VNC Address for example : 10.10.10.1:1

now if you can connect with VNC Viewer to the address it means you dont have problem with Graphic adapter. 

So install linux(centos) features and reboot the linux . then  logon to linux with the user root and make the VNC active 

VNC install config and activation(Start service) : 

First Install Gnome Desktop on ur linux  it you are using version 6  or more  just  type "Desktop"
yum groupinstall "GNOME Desktop Environment"


Add these commands at the end of  : /etc/sysconfig/vncservers

VNCSERVERS="1:user1 2:user2  3:user3"

VNCSERVERARGS[1]="-geometry 640x480"

VNCSERVERARGS[2]="-geometry 800x600"

VNCSERVERARGS[3]="-geometry 1024x768"

Set  password for VNC users : 

su user1
vncpasswd
two times enter the password

Finally  to Start and Stop the VNC service :

/sbin/service   vncserver start
/sbin/service   vncserver stop

Now you can connect to the Centos from everywhere by using VNC Viewer software   in GUI Mode.

startx fails to load Desktop Environment

Postby robmoss » Thu Feb 02, 2012 3:52 pm

Hi All,

My first post so please forgive any errors.

I have installed CentOS 6.2 using basic server and nothing configured so it boots to a prompt. I can log in and yum update and I can yum groupinstall desktop.
I have yet to get startx to work. I have done a complete install with X Window and Gnome picked from the install configuration and it works fine. I cannot however get it to work if I try to go the basic install and then yum from there. The significant error is as follows:

(EE) Failed to load module "nouveau" (module does not exist, 0)
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) The PCI device has a kernel module claiming it,
(EE) this drive cannot operate until it has been unloaded.
(EE) Try appending "nomodeset" to your boot options
(EE) No devices detected.

Fatal server error:
no screens found

.
.

giving up.
xinit: No such file or directory (errno 2): unable to connect to x server
xinit: No such process (errno 3): Server error.

Xorg.0.log tells me no more than the error listed above other than it gives me a "load", "couldn't open" "unload" "unloading" "failed to load" sequence for fbdev and nouveau.

I also can't find xorg.conf, so I am assuming this is no longer used.

lspci enumerates all hardware correctly including the GEForce 8400 GS.

I have also tried this on 2 different VMs and I have never been able to get startx to work from the command line.

I had previously been trying to use yum groupinstall "X window system" "GNOME Desktop Environment" but that had been even less successful.

Thank you in advance for your help.

Rob Moss.
Best regards,

Bits and Dragons

Yeah this is a weird one. In my desktop with an NVIDIA GPU have installed NVIDIA drivers and performed an update, just to reach the annoying text mode only. Trying to reinstall the drivers doesn’t seem to work (error kernel module already loaded) so I go to google. The error looks like this:

[ 287.680] (EE) No devices detected.
[ 287.680] (EE)
Fatal server error:
[ 287.680] (EE) no screens found(EE)
[ 287.680] (EE)

Google gives me several answers. Like this one is from the freebsd forum. Or this one from archlinux. I followed this solution.

rm /etc/X11/xorg.conf reboot

After the reboot I have my screens back 😁😁.

Like this:

LikeLoading...

Related

This entry was posted in bits, centos, errors, hardware, linux and tagged errors, hardware, linux, NVIDIA by bitsanddragons. Bookmark the permalink.

X server not running [SOLVED]

what is it with virtual box about which you can't help?

Click to expand...

Of course if I could help, I would, but unfortunately I have so little experience with virtual box itself that I am of no real use there.

I replaced it with 3. After reboot gives me same error after execution of startx.

Click to expand...

I gather from this statement that the virtual computer did boot to runlevel 3, and showed a text prompt, at which you ran "startx" which failed to bring up X.

I see two problems, the segmentation fault and:

cannot open /dev/tty0 (Permission denied)

Click to expand...


I cannot say whether or not they are interacting with each other.

I'd try the permission issue first.
Here are the default permissions which work on my debian system for tty0
You should have something at least as permissive as that. X should by default have permission to write to the tty.

To check out whether X will actually run, I would create a file: .xinitrc in my home directory with the contents:
If you don't have xterm on your system, replace "xterm" with any other terminal.

Then I would boot to text prompt and run the following command:

Code:

where you insert your username for <username>.

This command instructs X to run, check out the .xinitrc file and start whatever is in there, which in this case is the terminal, xterm, and start it on the first virtual terminal.

If X runs and there's an xterm on screen, you can start up a window manager like openbox or a desktop environment from that xterm with some relevant command. If X fails, then there's a deeper problem I think.

 

UNIX for Dummies Questions & Answers

10 More Discussions You Might Find Interesting

1. What is on Your Mind?

PHP Fatal Errors During SSL Cert Management - PHP Fatal error: xc_fcntl_mutex failed

Today, I noticed some errors in our SSL cert renewal log files, mostly related to domains where the IP address had changed. Concerned about this, rebuilt out SSL cert, which normally goes well without a hiccup. However, for today, for some reason which I cannot explain, there was a PHP error... (0 Replies)

Discussion started by: Neo

0 Replies

2. UNIX for Beginners Questions & Answers

Server refused our key - Centos 7

I generated rsa key-pair, Using puttygen.exe running on windows, I imported the private key and tried to use it to login to a CentOS Linux release 7.5.1804 (Core) (running on VirtualBox) and it gives the following error: "server refused our key". I tried to search for solution and some of the... (0 Replies)

Discussion started by: Chiadi

0 Replies

3. UNIX for Advanced & Expert Users

Get an error while trying to start DNS server

Hi Guys, I am trying to configure DNS on ESX server. Everything done but when I am trying to start the DNS, it gives me an error # service named restart Stopping named: Starting named: Error in named configuration: /etc/named.conf:42: when using 'view' statements, all zones must be... (7 Replies)

Discussion started by: Srvesh

7 Replies

4. Solaris

Cygwin X Server error: xdmcp fatal error session failed session 23 failed for display

Hi, i got the following error when i tried to access the cygwin x server from a windows XP PC. "xdmcp fatal error session failed session 23 failed for display" Alternatively, when i tried to access the same Cygwin X Server from another windows XP PC which is on a different LAN... (3 Replies)

Discussion started by: HarishKumarM

3 Replies

6. Linux

named service will not start, connection refused

Hi guys Our secondary named server has an issue when we start the named service: # service named restart Stopping named: rndc: connect failed: connection refused # service named status rndc: connect failed: connection... (1 Reply)

Discussion started by: wbdevilliers

1 Replies

7. UNIX for Advanced & Expert Users

Server refused to allocate pty

I know there is a thread on the subject but is not related to solaris so I am posting this question for help I have a solaris 8 machine. I can log in through the console but when trying to log in through putty/telnet after accepting username and password it gives the follwing error "Server... (2 Replies)

Discussion started by: Tirmazi

2 Replies

8. Solaris

Xlib: connection refused by server

Hi guys i am facing this issue while opening new xterm window.please help me out. Xlib: connection to "delop125ld:0.0" refused by server Xlib: Maximum number of clients reached xterm Xt error: Can't open display: delop125ld:0.0 thanks (1 Reply)

Discussion started by: daya.pandit

1 Replies

10. AIX

SSH has this error: "server refused our key"

I did successful yestday as Porter's doc: 1. Create private/pub key on AIX: $ssh-keygen -t identity 2. Get my private key from the AIX server, found in $HOME/.ssh/identity Put that on Windows box. I use WinSCP to transfer private key from AIX to Windows 3. Run puttygen.exe and... (8 Replies)

Discussion started by: rainbow_bean

8 Replies

All times are GMT -4. The time now is 09:44 AM.

Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.

Privacy Policy

UNIX for Dummies Questions & Answers

10 More Discussions You Might Find Interesting

1. What is on Your Mind?

PHP Fatal Errors During SSL Cert Management - PHP Fatal error: xc_fcntl_mutex failed

Today, I noticed some errors in our SSL cert renewal log files, mostly related to domains where the IP address had changed. Concerned about this, rebuilt out SSL startx fatal error centos, which normally goes well without a hiccup. However, for today, for some reason which I cannot explain, there was a PHP error. (0 Replies)

Discussion started by: Neo

0 Replies

2, startx fatal error centos. UNIX for Beginners Questions & Answers

Server refused our key - Centos 7

I generated rsa key-pair, Using puttygen.exe running on windows, I imported the private key and tried to use it to login to a CentOS Linux release 7.5.1804 (Core) (running on VirtualBox) and it gives the following error: "server refused our key", startx fatal error centos. I tried to search for solution and some of the. (0 Replies)

Discussion started by: Chiadi

0 Replies

3. UNIX for Advanced & Expert Users

Get an error while trying to start DNS server

Hi Guys, I am trying to configure DNS on ESX server. Everything done but when I am trying to start the DNS, it gives me an error # service named restart Stopping named: Starting named: Error in named configuration: /etc/named.conf:42: when using 'view' statements, all zones must be. (7 Replies)

Discussion started by: Srvesh

7 Replies

4. Solaris

Cygwin X Server error: xdmcp fatal error session failed session 23 failed for display

Hi, i got the following error when i tried to access the cygwin x server from a windows XP PC. "xdmcp fatal error session startx fatal error centos session 23 failed for display" Alternatively, when i tried to access the same Cygwin X Server from another windows XP PC which is on a different LAN. (3 Replies)

Discussion started by: HarishKumarM

3 Replies

6. Linux

named service will not start, connection refused

Hi guys Our secondary named server has an issue when we start the named service: # service named restart Stopping named: rndc: connect failed: connection refused startx fatal error centos # service named status rndc: connect failed: connection. (1 Reply)

Discussion started by: wbdevilliers

1 Replies

7. UNIX for Advanced & Expert Users

Server refused to allocate pty

I know there is a thread on the subject but is not related to solaris so I am posting this question for help I have a solaris 8 machine. I can log in through the console but when trying to log in through putty/telnet after accepting username and password it gives the follwing error "Server. (2 Replies)

Discussion started by: Tirmazi

2 Replies

8. Solaris

Xlib: connection refused by server

Hi guys i am facing this issue while opening new xterm window.please help me out, startx fatal error centos. Xlib: connection to "delop125ld:0.0" refused by server Xlib: Maximum number of clients reached xterm Xt error: Can't open display: delop125ld:0.0 thanks (1 Reply)

Discussion started by: daya.pandit

1 Replies

10. AIX

SSH has this error: "server refused our key"

I did successful yestday as Porter's doc: 1. Create private/pub key on AIX: $ssh-keygen -t identity 2. Get my private key from the AIX server, startx fatal error centos, found in $HOME/.ssh/identity startx fatal error centos Put that on Windows box. I use WinSCP to transfer private key from Startx fatal error centos to Windows 3. Run puttygen.exe and. (8 Replies)

Discussion started by: rainbow_bean

8 Replies

All times are GMT -4. The time now is 09:44 AM.

Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.

Privacy Policy

    centos6.5, when you execute startx on the command line and want to enter the graphical interface, an error is reported: Fatal server error: Cannot establish any listening sockets-Make sure an X server isn't already < /span>running 

< p> The reason is actually that your graphical interface is already running.At this time, when you execute startx, you mean to start the graphical interface again, and all centos will report this error.Then this How to enter the graphical interface when it is time?

Execute: init 5 or use the key ctrl+alt+f7.

init is the operating level of linux, from 0 to 6, commonly used is 3 and 5, 3 is the command line (multi-user with network status), 5 is the graphical interface6 is to restart.The cat /etc/inittab configuration file is as follows:

# Default runlevel.The runlevels used are:
#   0-halt (Do NOT set initdefault to this)
#   1-Single user mode
#   2-Multiuser, startx fatal error centos, without NFS (The same as 3, if you do not have networking)
#   3-Full multiuser mode
#   4 -unused
#   5-X11
#   6-reboot (Do NOT set initdefault to this)

id:3:initdefault:

So this question is sorted out as follows:

     If your /etc/inittab is configured to 5, that is, the graphical interface is entered at startup.At this time, if you press ctrl+alt+f3 to enter the command line, you can no longer enter the graphical interface through the startx command, ( You can use the init 5 command or press ctrl+alt+f7 to enter 0 ).

ifYour /etc/inittab is configured to 3, use the startx command under the command line to enter the graphical interface, but after switching from the graphical interface to the command line, you can only use the above method if you want to enter the graphical interface.

   ;  The startx command can only be used when entering the graphical interface for the first time.

Read these next.

Hi Alex

I solved this problem before I give you the instruction:

1- install Xen server 6 or 6.2  

2- install Centwos version 5.6 or 5.9 or 6.4  ( you can install Centos in two ways 1- from DVD 2- from FTP or any webserver)

Select the second way from FTP. So make a web server and extract the CEntos ISO in FTPthen instead of DVD select URL  and  install from URL . 

3- you need to have VNC Viewer on your Console PC too.

After starting installation it will ask you from Local or VNC and you select VNC then it will give you the VNC Address for example : 10.10.10.1:1

now if you can connect with VNC Viewer to the address it means you dont have problem with Graphic adapter. 

So install linux(centos) features and reboot the linux. then  logon to linux with the user root and make the VNC active 

VNC install config and activation(Start service) : 

First Install Gnome Desktop on ur linux  it you are using version 6  or more  just  type "Desktop"
yum groupinstall "GNOME Desktop Environment"


Add these commands at the end of  : /etc/sysconfig/vncservers

VNCSERVERS="1:user1 2:user2  3:user3"

VNCSERVERARGS[1]="-geometry 640x480"

VNCSERVERARGS[2]="-geometry 800x600"

startx fatal error centos 1024x768"

Set  password for VNC users : 

su user1
vncpasswd
two times enter the password

Finally  to Start and Stop the VNC service :

/sbin/service   vncserver start
/sbin/service   vncserver stop

Now you can connect to the Centos from everywhere by using VNC Viewer software   in GUI Mode.

X server not running [SOLVED]

what is it with virtual box about which you can't help?

Click to expand.

Of course if I could exception eolesyserror in module, I would, startx fatal error centos, but unfortunately I have so little experience with virtual box itself that I am of no real use there.

I replaced it with 3. After reboot gives me same error after execution of startx.

Click to expand.

I gather from this statement that the virtual computer did boot to runlevel 3, and showed a text prompt, at which you ran "startx" which failed to bring up X.

I see two problems, the segmentation fault and:

cannot open /dev/tty0 (Permission denied)

Click to expand.


I cannot say whether or not they are interacting with each other.

I'd try the permission issue first.
Here are the default permissions which work on my debian system for tty0
You should have something at least as permissive as io error 1784. X should by default have permission startx fatal error centos write to the tty.

To check out whether X will actually run, I would create a file: .xinitrc in my home directory with the contents:
If you don't have xterm on your system, replace "xterm" with any other terminal.

Then I would boot to text prompt and run the following command:

Code:

where you insert your username for <username>.

This command instructs X to run, check out the .xinitrc file and start whatever is in there, which in this case is the terminal, xterm, startx fatal error centos, and start it on the first virtual terminal.

If X runs and there's an xterm on screen, you can start up a window manager like openbox or a desktop environment from that xterm with some relevant command. If X fails, then there's a deeper problem I think.

 

Bits and Dragons

Yeah this is a weird one. In my desktop with an NVIDIA GPU have installed NVIDIA drivers and performed an update, just to reach the annoying text mode only. Trying to reinstall the drivers doesn’t seem to work (error kernel module already loaded) so I go to google. The error looks like this:

[ 287.680] (EE) No devices detected.
[ 287.680] (EE)
Fatal server error:
[ 287.680] (EE) no screens found(EE)
[ 287.680] (EE)

Google gives me several answers. Like this one is from the freebsd forum. Or this one from archlinux. I followed this solution.

rm /etc/X11/xorg.conf reboot

After the reboot I have my screens back 😁😁.

Like this:

LikeLoading.

Related

This entry was posted in bits, centos, errors, hardware, linux and tagged errors, hardware, linux, NVIDIA by bitsanddragons. Bookmark the permalink.
startx fatal error centos

You can watch a thematic video

🐧 Linux WEB Server - Configurando um IP fixo no Servidor WEB Linux CentOS - Aula 7 Parte 1/5

0 Comments

Leave a Comment