Run TT Data Uploader headless
This is a guide for running TT Data Uploader headless on a Linux box.
Steps:
Install VNC Server
You will need to have a VNC server instance running on the Linux box. Open a terminal window and install tightvncserver. Use apt-get if the box is running Ubuntu, use yum if the box is running Fedora.
[ubuntu@ubuntu12 ~]$ sudo apt-get install tightvncserver[fedora@fedora16 ~]$ sudo yum install vnc-serverComplete the install by starting vncserver
[fedora@fedora16 ~]$ vncserver You will require a password to access your desktops. Password: Verify: New 'fedora16:1 (fedora)' desktop is fedora16:1 Creating default startup script /home/fedora/.vnc/xstartup Starting applications specified in /home/fedora/.vnc/xstartup Log file is /home/fedora/.vnc/fedora16:1.log
You should now have the VNC server up and running.
Install VNC Client
[ubuntu@ubuntu12$ sudo apt-get install vncviewer[fedora@fedora16$ sudo yum install vncYou can now test the VNC server
$ vncviewer fedora16:1(replace fedora16:1 with the value printed when starting the VNC server).
Run TT Data Uploader in VNC
You can now run TT Data Uploaded in VNC by launching it in the vncviewer. We recommend launching the application in vncviwer since the application may required user inputs when lauching. Alternative is to launch it from terminal with javaws after setting the DISPLAY variable.
1. Connect to the VNC server
[fedora@fedora16 ~]$ vncviewer fedora16:12. Launch the application, set all required configuration.
[fedora@fedora16 ~]$ javaws http://testtdu.globaltraceability.net/launch.jnlp3. Quit vncviewer
4. Test that TT Data Uploader is up by navigating to http://fedora16:8535