1. logon as root
2. Edit /root/.bashrc and add the following code:
export XAUTHORITY=/home/oracle/.Xauthority
3. source ~/.bashrc
4. xhost local:oracle
or simply type the following:
1. login as root
2.
export DISPLAY=:10.0
xhost +
3. su - oracle
4. xclock (for testing)
全站熱搜