JetBrains CodeCanvas 2024.1 Help

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.

  1. On your local machine, install a VNC client. For example, VNC Viewer from RealVNC.

  2. Open your project in a dev environment.

  3. Install and run a VNC server in a dev environment. For example, X11VNC server:

    1. In the IDE, open Terminal and run apt update && apt install x11vnc xvfb

    2. Run the server: x11vnc --create The VNC server will run on port 5900.

  4. Configure port forwarding for the port 5900.

  5. On your local machine, run the VNC client and connect to localhost:{forwarded_port}. This will run the VNC terminal window.

  6. Use the VNC terminal window to build and run the UI application you develop in the dev environment.

Last modified: 02 July 2024