Startx not working?!
-
- Posts: 8
- Joined: 2007/04/13 03:48:19
Startx not working?!
In Centos 4.x, I always installed with CD #1 and deselected all packages therefore it installs the BARE minimum (this setup HOW TO was on Johnny Hughes web site - bare installs - cleanest possible setup - you choose what you want). I then proceed with yum groupinstall gnome desktop. In CentOS 5 - it is NOW yum groupinstall gnome-desktop! After this completes, I enter STARTX command to run Gnome, but this time in CentOS 5, I get ...
xauth: creating new authority file /root/ .serverauth.2090
xinit: No such file or directory (errno 2): no server "X" in PATH
Use the -- option, or make sure that /usr/bin is in your path and
that "X" is a program or a link to the the right type of server
for your display. Possible server name include:
Xorg X.Org displays
xinit: Server error.
And yes, I am logged in as root at this point...
Just fyi... I am doing this in VMWare Workstation 5.5 (latest), I had to choose Red Hat 4 as the OS -
Not a Linux guru here, but seems like something maybe broken with X config, but need help how to fix, thanks.
xauth: creating new authority file /root/ .serverauth.2090
xinit: No such file or directory (errno 2): no server "X" in PATH
Use the -- option, or make sure that /usr/bin is in your path and
that "X" is a program or a link to the the right type of server
for your display. Possible server name include:
Xorg X.Org displays
xinit: Server error.
And yes, I am logged in as root at this point...
Just fyi... I am doing this in VMWare Workstation 5.5 (latest), I had to choose Red Hat 4 as the OS -
Not a Linux guru here, but seems like something maybe broken with X config, but need help how to fix, thanks.
Re: Startx not working?!
Have you at least installed X ? yum groupinstall "X Window System"
This is the same technique that was used for the ServerCD and it's written in the FAQ as well ... : http://www.centos.org/modules/smartfaq/faq.php?faqid=50
This is the same technique that was used for the ServerCD and it's written in the FAQ as well ... : http://www.centos.org/modules/smartfaq/faq.php?faqid=50
Re: Startx not working?!
I have similar problem
I have select GNOME Desktop while installation.
After the installation completed, the login is in text mode,
I have to press Alt-F7 to switch to XWindows (Gnome?) login page
And all works fine.
After I restart the computer, I have to press Alt-F7 again
I am testing CentOS 5 on VMWare too.
Thx for your attention
I have select GNOME Desktop while installation.
After the installation completed, the login is in text mode,
I have to press Alt-F7 to switch to XWindows (Gnome?) login page
And all works fine.
After I restart the computer, I have to press Alt-F7 again
I am testing CentOS 5 on VMWare too.
Thx for your attention
Re: Startx not working?!
I had the same behaviour one time on the Beta but it disappeared after machine was updated to final (during QA tests) ... so no bug was filled for this ... are you running the final one ?
-
- Posts: 8
- Joined: 2007/04/13 03:48:19
Re: Startx not working?!
of course X is installed, when you install GNOME DESKTOP, it is part of dependency check in YUM isn't it?! it is automatic per YUM method.
-
- Posts: 8
- Joined: 2007/04/13 03:48:19
Re: Startx not working?!
I am on the final release as it says so on the boot up screen - during text mode. Also, I am not doing anything different in terms of installs as I did with CentOS 4.x...
Re: Startx not working?!
[quote]
blue2000 wrote:
I have similar problem
I have select GNOME Desktop while installation.
After the installation completed, the login is in text mode,
I have to press Alt-F7 to switch to XWindows (Gnome?) login page
And all works fine.
After I restart the computer, I have to press Alt-F7 again
I am testing CentOS 5 on VMWare too.
Thx for your attention[/quote]
Ditto here with VM Wkst 6 Beta. No X after install.
blue2000 wrote:
I have similar problem
I have select GNOME Desktop while installation.
After the installation completed, the login is in text mode,
I have to press Alt-F7 to switch to XWindows (Gnome?) login page
And all works fine.
After I restart the computer, I have to press Alt-F7 again
I am testing CentOS 5 on VMWare too.
Thx for your attention[/quote]
Ditto here with VM Wkst 6 Beta. No X after install.
Re: Startx not working?!
I tried installing CentOS5 bare metal on a machine that was successfully running CentOS 5 Beta with Gnome, KDE and Xen. Everything on the Beta worked fine. KDE worked fine, and with Xen.
Tried installing from the new 5 CD CenotOS 5 set and the DVD. Results are the same. No desktop.
During boot selected Gnome, KDE with and without Xen. Get through the entire install and on reboot there's no desktop and it displays an error:
Fatal Server Error:
Server is already active for display 0.
Did a system-config-display and could select the monitor type and desired resolution. That didn't correct either.
Tried installing from the new 5 CD CenotOS 5 set and the DVD. Results are the same. No desktop.
During boot selected Gnome, KDE with and without Xen. Get through the entire install and on reboot there's no desktop and it displays an error:
Fatal Server Error:
Server is already active for display 0.
Did a system-config-display and could select the monitor type and desired resolution. That didn't correct either.
-
- Site Admin
- Posts: 254
- Joined: 2004/12/05 01:51:26
- Location: Corpus Christi, Texas, USA
- Contact:
Re: Startx not working?!
First thing is this .... group installing gnome by itself does not work ... you need to group install both X and gnome ...
The command to do that is this:
[code]yum groupinstall "GNOME Desktop Environment" "X Window System"[/code]
The command to do that is this:
[code]yum groupinstall "GNOME Desktop Environment" "X Window System"[/code]
-
- Site Admin
- Posts: 254
- Joined: 2004/12/05 01:51:26
- Location: Corpus Christi, Texas, USA
- Contact:
Re: Startx not working?!
When doing a text install ... the machine boots in [b]runlevel 3[/b] on initial startup. This also happens in RHEL. To switch to [b]runlevel 5[/b] edit the file [b]/etc/inittab[/b] and look for this line:
[code]id:3:initdefault:[/code]
change it to this:
[code]id:5:initdefault:[/code]
[code]id:3:initdefault:[/code]
change it to this:
[code]id:5:initdefault:[/code]