PDA

View Full Version : [ubuntu] starting X with parameters



wil
July 29th, 2010, 05:02 PM
Hi

I would like gdm to start X with the -ac parameter how would I do that.
see http://www.x.org/archive/X11R6.8.1/doc/Xserver.1.html


Thanks

dino99
July 29th, 2010, 06:49 PM
as said, use whith care:

-ac
disables host-based access control mechanisms. Enables access by any host, and permits any host to modify the access control list. Use with extreme caution. This option exists primarily for running test suites remotely.

wil
July 29th, 2010, 06:55 PM
I know I have to use with care but I would like to use it.

I can bypass the -ac if I can somehow get the host permanently in the xhost file.

so at start up I want
xhost +myremotemachine

How would I do that? there must be some kinda startup script for the user.

wil
July 29th, 2010, 07:11 PM
Ok

I added xhost +myremoteserver to the end of ~/.profile and is now working fine

Thanks