Sunday, December 5, 2010

Solution for Display Error - Linux

--------------------------------------------------------------------------------

Each new system user needs to be configured separetly.

Do the following:

1. Export DISPLAY variable:

Code:
export DISPLAY=localhost:0.0

Asign x-host privileges:

Code:
xhost local:oracle

Assuming oracle is a user I would like to asign xhost privileges.

3. Run x-window program:

Code:
xcalc, xclock etc..

No comments:

Post a Comment