You could try "echo $DISPLAY" immediately prior to the start of your
command to see how its environment is configured.

You could try running some other program (like xterm or xclock) to see if
it behaves the same as your program.

Mark Waite


On Mon, May 19, 2014 at 7:46 AM, Ruchira Khandelwal <[email protected]>wrote:

> Hi Mark,
>
> Thanks a lot for your prompt response.After removing the display
> command,still the commands do
> not get  executed on xvnc but instead on default jenkin's console.
>
> why are not the commands getting routed to xvnc windows.Please help
>
> consolew output:
>
> Starting xvnc
> [CGO] $ vncserver :89 -localhost -nolisten tcp
>
> New 'abrncottwg:89 (hudson)' desktop is abrncottwg:89
>
> Starting applications specified in /users/hudson/.vnc/xstartup
> Log file is /users/hudson/.vnc/abrncottwg:89.log
>
> [CGO] $ /bin/sh
> /opt/soe/projects/umtsmisc/html/hudson/apache-tomcat-7.0.52/temp/hudson5023972853694011177.sh
>
>
> Regards,
> Ruchira
> n Monday, May 19, 2014 5:27:05 PM UTC+5:30, Ruchira Khandelwal wrote:
>
>>  Hi,
>>
>>
>>
>> In my Jenkins build I have configured xvnc.My purpose is to launch a xvnc
>> application when I run
>> jenkins build and then want some commands to be executed on the newly
>> opened xvnc.
>>
>> But when I run the Jenkins's build I could see that5 though the xvnc
>> session got created but whatever commands which I have given
>> in execute shell did not execute in the newly opened vnc session .Please
>> he;lp me and let me know what is it which I am missing.
>>
>> Please find the command which I have mentione din execute shell:
>>
>> #!/bin/tcsh
>> cd /opt/soe/projects/umtsmisc/catapult/DI_TEAM/abhinav/
>> RNC36_LR14.X_wk09.1_P
>> Xvnc -inetd python pyavt
>> setenv DISPLAY 135.245.169.11:$DISPLAY
>> source source_me.cshrc
>> vncconfig -desc
>>
>> Regards,
>> Ruchira
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Thanks!
Mark Waite

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to