-
Notifications
You must be signed in to change notification settings - Fork 2
Use X forward on SSH
Luciano Zago edited this page Jan 29, 2020
·
2 revisions
-
Create a instance
-
Login via SSH and install your graphical application X based. Alternatively, you can install all common desktop applications, installing the ubuntu-desktop package, on an Ubuntu instance.
Ubuntu example:
sudo apt update
sudo apt install ubuntu-desktop
-
Add the line
X11Forwarding yesto/etc/ssh/sshd_configon your instance. (Already enabled on some images) -
Reboot the instance
-
Connnect using the flag
-Xon SSH, to enable the X11 forwarding, or enable the optionForwardX11 yesin your~/.ssh/config -
Run your application
OpenPower Lab | Unicamp