Skip to content

Instantly share code, notes, and snippets.

@danilobatistaqueiroz
Last active November 27, 2017 01:05
Show Gist options
  • Save danilobatistaqueiroz/dfd6e21bb3fcf803b4eb6d2175eb0c73 to your computer and use it in GitHub Desktop.
Save danilobatistaqueiroz/dfd6e21bb3fcf803b4eb6d2175eb0c73 to your computer and use it in GitHub Desktop.
accessing a fedora workstation from windows 7 with remote desktop

Accessing a Fedora Workstation using Xrdp from Windows 7 with Remote Desktop

I'm using a crossover cable between two computers.

You need to configure the ethernet for both computers.

remote_desktop0

remote_desktop1

remote_desktop2

remote_desktop3

remote_desktop4

remote_desktop5

iplocal

iplocal2


Using xfce on Fedora

In Fedora I'm using xfce, if you haven't installed and want to install:

type on command line:
sudo yum install -y @xfce

If you want xfce by default on your system,
than from dir /usr/share/xsessions move all *.desktop file to another directory and leave only one you need(in this case xfce.desktop)


Installing xrdp on Fedora

sudo dnf -y install xrdp
sudo systemctl start xrdp
sudo systemctl enable xrdp

now enable your firewall to allow RDP port:

sudo firewall-cmd --add-port=3389/tcp --permanent
sudo firewall-cmd --reload


Accessing with Remote Desktop

Now you can use Remote Desktop:

remote_desktop6

remote_desktop7

remote_desktop8


Some tips:

don't close the remote desktop using the 'x' button

always logout, or you'll reach the sessions limit

but you can change the configurations on sesman.ini located in /etc/xrdp
KillDisconnected=true

if you are facing some problem to loging, than take a look at your logs:

logs


links:

Configure Xrdp Server
https://www.server-world.info/en/note?os=Fedora_24&p=desktop&f=7

How to set a default desktop environment at system start
https://superuser.com/a/1177741/783829

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment