Search Results


Thursday, January 21, 2016

Lauching Graphical User Interface from putty

How to launch GUI from putty?


I use putty to access weblogic server for installation, maintenance etc, so I never needed graphical user interface in Linux as most of the work could be done on the terminal. However things have changed in the latest version of weblogic server because oracle stopped supporting Weblogic config using console mode.

Running config.sh would throw an error saying "x11 error can't open display" in the log file

sh config.sh -mode=console -log=/tmp/wl_config_sh.log


Here is what you need to do to setup GUI for putty
  • Install xming server
  • Enable X11 forwarding on putty
  • Run the program


Install xming server


Xming is the leading X Window System Server for Microsoft Windows 8/7/Vista/XP (+ server 2012/2008/2003). It is fully featured, small and fast, simple to install and because it is standalone native Microsoft Windows, easily made portable (not needing a machine-specific installation).

Xming can be used with implementations of Secure Shell (SSH) to securely forward X11 sessions from other computers. It supports PuTTY and ssh.exe, and comes with a version of PuTTY's plink.exe.

Note: And this software works even without admin rights on your PC


X11 forwarding in putty


Select the Enable X11 forwarding checkbox and enter localhost:0




Start GUI application


Now any GUI app run from the putty session will open the GUI application in windows. I tried the following and it worked

Oracle universal installer
rcu
config.sh
firefox






Post a Comment