LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-27-2011, 07:23 AM   #1
jplele
LQ Newbie
 
Registered: Apr 2011
Posts: 5

Rep: Reputation: 0
help !startx


SL -6
startx donnt run,what's wrong?
--------------------------------
hostname: unknown host
xauth: creating new authority file /root/.serverauth.28544

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

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

Xorg Common X server for most displays
Xvfb Virtual frame buffer
Xfake kdrive-based virtual frame buffer
Xnest X server nested in a window on another X server
Xephyr kdrive-based nested X server

giving up.
xinit: No such file or directory (errno 2): unable to connect to X server
xinit: No such process (errno 3): Server error.
--------------------------------------------------
 
Old 04-27-2011, 06:05 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,645

Rep: Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654
did you install the "Gnome desktop environment" ,or xfce, or kde , at the time of install ???
 
Old 04-28-2011, 03:16 AM   #3
jplele
LQ Newbie
 
Registered: Apr 2011
Posts: 5

Original Poster
Rep: Reputation: 0
thx,john,let me check it

Quote:
Originally Posted by John VV View Post
did you install the "Gnome desktop environment" ,or xfce, or kde , at the time of install ???
thx,john,let me check it
 
Old 04-28-2011, 03:43 AM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,645

Rep: Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654
the reason i ask is running "startx" is not needed
gdm ( gnome) or kdm ( KDE ) will do that for you . The system will auto boot into the gui -- if you installed one --
 
Old 05-08-2011, 12:10 AM   #5
jplele
LQ Newbie
 
Registered: Apr 2011
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by John VV View Post
the reason i ask is running "startx" is not needed
gdm ( gnome) or kdm ( KDE ) will do that for you . The system will auto boot into the gui -- if you installed one --
hi,john

what install the "Gnome desktop environment"?I chose “Web sever” model installed the SL6...
 
Old 05-08-2011, 12:27 AM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,660
Blog Entries: 28

Rep: Reputation: 6246Reputation: 6246Reputation: 6246Reputation: 6246Reputation: 6246Reputation: 6246Reputation: 6246Reputation: 6246Reputation: 6246Reputation: 6246Reputation: 6246
If I recall correctly, selecting "webserver" for SL6 does not install a GUI by default. The "Desktop" option does.
 
Old 05-08-2011, 01:31 AM   #7
jplele
LQ Newbie
 
Registered: Apr 2011
Posts: 5

Original Poster
Rep: Reputation: 0
hi all

how to install "gnome“ or ”X windows“ at SL 6? did it have install packages tool such as "redhat_config_packages" ?
 
Old 05-08-2011, 02:37 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,645

Rep: Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654Reputation: 2654
the easiest way is to reinstall from the dvd and install the desktop and gui .

SL6 is close enough to RHEL 6 that you can use the red hat documentation for the most part
https://access.redhat.com/knowledge/...erprise_Linux/
http://docs.redhat.com/docs/en-US/Re...ide/index.html
 
Old 05-08-2011, 10:11 PM   #9
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,660
Blog Entries: 28

Rep: Reputation: 6246Reputation: 6246Reputation: 6246Reputation: 6246Reputation: 6246Reputation: 6246Reputation: 6246Reputation: 6246Reputation: 6246Reputation: 6246Reputation: 6246
I think yum install gnome-desktop should do it.

I would expect it to pull down X as dependency. I don't have any way of testing it tonight, though.

Last edited by frankbell; 05-08-2011 at 10:13 PM.
 
Old 05-09-2011, 02:03 AM   #10
jplele
LQ Newbie
 
Registered: Apr 2011
Posts: 5

Original Poster
Rep: Reputation: 0
thx john and frank,let me try it
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] [startx problem] - startx goes to black/grey screen and comes back to command prompt! iNUKE Ubuntu 13 01-07-2011 02:32 PM
(nvidia) First startx = blank screen, second startx = works ?!? BuckRogers01 Linux - Hardware 2 04-07-2006 06:26 PM
startx doesn't startx for user vdemuth Mandriva 10 11-08-2004 08:41 PM
Bug / Xwindows / startx : xinit works but startx crash www.rzr.free.fr Linux - Software 4 10-17-2004 09:06 AM
startx vs startx -- :2 (font dimension is different!!) moly82 Linux - General 7 09-15-2003 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration