Ubuntu – Installation of Oracle 11g on remote server(Ubuntu) connected using ssh

oracleoracle-11gUbuntu

When I tried running installer of oracle using oracle user after remotely connected(using ssh), I am getting this error.

[oracle@htrtret database]$ ./runInstaller
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.  Actual 1195 MB    Passed
Checking swap space: must be greater than 150 MB.  Actual 4094 MB    Passed
Checking monitor: must be configured to display at least 256 colors
    >>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set.    Failed <<<<

Some requirement checks failed. You must fulfill these requirements before
continuing with the installation,at which time they will be rechecked.

Continue? (y/n) [n] y

Rechecking installer requirements....
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-10-26_07-29-52AM. Please wait ...Error in CreateOUIProcess(): 13
: Permission denied 

Best Answer

You might be able to do it with X forwarding:

ssh -X <hostname> 

You'll need to be running an X server on the machine you're connecting from and ensure that "X11Forwarding yes" is set in sshd_config on the server.