How to start CLM (RDNG) without VNC?
I would like to know if is possible to start RM / RNDG / RRC remotely using a ssh session and let the converter with a display assigned to it.
I've tried using ssh -X <server> and then start the app and it works but as soon as I close the connection the application stops working.
Currently we a re using TigerVNC sessions to start the application but we want to stop doing this.
Can someone please advice?
Regards
Accepted answer
What application stops working: DNG, or just the converter? And what DNG version are you using and on what application server, i.e. Tomcat, Liberty, WAS?
Assume you run on Linux, as you are using ssh. Think on Linux independent what application server you are using, when starting it with the startup scripts, it always detaches from the terminal session.
For WAS I am using a script like this from the [WAS install dir]/AppServer/profiles/AppSrv01:
#!/bin/sh
killall Xvfb
Xvfb :5 -screen 0 800x600x24&
DISPLAY=:5.0
export DISPLAY
bin/startServer.sh server1
It would be something similar when running Tomcat/Liberty, here from [CLM install dir]/server using a script like this (haven't tried this though):
#!/bin/sh
killall Xvfb
Xvfb :5 -screen 0 800x600x24&
DISPLAY=:5.0
export DISPLAY
./server.startup
Also look at this article https://jazz.net/library/article/1089