Why does dlmon work from the command line, but not under rtexec?

From BRTT

Jump to: navigation, search


Question
Question:

Why does dlmon work from the command line after ssh but not run under rtexec, giving an xauthority error?


Answer:

As a rule, programs which bring up an x-window are not run under rtexec.


However, check if an XAUTHORITY enviroment variable exists in the shell; if it does, check that it's propagated into the rtexec environment.


In the rtexec directory run the command

% rtrun env

if XAUTHORITY is missing put the following line in the Env &Arr {} section of rtexec.pf

XAUTHORITY              PRESERVE

Running orbmonrtd from rtexec is generally not recommended, though.