Client-free remote desktop
Window to Windows
You can create other connections by selecting different protocols such as RDP.
Again, head back to Settings | Connections and click the New Connection button. Here, give your connection a name and select RDP from the Protocol pull-down. Scroll down to the Parameters section and enter the hostname or the IP address of the Windows machine you wish to access and enter 3389 in the Port field. And just like before, enter the authentication information for the Windows user you wish to remotely access.
You can now save the details and try connecting to the Windows machine. Depending on the version of Windows you want to access, you might have to take additional steps. First up, in any case, you'll have to enable Remote Desktop Sharing in Windows. For this, switch to the Windows machine and head to Control Panel | System and Security and select the Allow remote access option under the System section. You'll be taken to the Remote tab in the System Properties window, where you need to toggle the Allow remote connections to this computer option.
In Windows 10, the option for only allowing connections from PCs running Remote Desktop with Network Level Authentication is also enabled by default. Make sure you disable this option; otherwise, you'll not be able to connect to your Windows machine from Linux.
Furthermore, to access a Windows 10 machine, I had to toggle the Ignore server certificate option under the Authentication section in the Guacamole settings (Figure 3).
Remote Control
As mentioned earlier, all configured connections are listed in Guacamole's dashboard, along with icons of the most recently accessed ones (Figure 4).

You can double-click a listed connection to launch a remote desktop session. Guacamole includes a hidden onscreen menu that you can bring up with the Ctrl+Alt+Shift key combination (Figure 5). If you are accessing Guacamole from a mobile device, you can bring up the menu by swiping from the left edge of the screen. The menu offers several features such as an on-screen keyboard, clipboard management, screen zoom control, and more.

Click your username in this menu to bring up more options. The Disconnect option will terminate the session, the Home option will take you to the Guacamole dashboard, and the Settings option will take you to the dashboard's Settings window.
The Active Sessions tab in the Settings window lists all sessions that you have exited without first disconnecting them. The sessions are listed in a sortable table along with various details such as the username, the duration of the active session, and more (Figure 6). You can terminate an active session by selecting its corresponding checkbox. After you've selected the sessions you wish to terminate, click the Kill Sessions button to disconnect them.

Sharing Is Caring
While Guacamole offers several options to tweak your remote desktop connections, one of the most essential is file sharing. You can easily transfer files back and forth between your local computer and the remote desktop. Currently, Guacamole supports file transfer for VNC, RDP, and SSH, using either the protocol's native file transfer support or SFTP.
To enable file transfer, bring up the Settings page for one of your remote connections. Scroll down to the SFTP section and toggle the Enable SFTP button (Figure 7). Enter the remote machine's hostname and 22 as the port since you are connecting using the SSH protocol. Finally, enter the authentication information and click the Save button to activate the settings.

You'll now be able to transfer files to the remote machine. You can either drag and drop them inside the browser window or use the file browser located in the Guacamole menu (Figure 8). Navigate the filesystem and then use the Upload Files button to select the file you wish to upload to the remote machine.

Once you have configured and accessed a remote connection, you can explore the various other parameters to tweak the connection per your requirements. Guacamole offers extensive options, and you can refer to its official documentation [6] for more information.
Infos
- Apache Guacamole: https://guacamole.apache.org
- Installing Guacamole from source: https://guacamole.apache.org/doc/gug/installing-guacamole.html
- Installing Guacamole with Docker: https://guacamole.apache.org/doc/gug/guacamole-docker.html
- Ubuntu script: https://github.com/MysticRyuujin/guac-install
- RHEL and CentOS script: https://github.com/Zer0CoolX/guacamole-install-rhel
- Guacamole documentation: https://guacamole.apache.org/doc/gug/
« Previous 1 2
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you've found an article to be beneficial.
News
-
PipeWire 1.0 Officially Released
PipeWire was created to take the place of the oft-troubled PulseAudio and has finally reached the 1.0 status as a major update with plenty of improvements and the usual bug fixes.
-
Rocky Linux 9.3 Available for Download
The latest version of the RHEL alternative is now available and brings back cloud and container images for ppc64le along with plenty of new features and fixes.
-
Ubuntu Budgie Shifts How to Tackle Wayland
Ubuntu Budgie has yet to make the switch to Wayland but with a change in approaches, they're finally on track to making it happen.
-
TUXEDO's New Ultraportable Linux Workstation Released
The TUXEDO Pulse 14 blends portability with power, thanks to the AMD Ryzen 7 7840HS CPU.
-
AlmaLinux Will No Longer Be "Just Another RHEL Clone"
With the release of AlmaLinux 9.3, the distribution will be built entirely from upstream sources.
-
elementary OS 8 Has a Big Surprise in Store
When elementary OS 8 finally arrives, it will not only be based on Ubuntu 24.04 but it will also default to Wayland for better performance and security.
-
OpenELA Releases Enterprise Linux Source Code
With Red Hat restricting the source for RHEL, it was only a matter of time before those who depended on that source struck out on their own.
-
StripedFly Malware Hiding in Plain Sight as a Cryptocurrency Miner
A rather deceptive piece of malware has infected 1 million Windows and Linux hosts since 2017.
-
Experimental Wayland Support Planned for Linux Mint 21.3
As with most Linux distributions, the migration to Wayland is in full force. While some distributions have already made the move, Linux Mint has been a bit slower to do so.
-
Window Maker Live 0.96.0-0 Released
If you're a fan of the Window Maker window manager, there's a new official release of the Linux distribution that champions the old-school user interface.