LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-16-2004, 11:46 PM   #1
shazam75
Member
 
Registered: Oct 2004
Location: Australia, Brisbane
Distribution: Gentoo
Posts: 296

Rep: Reputation: 30
Xhost - How to start it automatically?


Hi

Everytime I need to start X-Host manually by running it in the run Window, by typing xhost +

Anyone know how to start this service automatically during boot time?

Regards
Shelton.
 
Old 10-17-2004, 05:21 AM   #2
bahramH
Member
 
Registered: Apr 2004
Location: France
Distribution: Mandrake
Posts: 67

Rep: Reputation: 15
Here few lines from the Xerver(1) man page.


The X server also uses a host-based access control list for deciding
whether or not to accept connections from clients on a particular
machine. If no other authorization mechanism is being used, this list
initially consists of the host on which the server is running as well
as any machines listed in the file /etc/Xn.hosts, where n is the dis-
play number of the server. Each line of the file should contain either
an Internet hostname (e.g. expo.lcs.mit.edu) or a DECnet hostname in
double colon format (e.g. hydra:. There should be no leading or
trailing spaces on any lines. For example:

joesworkstation
corporate.company.com
star::
bigcpu::

Users can add or remove hosts from this list and enable or disable
access control using the xhost command from the same machine as the
server.
 
Old 10-17-2004, 08:09 AM   #3
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Hi,

If you don't care about security prupose, you can run your X server with -ac option which will disable access control

Oliv'
 
Old 10-17-2004, 08:29 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
xserver with -ac option

which file do you have to edit to add that option.
 
  


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
How do I automatically start a program at start up? victordh Linux - General 7 10-27-2013 06:02 AM
Xhost at start time of X lifeless_42 Linux - Software 2 09-10-2004 08:10 AM
start apps automatically on start up? chunlee Linux - Newbie 3 09-04-2004 12:58 PM
How to start x0rfbserver automatically? fraglord Linux - Software 7 06-20-2003 01:51 PM
X won't start automatically urinal cake Linux - Newbie 5 03-08-2002 05:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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