LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-23-2004, 10:39 PM   #1
h00chman
LQ Newbie
 
Registered: Mar 2004
Location: Spokane, WA
Distribution: Mandrake 9.1, 9.2, RH9, OpenBSD
Posts: 13

Rep: Reputation: 0
How to permanently add localhost via xhost?


I'm running Mandrake 9.1 and have to do xhost +localhost every time I want to run linuxconf.

How or where can I permanently add localhost so that I don't have to type this every time?

I looked in the man xhost file and it noted an X*.hosts file. Unfortunatley, I can't find this file under /etc or the X11 directory. Plus if I do a locate *.host as su it cannot find any file of this description.

Can someone clarify what is actually the problem here?

Last edited by h00chman; 04-23-2004 at 10:40 PM.
 
Old 04-23-2004, 11:57 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 63
Try adding this line to your /root/.bashrc.

Code:
export XAUTHORITY=/home/stephen/.Xauthority
You would change to your user name and make sure the section in your /root/.profile that reads the file is uncommented.
 
  


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
permanently add static route glock19 Linux - Networking 26 04-08-2013 04:07 AM
xhost +localhost has no effect anymore maenho Linux - Software 2 11-16-2004 08:57 AM
xhost localhost ALWAYS true_atlantis Slackware 1 05-21-2004 08:45 AM
Please,the question with "xhost +localhost" fliny Linux - Networking 7 10-16-2003 07:47 PM
how to permanently add route? rob99 Linux - Networking 5 07-19-2003 06:39 AM


All times are GMT -5. The time now is 05:27 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