It's all about the answers!

Ask a question

SCM cmd line tool on Linux does not work without X-Server


Piotr Stachyra (112) | asked Apr 07 '09, 5:24 a.m.
Hi,
I'm having unusual problem with scm command line on Linux (RH4).

I have RTC-ExpressC-Full-1.0.1-Linux.zip client installed on Linux.
I log into this Linux machine via Putty and try to run scm command. When there is no X-Server running on my local machine I get following message:

The application 'scm' lost its connection to the display localhost:11.0;
most likely the X server was shut down or you killed/destroyed
the application.



Everything works fine when X-Server is up.
Has anybody encountered this issue? It is bit of a problem for me because I want to set up some scm tasks via cron.

Cheers!
Piotr

2 answers



permanent link
Piotr Stachyra (112) | answered Apr 07 '09, 6:07 a.m.
Ok, I found quick workaround based on this topic -> https://jazz.net/forums/viewtopic.php?t=4109

I have replaced original scm script (from scmtools/eclipse) with this one:


#!/bin/bash
java -jar plugins/org.eclipse.equinox.launcher_*.jar $*
exit 0


Seems to work fine now.

permanent link
Jakub Jurkiewicz (59632) | answered Apr 08 '09, 7:58 a.m.
Ok, I found quick workaround based on this topic -> https://jazz.net/forums/viewtopic.php?t=4109

I have replaced original scm script (from scmtools/eclipse) with this one:


#!/bin/bash
java -jar plugins/org.eclipse.equinox.launcher_*.jar $*
exit 0


Seems to work fine now.


I have created the following Work Item to address this issue: https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=77687

kind regards,
Jakub

Your answer


Register or 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.