My host is Windows 10 64-bit.
I have a raspberry pi that I do not have direct access to.
Neither do I have access to the router it's connected to.
I simply use SSH to connect to it.
But, I need to change Port Forwarding, and to do that, I need to have access to a GUI.
So I am using NoMachine.
But whenever I try to do
/usr/NX/bin/nxserver --startsession
I get:
NX> 500 ERROR: Display cannot be empty.
I have found solutions for Xvfb
but Raspberry Pi OS uses LXDE.
Xvfb :99 -auth /home/username/.Xauthority -screen 0 1024x768x24 DISPLAY=:99 /etc/NX/nxserver -startsession
(Source: [https://forums.nomachine.com/topic/launch-session-using-commandline-in-with-nomachine-5-ts](https://forums.nomachine.com/topic/launch-session-using-commandline-in-with-nomachine-5-ts))
How would I go about this in SSH using LXDE on a raspberry pi?
------
I apologize if nothing of what I'm saying makes sense.
Asked by m-doescode
(3 rep)
Aug 19, 2021, 10:07 PM
Last activity: Aug 19, 2021, 10:33 PM
Last activity: Aug 19, 2021, 10:33 PM