Operating System - Linux
1753331 Members
5433 Online
108792 Solutions
New Discussion юеВ

Re: can't start xwindows on RH8

 
juno2
Super Advisor

can't start xwindows on RH8

when I run the startx , then pop the error , can suggest what is wrong ?

#/usr/X11R6/bin/startx

/usr/X11R6/bin/xinit: No such file or directory (errno 2): no server "X" in PA
TH

Use the -- option, or make sure that /usr/X11R6/bin is in your path and
that "X" is a program or a link to the right type of server
for your display. Possible server names include:

XFree86 XFree86 displays

giving up.
/usr/X11R6/bin/xinit: Connection refused (errno 111): unable to connect to X s
erver
/usr/X11R6/bin/xinit: No such process (errno 3): Server error.

10 REPLIES 10
Jerome Henry
Honored Contributor

Re: can't start xwindows on RH8

You don't own the console or you don't have the path.
Try to boot and login under root directly, not to su. And if you su, use su - uinstead of su.
You can also enter #startx without having to enter the path.

J
You can lean only on what resists you...
Huc_1
Honored Contributor

Re: can't start xwindows on RH8

the following command should be like follow

ls -l /usr/X11R6/bin/X
lrwxrwxrwx 1 root root 7 Aug 25 21:50 /usr/X11R6/bin/X -> XFree86

the easy way to solved this is probably to rerun video set up if you have got RH 9.0 run

#redhat-config-xfree86

Otherwise run you Linux distribution video setup

this is probably caused by a mess up server softsoft link to the right video card driver
so in the example above this is just what my setup looks like.

Hope this helps you

keep us informed of progress

J-P
Smile I will feel the difference
juno2
Super Advisor

Re: can't start xwindows on RH8

I tried to login su - , it solve the path problem , but pop the below error :
I think the driver is not properly installed , can I auto detect the display driver ? on the other hand , i don't know what is my display card model no. , how can I setup the driver ? thx.

XFree86 Version 4.2.1 (Red Hat Linux release: 4.2.1-21) / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 October 2002

Before reporting any problems, please make sure you are using the most
recent XFree86 packages available from Red Hat by checking for updates
at http://rhn.redhat.com/errata or by using the Red Hat Network up2date
tool. If you still encounter problems, please file bug reports in the
XFree86.org bugzilla at http://bugs.xfree86.org and/or Red Hat
bugzilla at http://bugzilla.redhat.com

Build Operating System: Linux 2.4.21-1.1931.2.274.entsmp i686 [ELF]
Build Host: daffy.perf.redhat.com

Module Loader present
OS Kernel: Linux version 2.4.18-14smp (bhcompile@stripples.devel.redhat.com) (gc
c version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #1 SMP Wed Sep 4 12:34:47 EDT
2002
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Mon Oct 27 19:05:55 2003
(==) Using config file: "/etc/X11/XF86Config"
(EE) VGA(0): Driver can't support depth 24
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

If you encounter a server crash, please report the problem by filing a bug
report in the XFree86.org bugzilla at http://bugs.xfree86.org and/or Red Hat
bugzilla at http://bugzilla.redhat.com/bugzilla. When filing your report, it
is very important that you explain your problem in as much detail as possible,
and include a complete description on how to reproduce the problem. After
submitting the bug report, attach the following files as uncompressed
individual file attachments using the bugzilla file attachment feature:
- X server log file: /var/log/XFree86.0.log
- Kernel log file: /var/log/messages

XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
Huc_1
Honored Contributor

Re: can't start xwindows on RH8

Try rerun of configuration program

----------
(EE) VGA(0): Driver can't support depth 24
----------

Semms to be the reported error !

I would first try rerun the setup with depth 16

J-P
Smile I will feel the difference
Jerome Henry
Honored Contributor

Re: can't start xwindows on RH8

Huc is right (as usual !).

You can run redhat-config Xfree86, or manually edit XF86Config.

hth

J
You can lean only on what resists you...
Huc_1
Honored Contributor

Re: can't start xwindows on RH8

Any luck with your setup Juno2 ?

Like to now if the proposed solution/help helps, as we spend A lot of time answering your questions/problems, It nice to know if it helps


J-P
Smile I will feel the difference
juno2
Super Advisor

Re: can't start xwindows on RH8

I edit the file , but still hv problem when run startx

XFree86 Version 4.2.1 (Red Hat Linux release: 4.2.1-21) / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 October 2002

Before reporting any problems, please make sure you are using the most
recent XFree86 packages available from Red Hat by checking for updates
at http://rhn.redhat.com/errata or by using the Red Hat Network up2date
tool. If you still encounter problems, please file bug reports in the
XFree86.org bugzilla at http://bugs.xfree86.org and/or Red Hat
bugzilla at http://bugzilla.redhat.com

Build Operating System: Linux 2.4.21-1.1931.2.274.entsmp i686 [ELF]
Build Host: daffy.perf.redhat.com

Module Loader present
OS Kernel: Linux version 2.4.18-14smp (bhcompile@stripples.devel.redhat.com) (gc
c version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #1 SMP Wed Sep 4 12:34:47 EDT
2002
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Tue Oct 28 12:00:49 2003
(==) Using config file: "/etc/X11/XF86Config"

Fatal server error:
AddScreen/ScreenInit failed for driver 0


If you encounter a server crash, please report the problem by filing a bug
report in the XFree86.org bugzilla at http://bugs.xfree86.org and/or Red Hat
bugzilla at http://bugzilla.redhat.com/bugzilla. When filing your report, it
is very important that you explain your problem in as much detail as possible,
and include a complete description on how to reproduce the problem. After
submitting the bug report, attach the following files as uncompressed
individual file attachments using the bugzilla file attachment feature:
- X server log file: /var/log/XFree86.0.log
- Kernel log file: /var/log/messages

XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
juno2
Super Advisor

Re: can't start xwindows on RH8

this is the result , could suggest what can i do ? thx.

# /usr/X11R6/bin/X

XFree86 Version 4.2.1 (Red Hat Linux release: 4.2.1-21) / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 October 2002

Before reporting any problems, please make sure you are using the most
recent XFree86 packages available from Red Hat by checking for updates
at http://rhn.redhat.com/errata or by using the Red Hat Network up2date
tool. If you still encounter problems, please file bug reports in the
XFree86.org bugzilla at http://bugs.xfree86.org and/or Red Hat
bugzilla at http://bugzilla.redhat.com

Build Operating System: Linux 2.4.21-1.1931.2.274.entsmp i686 [ELF]
Build Host: daffy.perf.redhat.com

Module Loader present
OS Kernel: Linux version 2.4.18-14smp (bhcompile@stripples.devel.redhat.com) (gc
c version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #1 SMP Wed Sep 4 12:34:47 EDT
2002
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Tue Oct 28 14:01:09 2003
(==) Using config file: "/etc/X11/XF86Config"

Fatal server error:
AddScreen/ScreenInit failed for driver 0


If you encounter a server crash, please report the problem by filing a bug
report in the XFree86.org bugzilla at http://bugs.xfree86.org and/or Red Hat
bugzilla at http://bugzilla.redhat.com/bugzilla. When filing your report, it
is very important that you explain your problem in as much detail as possible,
and include a complete description on how to reproduce the problem. After
submitting the bug report, attach the following files as uncompressed
individual file attachments using the bugzilla file attachment feature:
- X server log file: /var/log/XFree86.0.log
- Kernel log file: /var/log/messages


# redhat-config-xfree86
* ddcprobe returned bogus values:
ID: None
Name: None
HorizSync: None
VertSync: None



Couldn't start X server, trying with a fresh configuration
* ddcprobe returned bogus values:
ID: None
Name: None
HorizSync: None
VertSync: None




xconf.py: Fatal IO error 2 (Connection reset by peer) on X server :17.0.

Re: can't start xwindows on RH8


It would help some to have an idea what video hardware you're dealing with. Log in as root and enter "/sbin/lspci". Then post the results here.

What's probably happening is that the X driver that's been selected for your video card is wrong. Have you used the "xf86cfg" utility? It will start up XFree86 in dumb VGA mode and give you the ability to configure your video hardware, mouse, and monitor. The interface is harder to use than redhat-config-xfree86, but it works and will create an XF86Config-4 file for you.