Saturday, November 9, 2013

XHOST Setup on Ubuntu

It is mandatory to set-up XHOST in order to run any installation through UI, for Instance Oracle installation. If XHOST is not configured property Ubuntu will not trigger any UI installer window.

How to Set-up:

Edit default users bashrc file (Under user Home directory)

sirishg@ubuntu:~$ vi .bashrc

Add the following lines,

xhost local:<username>

Example:

#### Sirish Changes Start ####
echo Adding xhost for users sterling, oracle and sirishg

xhost local:sterling
xhost local:oracle
xhost local:sirishg

echo Adding xhost for users Done!
#### Sirish Changes End ####