I had recently faced some challenges to get the GUI mode when installing the oracle software on Linux machine.
I got the below issues when tried with XCLOCK.
Error: Can't open display:
Reason:
1.xclock package not installed on the Linux machine -Linux admin installed
2.X11 service not started-Linux admin
3.Not getting the XCLOCK after setting the above.
Solution:
when you login as user into the server it will create the file called .Xauthority under /home/user and move the file under oracle_user and provide the full privilege.
check the DISPLAY parameter value under your own id and note it down
env |grep -i display
Bala@servername:/home/Bala> env |grep -i DISPL
DISPLAY=localhost:10.0
I got the below issues when tried with XCLOCK.
Error: Can't open display:
Reason:
1.xclock package not installed on the Linux machine -Linux admin installed
2.X11 service not started-Linux admin
3.Not getting the XCLOCK after setting the above.
Solution:
when you login as user into the server it will create the file called .Xauthority under /home/user and move the file under oracle_user and provide the full privilege.
check the DISPLAY parameter value under your own id and note it down
env |grep -i display
Bala@servername:/home/Bala> env |grep -i DISPL
DISPLAY=localhost:10.0
export the above display into oracle user and do the xclock and you may able to get the GUI on the server.