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)

arrow
arrow
    全站熱搜

    DanBrother 發表在 痞客邦 留言(0) 人氣()