![]() ![]() $ sudo apt install xfce4 xfce4-goodies tightvncserver The commands in this section will be the same irregardless of where the Ubuntu instance is running, whether it is inside Multipass or a remote server. For the desktop environment we are installing Xfce4 because it is light weight. Now that the system is set up we can proceed to setting up VNC and a desktop environment. Installing VNCServer and Xfce4 inside Multipass They cause an update of information about packages, and updates any packages that are currently out of date. These commands will be the same irregardless of what kind of Ubuntu instance you have. In either case you'll have an Ubuntu system to work with.Īs is typical we then update the system: ubuntu :~ $ sudo apt update If instead you are using a different Ubuntu instance like a remote VPS, simply launch that instance in the appropriate way. System information as of Fri Apr 17 08: 53: Once it launches you can run this to start a Bash shell inside the instance: $ multipass shell vncxfce4 ![]() There are a number of commands to customize this, such as increasing the memory allocation. The name for the image will be vncxfce4 because we will configure this image to run VNC and the XFCE4 desktop. This command launches the default Ubuntu image, at the time of this writing that is Ubuntu 18.04. Run this to launch a Multipass/Ubuntu instance $ multipass launch -name vncxfce4 For that article see Use Canonical's Multipass to display Linux GUI applications on macOS desktopįor more details on what Multipass is, and an introduction, see: Use Canonical's Multipass to display Linux GUI applications on macOS desktop This article differs in that we're looking to run a whole desktop UI rather than a single application. I wrote an earlier article about running a single application and displaying on XQuartz, the X11 server for macOS. Therefore it is sometimes useful to be able to use a Linux desktop even if your primary computer is running macOS - or Windows for that matter. While many of the open source Linux GUI programs are also available for macOS, some are not. I'll make sure to intersperse comments on how to implement this for a remote Ubuntu instance on a VPS provider. The same instructions will work for any Ubuntu instance such as a VPS rented from a web hosting provider. In this case we're aiming to use VNC to control an Ubuntu Linux desktop running in a virtual machine managed by Multipass. You instead ensure the computer is on the Internet, then use VNC to access its desktop. There are several vendors making both VNC server and VNC client programs.Ī common case for VNC is when one has installed a computer at a remote site, and to be able to manage that computer without driving to the site. The VNC display protocol runs across the network, and allows a client program (the half that displays the remote desktop) to connect to a VNC server (the half that creates the remote desktop). VNC is a system for remotely accessing desktop GUI sessions from another computer. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |