Forum Discussion
13 years ago
Yes. I have it installed on a headless Ubuntu virtual host. Here is a rough, by-memory list of general steps needed to get it running... And I will start with a bit of a X11 discussion so clear up some common confusion:
In X11, the 'X11 server' is the device that possesses the display screen that you will be looking at. The 'client' is the host where the X11 application is running. So for your purposes, you need to install "X11 Server" on your local windows machine, and "X11 Client" stuff on your Ubuntu host. The X11 client software will be Java and SoapUI running on the ubuntu machine, which is the X11 client that will connect to the X11 Server in your laptop to access your laptop's display, where the SoapUI user interface will appear. You need a connection between your Ubuntu machine and your windows machine to transfer the X11 graphics from the client (the ubuntu host) to the X11 server (the windows display.) It is very common to use ssh tunnelling to handle this, as the typical network security design in common use these days blocks X11 traffic, especially if you are using a VPN as I am.
X11 dates from the days when all Unix systems were multi-user mini-computers locked in server rooms and were, by definition, headless. So the concept of a 'display server' is strange to you young'uns.
1) install cygwin and cygwin-X11 on my windows 7 laptop. Include openssh packages.
2) install 64-bit JRE and X11 client libraries on the ubuntu machine. ('sudo apt-get install rxvt' will install an X11 client application which will automatically load a bunch of X11-related client libraries and dependencies. 'sudo apt-get install IcedTea7' should get you a suitable JRE. I already had one installed for other apps so didn't have to install a JRE specific to SoapUI.)
3) install openssh on your ubuntu machine. Install xauth on ubuntu if it isn't already there, 'sudo apt-get install xauth' because Ssh needs this to setup X11 packet forwarding through the ssh tunneling.
4) configure ssh on your laptop and your ubuntu so that you can ssh from cygwin into the ubuntu and receive a command prompt. IE 'ssh ubuntuhost' should leave you looking at a bash prompt on the ubuntu host. Ie open a cygwin shell window on your laptop, and ssh into your ubuntu host.
5) Verify your /etc/ssh/sshd.conf file is setup to allow X11 forwarding.
5) Now you should be able to open an X11 forwarding connection into your server.
Launch your app thusly:
Cygwin$ ssh -Y userame@ubuntu /path/to/your/soapui.sh
After a moment or three you should see a soapui window pop up on your laptop. If you need a simpler test of X11 you can try:
Cygwin$ ssh -Y username@ubuntu /usr/bin/rxvt
Which should leave you looking at a rxvt terminal window with a bash prompt from your ubuntu host, on your windows laptop.
I'm using this over a remote VPN, it's a bit slower than running the app naively on windows, but it does work.
In X11, the 'X11 server' is the device that possesses the display screen that you will be looking at. The 'client' is the host where the X11 application is running. So for your purposes, you need to install "X11 Server" on your local windows machine, and "X11 Client" stuff on your Ubuntu host. The X11 client software will be Java and SoapUI running on the ubuntu machine, which is the X11 client that will connect to the X11 Server in your laptop to access your laptop's display, where the SoapUI user interface will appear. You need a connection between your Ubuntu machine and your windows machine to transfer the X11 graphics from the client (the ubuntu host) to the X11 server (the windows display.) It is very common to use ssh tunnelling to handle this, as the typical network security design in common use these days blocks X11 traffic, especially if you are using a VPN as I am.
X11 dates from the days when all Unix systems were multi-user mini-computers locked in server rooms and were, by definition, headless. So the concept of a 'display server' is strange to you young'uns.
1) install cygwin and cygwin-X11 on my windows 7 laptop. Include openssh packages.
2) install 64-bit JRE and X11 client libraries on the ubuntu machine. ('sudo apt-get install rxvt' will install an X11 client application which will automatically load a bunch of X11-related client libraries and dependencies. 'sudo apt-get install IcedTea7' should get you a suitable JRE. I already had one installed for other apps so didn't have to install a JRE specific to SoapUI.)
3) install openssh on your ubuntu machine. Install xauth on ubuntu if it isn't already there, 'sudo apt-get install xauth' because Ssh needs this to setup X11 packet forwarding through the ssh tunneling.
4) configure ssh on your laptop and your ubuntu so that you can ssh from cygwin into the ubuntu and receive a command prompt. IE 'ssh ubuntuhost' should leave you looking at a bash prompt on the ubuntu host. Ie open a cygwin shell window on your laptop, and ssh into your ubuntu host.
5) Verify your /etc/ssh/sshd.conf file is setup to allow X11 forwarding.
5) Now you should be able to open an X11 forwarding connection into your server.
Launch your app thusly:
Cygwin$ ssh -Y userame@ubuntu /path/to/your/soapui.sh
After a moment or three you should see a soapui window pop up on your laptop. If you need a simpler test of X11 you can try:
Cygwin$ ssh -Y username@ubuntu /usr/bin/rxvt
Which should leave you looking at a rxvt terminal window with a bash prompt from your ubuntu host, on your windows laptop.
I'm using this over a remote VPN, it's a bit slower than running the app naively on windows, but it does work.