LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-16-2003, 04:19 AM   #1
fliny
LQ Newbie
 
Registered: Oct 2003
Posts: 9

Rep: Reputation: 0
Unhappy Please,the question with "xhost +localhost"


after "xhost +localhost"
reboot
login
i can't run "startx"
what can i do
 
Old 10-16-2003, 04:55 AM   #2
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30
Howzit

Goto you /etc/hosts file and check if u have the following
127.0.0.1 localhost.localdomain localhost

if not change to the above and try again

chow
 
Old 10-16-2003, 05:06 AM   #3
fliny
LQ Newbie
 
Registered: Oct 2003
Posts: 9

Original Poster
Rep: Reputation: 0
thanks
but i /etc/hosts file is the same as that you said
but i can't run "startx"
 
Old 10-16-2003, 05:18 AM   #4
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

Rep: Reputation: 30
Howzit

What does u'r /var/log/XFree86.0.log say and also check what /var/log/messages file say. In both cases check the end of these files and if possible post the errors.

chow
 
Old 10-16-2003, 11:43 AM   #5
sandiegon
LQ Newbie
 
Registered: Sep 2003
Location: San Diego
Posts: 16

Rep: Reputation: 0
after reboot do the xhost+ again try to run your application again
 
Old 10-16-2003, 12:57 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you've still not said WHY you can't run startx. maybe your T key has fallen of?
 
Old 10-16-2003, 07:24 PM   #7
fliny
LQ Newbie
 
Registered: Oct 2003
Posts: 9

Original Poster
Rep: Reputation: 0
after reboot i can't do the xhost+*
the message is
xhost :unable to open display ""
 
Old 10-16-2003, 07:47 PM   #8
fliny
LQ Newbie
 
Registered: Oct 2003
Posts: 9

Original Poster
Rep: Reputation: 0
do startx
some message:
xterm:fatal IO error ...
xinit :connection to X server ...

i can't understand "the Xserver"
sometimes i can do startx
but i can't control anything
i can only do ctrl+alt+backspace
what's wrong?
 
  


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
newbie question: whats the difference between "su root", "su" and "su -&quo mojarron Slackware 9 12-07-2009 04:08 PM
Why "bash-2.05b$" in Terminal instead of "username@localhost username" jayelitumbiolo Linux - General 9 10-04-2009 03:16 AM
"xhost +root" fails ahz10 Linux - Security 2 11-04-2005 02:41 PM
"xhost +local:" in .xsession - a bad idea? umk Debian 5 06-14-2005 09:12 AM
xhost gives me "bad hostname" Rhatlinux Linux - General 8 12-16-2004 04:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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