Xavier NX : xrandr command not showing result

Hi Team,

We are using xavier NX and 32.4.3 release , after connecting the DP port we are able to get GUI and it is working fine.

But when we are trying to read details using console ‘xrandr’ command is not showing result.

Following are result :
No protocol specified
Can’t open display :0

No protocol specified
Can’t open display :1

Can you guys help, what we missed ?


Will xrandr give you a result if you use the terminal on the screen but not remote access?

Hi @WayneWWW,

We are using debug UART(/dev/ttyUSB0) and also tried on ACM0 node on host laptop using minicom.

Actually we have to get details of screen/DP/HDMI, need to get/set resolution using debug UART linux command/code.

Yes, I know your purpose but please just reply my question first.

Yes @WayneWWW, It is working on screen (checked on Display port terminal).
working : xrandr
$ echo $DISPLAY

Does this only happen to DP? I just tried my HDMI monitor with same setup but does not have problem.

We don’t have HDMI setup. Using DP only.

Ok. I will check with my DP.


I cannot reproduce your issue with my NX+ DP monitor.
Could you reboot your device and try again?

nvidia@nvidia-desktop:~$ export DISPLAY=:0
nvidia@nvidia-desktop:~$ xrandr
Screen 0: minimum 8 x 8, current 3840 x 2160, maximum 32767 x 32767
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
   3840x2160     60.01*+  30.00  
   2560x1440     59.96  
   1920x1080     60.00    59.95    50.00    30.00    29.97    25.00    24.00    23.98  
   1680x1050     59.96  
   1440x900      59.89  
   1366x768      59.79  
   1280x1024     75.03    60.00  
   1280x960      60.00  
   1280x800      59.81  
   1280x768      59.87  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.01  
   832x624       75.05  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   720x400       70.04  
   640x480       75.00    72.81    67.06    59.94    59.94