How to allow NX to change display resolution on headless Raspbian?

Forum / NoMachine for Raspberry Pi / How to allow NX to change display resolution on headless Raspbian?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #36036
    anijatsu
    Participant

    Hi!

    I’m running NoMachine free 7.7.4, on both:

    Server: Raspberry Pi 4B
    Linux 5.10.63-v8+ #1459 SMP PREEMPT Wed Oct 6 16:42:49 BST 2021 aarch64 GNU/Linux

    Client: MacBook Pro M1 2020
    MacOS Monterey 12.0.1 Darwin 21.1.0 Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:24 PDT 2021; root:xnu-8019.41.5~1/RELEASE_ARM64_T8101 arm64

    I’m currently playing around with Raspbian’s /boot/config.txt file to figure out a display resolution that’d fit most of my cases, but I’d really enjoy being able to change it dynamically in NoMachine.
    hdmi_force_hotplug allows me to boot into GUI, but without forcing hdmi_mode, I’m stuck at something like 640×480.
    I’m open to running beta or bleeding edge. I’m currently on Raspbian 64-bit beta.

    lxrandr doesn’t see anything to change away from the resolution chosen by hdmi_mode:


    NoMachine doesn’t see a way to change the res:

    My config.txt is currently as follows.

    disable_overscan=1
    hdmi_force_hotplug=1
    hdmi_enable_4kp60=1
    hdmi_group=1
    hdmi_mode=76
    # Enable audio (loads snd_bcm2835)
    #dtparam=audio=on
    # Enable DRM VC4 V3D drive
    #dtoverlay=vc4-kms-v3d
    max_framebuffers=2
    arm_64bit=1
    #enable_uart=1
    #start_x=0
    gpu_mem=128

    #36076
    Carin
    Participant

    Hi,

    Please take a look at this article: https://knowledgebase.nomachine.com/AR02M00836

Viewing 2 posts - 1 through 2 (of 2 total)

This topic was marked as solved, you can't post.