Remote access from the outside with DWS Remote Control
Call Home
DWS Remote Control offers convenient browser access to computers outside of your home network.
The use of remote software has grown massively in recent years. Users increasingly experience situations where they need to access the desktop on a remote computer – whether to connect to work from the home office, to help family or friends with computer problems, or to quickly access the home desktop system. Linux offers many possibilities for remote control.
Tools such as Virtual Network Computing (VNC) [1] or Remmina [2], which supports the RDP, Spice, NX, XDMCP, and SSH protocols in addition to VNC, provide access to Linux, macOS, and Windows computers. Chrome Remote Desktop is available for users of Google's Chrome browser. In the commercial world, TeamViewer and AnyDesk are the kings of the hill. However, they are increasingly seeing competition from the fledgling open source tool, RustDesk [3]. Another free, but little known, application for remote access is provided by the Italian company DWService.
Agents at Work
DWS Remote Control, as the service is called, requires you to install an agent as a client on the target computer. You can then access it in any web browser from the source computer. You first need to register on the DWService [4] website. After doing so, proceed to download the agent, which is available for Linux, macOS, Windows, ARM, and Android [5]. DWS Remote Control is released under open source licenses, and the source code is open [6].
As the first step after registering and logging in to the DWService website, click Agents (Figure 1). You will then be prompted to enter a name and description of the computer you want to control remotely. After confirming, you will receive a code required to install the agent on the computer to be controlled.
During the agent download, DWService tells you that it does not store any data and the connection is encrypted. The package is stored as dwagent.sh
on your machine. First, make the script executable using
chmod +x dwagent.sh
and then trigger the installation with sh dwagent.sh
.
Graphical Approach
The next steps take place in the GUI. In the first window, you have the choice of installing the agent permanently or activating it for one session only. If you want to install permanently, start the script with sudo
. If you decide to use it for only one session, the next window will provide the information you need to access the remote computer on the source computer on the DWService website. After entering the information, the other end needs to allow access unless Unattended access was selected when the session was initialized. You can also set a password for this.
For a permanent installation, enter the agent code previously shown on the web page during setup and then continue on the Agents tab of the web page by clicking Online. After accessing the remote computer, however, you will not see the desktop as a mirror image of the remote computer. Instead, you'll be presented with a screen with six buttons: Files and Folders, Text editor, Log watch, Resources, Screen, and Shell (Figure 2).
I tested DWS Remote Control with Debian 11, Ubuntu 22.04, and Fedora 37. With Ubuntu and Fedora, when I tried to access the target computer's interface directly via the Screen button, I got a message that the software does not support Wayland. To use DWS Remote Control with distributions that launch a Wayland session by default, you need to take a small detour, which the "DWS Remote Control on Wayland" box explains.
DWS Remote Control on Wayland
Currently, to access the target computer's screen directly with DWS Remote Control on Wayland, you need to edit a file on the target computer. After the connection is established, click the Files and Folders button and navigate to the /etc/gdm3/
folder. Right-click the custom.conf
file there and select the Open option. After another right-click, select Open for and then Text editing. Look for the #WaylandEnable=false
line in the file and remove the hashtag at the start of the line. Then save the file using the floppy disk icon in the menubar at the top. After rebooting the source computer, DWS Remote Control now also offers a 1:1 view on Wayland.
Different Operating Principle
DWS Remote Control uses an abstraction to represent the remote filesystem. Each remote desktop can be controlled in the same way. Only one of the buttons directly shows you the remote desktop.
The first button labeled Files and Folders takes you to a screen that maps the remote computer's filesystem. You can browse the directories and perform file operations such as create, delete, copy, cut, and paste. You also can upload and download data.
Text editor (Figure 3) takes you to a full-featured editor that lets you create new files and edit existing ones. Log watch lets you browse logs and monitor them in real time. A click on Resources reveals some information about the hardware as well as the running processes and services (Figure 4).
Screen (Figure 5) takes you to a 1:1 view of the remote computer. If you work in this view, the user on the remote computer can follow what is happening. However, you can disable the other person's mouse and keyboard. In addition, you can scale the screen, switch to full-screen mode, and select keyboard shortcuts to share.
Shell takes you to a terminal emulation where you can run commands on the remote computer. You can switch between the individual categories using the button top left (a nine-square grid). Once opened, all categories remain open as tabs.
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
-
AlmaLinux 10.0 Beta Released
The AlmaLinux OS Foundation has announced the availability of AlmaLinux 10.0 Beta ("Purple Lion") for all supported devices with significant changes.
-
Gnome 47.2 Now Available
Gnome 47.2 is now available for general use but don't expect much in the way of newness, as this is all about improvements and bug fixes.
-
Latest Cinnamon Desktop Releases with a Bold New Look
Just in time for the holidays, the developer of the Cinnamon desktop has shipped a new release to help spice up your eggnog with new features and a new look.
-
Armbian 24.11 Released with Expanded Hardware Support
If you've been waiting for Armbian to support OrangePi 5 Max and Radxa ROCK 5B+, the wait is over.
-
SUSE Renames Several Products for Better Name Recognition
SUSE has been a very powerful player in the European market, but it knows it must branch out to gain serious traction. Will a name change do the trick?
-
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.