- Posts: 11
- Thank you received: 0
Open xttgraph object on login with a rdp connection
1 week 15 hours ago #104
by User
Open xttgraph object on login with a rdp connection was created by User
Hello,I'm encountering an issue I can't resolve on my own.I have a Debian 12 system with a working ProviewR runtime and project installed. I’ve also installed xrdp and configured the system so that the ProviewR runtime starts at boot.Additionally, I’m using the following script to start my program:
#!/bin/bash
source /etc/pwrp_profile
while true; do
if [ "$(systemctl is-active pwr)" = "active" ]; then
break
fi
sleep 1
done
$pwr_exe/rt_xtt -qn Op &This script seems to work fine when run manually.However, I have the following questions:
- How do I modify the script so that the Xtt graph named "test" is opened automatically?
- How do I configure my system or ProviewR so that the "test" graph opens automatically when I log in via an RDP session?
Thank you for your help.
#!/bin/bash
source /etc/pwrp_profile
while true; do
if [ "$(systemctl is-active pwr)" = "active" ]; then
break
fi
sleep 1
done
$pwr_exe/rt_xtt -qn Op &This script seems to work fine when run manually.However, I have the following questions:
- How do I modify the script so that the Xtt graph named "test" is opened automatically?
- How do I configure my system or ProviewR so that the "test" graph opens automatically when I log in via an RDP session?
Thank you for your help.
Please Log in or Create an account to join the conversation.
1 week 13 hours ago #105
by claes
Replied by claes on topic Open xttgraph object on login with a rdp connection
In OpPlace.AutoStart you can insert XttGraph objects that should be opened when rt_xtt is started for that opplace.
/Claes
/Claes
Please Log in or Create an account to join the conversation.
6 days 18 hours ago #106
by User
Replied by User on topic Open xttgraph object on login with a rdp connection
Hi Cleas,
Thank you for your quick response.
I’m still experiencing an issue. I changed my OpPlaces as follows:
I have a XttMultiView which is configured to open a graph object. This XttMultiView is included in the autostart of my OpPlace. When I launch it using the Runtime Monitor on my development station, everything works as expected and the graph opens correctly.
However, when I distribute the project to my target system running the ProviewR Runtime, the autostart doesn’t seem to work.
Do I need to modify the script mentioned above to make it work in the runtime environment? If so, how exactly should I change it?
Or could there be an issue with the project distribution?
Thanks,
User
Thank you for your quick response.
I’m still experiencing an issue. I changed my OpPlaces as follows:
I have a XttMultiView which is configured to open a graph object. This XttMultiView is included in the autostart of my OpPlace. When I launch it using the Runtime Monitor on my development station, everything works as expected and the graph opens correctly.
However, when I distribute the project to my target system running the ProviewR Runtime, the autostart doesn’t seem to work.
Do I need to modify the script mentioned above to make it work in the runtime environment? If so, how exactly should I change it?
Or could there be an issue with the project distribution?
Thanks,
User
Please Log in or Create an account to join the conversation.
5 days 16 hours ago #107
by claes
Replied by claes on topic Open xttgraph object on login with a rdp connection
Hi User,
To add the script to the distribution package you should use a ApplDistribute object, positioned under the Distribute object in the directory volume.
/Claes
To add the script to the distribution package you should use a ApplDistribute object, positioned under the Distribute object in the directory volume.
/Claes
Please Log in or Create an account to join the conversation.
Time to create page: 0.450 seconds