This page shows the process of connecting to a remote Linux machine with a graphical interface (GUI). The process might not apply to all Linux installations. Please consult with your IT or system administrator if this type of connection is allowed.
VNC Server and client connection
- Install 'vncserver' on Linux.
- Check your Linux distribution's documentation for the installation process.
- Connect remotely from your local desktop via VNC client/viewer.
- On Windows, you can use TightVNC, RealVNC, or UltraVNC.
X11 forwarding connection
- Install X11 forwarding with 'gnome-terminal' on Linux. Lumerical Python API requires either 'Gnome Desktop' or 'gnome-terminal'. Install 'X11-org' and 'gnome-terminal' on supported Linux platform.
sudo yum install -y xorg-x11-server-Xorg xorg-x11-xauth xorg-x11-apps sudo yum install -y gnome-classic-session gnome-terminal nautilus-open-terminal control-center liberation-mono-fonts
- Enable X11 forwarding by editing the 'sshd_config' with a text editor like vi or vim on Linux.
sudo vi /etc/ssh/sshd_config
- Change X11Forwarding to 'yes' if this is set to 'no'.
- Save and Exit vi / vim.
- Restart 'ssh'.
sudo systemctl restart sshd
- Connect via X-forwarding using MobaXterm. This has the features to connect and run Lumerical remotely on a support Linux platform. i.e. Graphical SFTP browser, OpenGL and Direct X support, etc.
- Connect via X-forwarding using MobaXterm from a Windows PC. The built-in Graphical SFTP browser, allows you to move files between your local computer and remote machine seemlessly.
- Connect with WinSCP and transfer files between your local computer and remote Linux machine.