Develop GUI Applications
With dev environments, you can develop not only web applications but also applications with native user interface. This is possible with the help of VNC or RDP technologies. The idea is to install a VNC server to a dev environment, forward the server port to your localhost
, and use a local VNC client to work with the dev environment's remote desktop.
On your local machine, install a VNC client. For example, VNC Viewer from RealVNC.
Install and run a VNC server in a dev environment. For example, X11VNC server:
In the IDE, open Terminal and run
apt update && apt install x11vnc xvfb
Run the server:
x11vnc --create
The VNC server will run on port5900
.
Configure port forwarding for the port
5900
.On your local machine, run the VNC client and connect to
localhost:{forwarded_port}
. This will run the VNC terminal window.Use the VNC terminal window to build and run the UI application you develop in the dev environment.