LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-17-2005, 08:38 AM   #1
mlykam
LQ Newbie
 
Registered: Mar 2005
Posts: 3

Rep: Reputation: 0
xhost +


Hello -

I installed RH 4 and I can't get an X Window session to start.

When I type the following:

$> xhost +

I get the following error:

xhost: unable to open display "127.0.0.1:0.0"


When I installed the OS, it was hanging on the monitor probing. I therefore installed with the following switch:

linux apm=off skipddc nousb

Could this have something to do with the X Window session not working?

Thanks in advance for any help!
 
Old 03-17-2005, 09:34 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,898

Rep: Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322Reputation: 1322
To start X you must run
Code:
startx
If X-Windows does not start take a look at /var/log/Xorg.log or /var/log/XFree.log to find out the reason.
"xhost +" is used when you want to allow connections to your X-server from other boxes, so the X-server must be running to be able to use this command.

Regards
 
Old 03-17-2005, 09:37 AM   #3
awillard69
LQ Newbie
 
Registered: Aug 2004
Location: Chicagoland
Distribution: Fedora
Posts: 13

Rep: Reputation: 0
I think your main problem is you don't have an X Server running for the XWindow session to connect to.

What run level are you currently running at? A typical server runs at level 3, no X support.
 
Old 03-17-2005, 09:50 AM   #4
mlykam
LQ Newbie
 
Registered: Mar 2005
Posts: 3

Original Poster
Rep: Reputation: 0
How do I check the Run Level?

Thanks.
 
  


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
xhost itsjung Linux - Newbie 4 12-22-2004 05:58 AM
xhost + and 9.1 Mufasa Suse/Novell 1 11-14-2004 11:19 AM
xhost + RoaCh Of DisCor Slackware 3 10-02-2004 04:31 PM
xhost invasian Linux - Newbie 3 08-08-2004 08:01 PM
xhost security green_t Linux - Security 2 03-05-2001 09:05 PM


All times are GMT -5. The time now is 04:00 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration