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
-
ESET Discovers New Linux Malware
WolfsBane is an all-in-one malware that has hit the Linux operating system and includes a dropper, a launcher, and a backdoor.
-
New Linux Kernel Patch Allows Forcing a CPU Mitigation
Even when CPU mitigations can consume precious CPU cycles, it might not be a bad idea to allow users to enable them, even if your machine isn't vulnerable.
-
Red Hat Enterprise Linux 9.5 Released
Notify your friends, loved ones, and colleagues that the latest version of RHEL is available with plenty of enhancements.
-
Linux Sees Massive Performance Increase from a Single Line of Code
With one line of code, Intel was able to increase the performance of the Linux kernel by 4,000 percent.
-
Fedora KDE Approved as an Official Spin
If you prefer the Plasma desktop environment and the Fedora distribution, you're in luck because there's now an official spin that is listed on the same level as the Fedora Workstation edition.
-
New Steam Client Ups the Ante for Linux
The latest release from Steam has some pretty cool tricks up its sleeve.
-
Gnome OS Transitioning Toward a General-Purpose Distro
If you're looking for the perfectly vanilla take on the Gnome desktop, Gnome OS might be for you.
-
Fedora 41 Released with New Features
If you're a Fedora fan or just looking for a Linux distribution to help you migrate from Windows, Fedora 41 might be just the ticket.
-
AlmaLinux OS Kitten 10 Gives Power Users a Sneak Preview
If you're looking to kick the tires of AlmaLinux's upstream version, the developers have a purrfect solution.
-
Gnome 47.1 Released with a Few Fixes
The latest release of the Gnome desktop is all about fixing a few nagging issues and not about bringing new features into the mix.