Enabling xhost

Execute xhost at the command prompt:

 

% xhost '<hostname>'

Where 'hostname' is the name of your local machine.

 

This message should appear:

Hostname being added to access control list