Steps that are necessary to run DBCA via Xming (Flashgrid-enabled clusters)
January 24, 2019 Leave a comment
1. Remove immutable flag from /etc/ssh/sshd_config file:
# chattr -i /etc/ssh/sshd_config
2. Change the following in /etc/ssh/sshd_config:
From:
#X11UseLocalhost yes
To:
X11UseLocalhost no
4. Readd immutable flag to /etc/ssh/sshd_config file:
# chattr +i /etc/ssh/sshd_config
4. Restart sshd service:
# systemctl restart sshd
5. Start Xming on your computer and reconnect to the server via putty with X11 enabled.
6. Check current DISPLAY settings:
$ echo $DISPLAY
192.168.1.2:10.0
7. Copy Xauthority file from fg to oracle
$ sudo cp /home/fg/.Xauthority /home/oracle/.Xauthority
$ sudo chown oracle:oinstall /home/oracle/.Xauthority
8. Switch to oracle user and export DISPLAY variable, assign the same value that was returned from fg user (from where you run sudo su – oracle):
$ sudo su – oracle
$ export DISPLAY=192.168.1.2:10.0
9. Run DBCA:
$ dbca