Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to start CLM (RDNG) without VNC?

Hi

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

0 votes


Accepted answer

Permanent link

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

Jorge Alarcon selected this answer as the correct answer

1 vote

Comments

Hi Bas

Yes, I am running everything on Linux, and what it stops is the entire application.

I tried your solution and it works perfectly fine!

Thanks so much for the help


One other answer

Permanent link
I've used Xvfb to set up a pseudo-display for the converter app on Linux VM.  I can vnc to that VM but vncserver is not necessary for the converter app.

In the tomcat startup I added

export DISPLAY=:2
xhost +

Xvfb is started from a script in /etc/rc.d/init.d and the converter soon after ( on boot )

1 vote

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,497

Question asked: Sep 12 '16, 12:56 p.m.

Question was seen: 2,681 times

Last updated: Sep 12 '16, 3:24 p.m.

Confirmation Cancel Confirm