Run the command xrandr --display :0 --auto
from a script or within LabVIEW. This will re-run the cRIO's auto-detection and the Embedded UI should appear on the monitor. The command doesn't need special privileges and can be run as lvuser
. For more information on user privileges, read the Access Control section of the NI Linux Real-Time Security User Guide
LabVIEW 2015 or LabVIEW 2015 SP1:
- Download the attached
- Log in to your cRIO as an administrator. Note: The directory you will need to access is a system folder that requires administrator privileges to modify.
- Restart your cRIO.
You may now disconnect and reconnect the monitor from the cRIO and the Embedded UI will reappear on your monitor.
Alternatively, you can also create and move
- Log into your cRIO via SSH as an administrator.
- Enter the following command into the console:
cd /etc/udev/rules.d/ && echo 'ACTION=="change", SUBSYSTEM=="drm", RUN+="/usr/bin/xrandr --auto --display :0"' >80-video-hotplug.rules
- Confirm the file has been created in the correct location.
- Restart the cRIO.