![]() ![]() The `-localhost yes` is an important security consideration. To make TigerVNC start the default Ubuntu desktop, place the following lines in your `~/.vnc/xstartup`:Įxport DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"Įnv GNOME_SHELL_SESSION_MODE=ubuntu /usr/bin/gnome-session -systemd -session=ubuntuĭbus-launch -exit-with-session /usr/bin/gnome-shellīy executing the command `vncserver -geometry 1900x1080 -localhost yes` in a terminal, TigerVNC will start in the background and start listening to incoming connections.įor optimal graphics, replace `1900x1080` with the native resolution of your laptop screen. You may have noticed that when you login to your workstation, you can choose from many different environments, where "Ubuntu" is the default. When the X server is started, the file `~/.vnc/xstartup` is executed, so that file controls what desktop environment is started. This is useful, because it allows us to set things up to suit your laptop instead of your workstation (the DPI setting is a good example of this). Whenever you connect to the TigerVNC server, it will start a new X session with its own configuration. The password you have created is stored by default in `~/.vnc/passwd`. Obviously, if someone manages to connect they have full access to your machine, so make it a good password. ![]() Run `vncpasswd` in a terminal to set the password you will use to connect to the remote desktop on your workstation. You'll need to be the designated primary user of the workstation in order to be allowed to install packages (contact IT if you don't have this permission and feel you should have). Install () on your workstation by running in a terminal: `pkcon install tigervnc-standalone-server`. While running terminal programs is best done through plain SSH, in this tutorial we will be looking at using VNC to create a full-fledged remote desktop. To have a comfortable way to run analyses on the workstation in your office from your laptop that may be anywhere in the world. # Setting up a remote desktop from your work laptop to Aalto Ubuntu workstation ![]()
0 Comments
Leave a Reply. |