Graphical Display Not Appearing when Running Install Wizards - Linux
Graphical Display Not Appearing when Running Install Wizards
1. Use MobaXterm which has X display built in to it.
2. Check whether the X11Forwarding parameter is set to yes in the 'sshd_config' file and restart it.
[root@testserver-k ~]# vi /etc/ssh/sshd_config
X11Forwarding yes
[root@testserver-k ~]# systemctl restart sshd
3. Install the following dependencies.
[root@testserver-k ~]# yum install xorg*
[root@testserver-k ~]# yum install xclock
(We can use xclock to verify if the graphical display works before executing the wizard)
4. Connect to the server directly through the user that is running the wizard not using 'sudo su -' or 'su -'
5. Export the display variable
[oracle@testserver-k ~]$ export DISPLAY = :10
6. If the following error occurs do the below mentioned steps:
[oracle@testserver-k ~]$ xclock
MoTTY X11 proxy: No authorisation provided
Error: Can't open display: localhost:10.0
Execute the following command and find a valid port for the display.
[oracle@testserver-k ~]$ xauth list
testserver-k/unix:12 MIT-MAGIC-COOKIE-1 <cookie-session-id>
testserver-k/unix:13 MIT-MAGIC-COOKIE-1 <cookie-session-id>
testserver-k/unix:11 MIT-MAGIC-COOKIE-1 <cookie-session-id>
Try:
[oracle@testserver-k ~]$ export DISPLAY = :12
Comments
Post a Comment