This details how we can enable remote access into our system from other devices in the same network or externally.
Important
This guide assumes that you are using KDE Plasma as your desktop environment.
This details how we can enable remote access into our system from other devices in the same network via SSH.
-
Set a static IPv4 address:
-
Click the Wi-Fi/Ethernet icon on our taskbar.
-
Click the Settings icon in the Networks panel that says Configure Network Connections....
-
Select the Wi-Fi or Wired Ethernet connection we're using if it's not been selected already.
-
Click the IPv4 tab.
-
Click the Method dropdown and select Manual.
-
In the DNS Servers box, add in our DNS servers of choice (i.e.
1.1.1.1,8.8.8.8
). -
Next to the provided table below, click the Add button.
-
In the Address field, add our desired static IPv4 address (i.e.
192.168.0.25
). -
In the Netmask field, add our home network's Netmask (i.e.
255.255.255.0
). -
In the Gateway field, add our home network's Gateway (i.e.
192.168.0.1
). -
At the bottom right, click the Apply button.
-
Restart our computer and boot back into our desktop.
-
-
Verify that we're now using the new static IPv4 address (assuming it was set to
192.168.0.25
):ip addr | grep 192.168.0.25
Sample result which indicates that we're successfully using the new static IPv4 address:
inet 192.168.0.25/24 brd 192.168.0.255 scope global noprefixroute wlp4s0
-
Ensure that the
openssh
package is installed. If not, install it usingyay
. -
Enable SSH access on our system by starting and enabling the
sshd.service
service. -
Try accessing our system from another device (assuming our user is
deck
and its static IPv4 address is192.168.0.25
): -
If the SSH connection was established successfully, we can also copy the other device's SSH public key to our system in order to enable passwordless access.
Do so from the other device:
ssh-copy-id [email protected]
If you have a specific SSH key you want to use (i.e.
~/.ssh/id_ed25519.pub
), you can specify it with the-i
flag:ssh-copy-id -i ~/.ssh/id_ed25519.pub [email protected]
Warning
This method only works for the X11
graphics platform, and not compatible with Wayland
as of writing.
This details how we can enable remote desktop into our system from other devices via AnyDesk.
-
Install the AnyDesk (
com.anydesk.Anydesk
) app as a Flatpak. -
Once installed, click the Launch button in the top right.
-
In the AnyDesk app, open the General hamburger menu in the top right.
-
Click Settings.
-
Go to the Security section.
-
Check the Enable unattended access option.
-
Click the Set password... button, add a secure password accordingly, and click OK.
-
Close the Settings tab and take note of your system's AnyDesk address under Your Address. You can now remote into your system from other devices using the AnyDesk app using this address and the password you had set.
-
Set the AnyDesk app to autostart each time you boot into the desktop.