Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


remote_desktop_access_for_linux_using_xrdp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
remote_desktop_access_for_linux_using_xrdp [2025/05/02 22:25] juckinsremote_desktop_access_for_linux_using_xrdp [2025/05/03 17:31] (current) juckins
Line 4: Line 4:
  
   * Ensure you have the Xfce Desktop Environment installed and working on the machine you want to access remotely.   * Ensure you have the Xfce Desktop Environment installed and working on the machine you want to access remotely.
-  * 'dnf install xrdp'+    * Consult [[https://docs.rockylinux.org/guides/desktop/xfce_installation/|Xfce install info]] as needed. 
 +  ''dnf install xrdp'
 +  * As root, make a backup copy of ''/etc/xrdp/xrdp.ini'' and then prepare to edit it. 
 +    * You should be able to comment out the Xorg section and just keep the Xvnc active. 
 +    * Modify the ''port=3389'' line to a different number if you don't want to use the default. 
 +    * ''systemctl restart xrdp'' 
 +    * ''systemctl enable xrdp'' 
 +  * Modify firewall to allow xrdp or custom port: 
 +    * ''firewall-cmd %%--%%permanent %%--%%zone=public %%--%%add-port=NNNN/tcp'' 
 +    * ''firewall-cmd %%--%%reload'' 
 +    * Note that if you want to remove a port, use ''%%--%%remove-port'' instead. 
 +  * Modify local router to forward to custom port if needed. 
 +  * Create a file $HOME/.xsession as 700 permissions and the following contents: 
 +    * ''/usr/bin/dbus-launch %%--%%exit-with-session xfce4-session'' 
 +  * Use Microsoft Remote Desktop Connection to test access. 
 +    * Don't forget to append a ":NNNN" for the port number if you are not using the default 3389.
  
  
remote_desktop_access_for_linux_using_xrdp.1746239104.txt.gz · Last modified: 2025/05/02 22:25 by juckins