640x480 for VNC. offer more choices?

Hi,

I’ve followed the documentation here: https://developer.nvidia.com/embedded/learn/tutorials/vnc-setup for a 2gb model.

After a cold boot the autostarted vino-server launches a server with 640x480.

xdpyinfo | grep dimensions
  dimensions:    640x480 pixels (169x127 millimeters)

How to I change that to a more popular resolution? 720p, 1080p, 1440p?
Maybe also update https://developer.nvidia.com/embedded/learn/tutorials/vnc-setup page to help new users?

Regards,
Adrian.

Hi Adrian,

That is because there is no physical screen connected on your nano, so X can only provide a default screen to you.

You can try to add a fake screen inside xorg.

Section “Screen”
Identifier “Default Screen”
Monitor “Configured Monitor”
Device “Configured Video Device”
DefaultDepth 24
SubSection “Display”
Depth 24
Modes “1024x800”
EndSubSection
EndSection

Okay, I’ll try. I see this is a general solution given on a lot of forums…

if so, if it’s so safe that it is being recommended by an NVIDIA enginner, can we see this as the official answer, and also in the official documentation here: https://developer.nvidia.com/embedded/learn/tutorials/vnc-setup ?

'cause, otherwise, the default 640x480 resolution is a no go and everyone who wants to use this remote-desktop feature must search the fix for this issue - a lot of time lost by a lot of people.

Please NVIDIA, make the Jetson Nano software be usable by beginners, not just for advanced Linux #config file hackers.

Thank you

PS: @dusty_nv pls help too. what’s your opinion?

Hi @WayneWWW,

The solution you proposed does not work. Neither does this:

Section "Device"
    Identifier  "Tegra0"
    Driver      "nvidia"
# Allow X server to be started even if no display devices are connected.
    Option      "AllowEmptyInitialConfiguration" "true"
EndSection

Section "Screen"
    Identifier "Default Screen"
    Monitor "Configured Monitor"
    Device "Tegra0"
    DefaultDepth 24
    SubSection "Display"
        Depth 24
        Modes "1920x1080"
    EndSubSection
EndSection

from /etc/X11/xorg.conf

Please help, if possible with a solution for Jetson Nano 2GB

2 Likes

Setting the Desktop Resolution


The desktop resolution is typically determined by the capabilities of the
display that is attached to Jetson. If no display is attached, a default
resolution of 640x480 is selected. To use a different resolution, edit
/etc/X11/xorg.conf and append the following lines:

Section “Screen”
Identifier “Default Screen”
Monitor “Configured Monitor”
Device “Tegra0”
SubSection “Display”
Depth 24
Virtual 1280 800 # Modify the resolution by editing these values
EndSubSection
EndSection

5 Likes

I tried this solution, at first it did not work.
Then I checked journalctl and found a parse error in /etc/X11/xorg.conf :

“The Section keyword requires a quoted string to follow it.”

It seems that xorg does not like the double quotes used in this webpage (I just copy/paste’d it), so I just replaced them in nano and voila!

2 Likes