RDesktop on Fedora Mate Compiz
I installed Fedora Mate Compiz on my desktop machine – but I wanted to also be able to access the desktop remotely using RDP
To do so –
yum -y install xrdp firewall-cmd --permanent --zone=public --add-port=3389/tcp firewall-cmd --reload systemctl start xrdp.service systemctl enable xrdp.service
To prevent the “xrdp could not acquire name on session bus” error message, do the following
For each existing user account
echo "unset SESSION_MANAGER" > ~/.Xclients echo "unset DBUS_SESSION_BUS_ADDRESS" >> ~/.Xclients echo "exec mate-session" >> ~/.Xclients chmod 700 ~/.Xclients
To automatically generate the above settings for all future accounts you may create:
echo "unset SESSION_MANAGER" > /etc/skel/.Xclients echo "unset DBUS_SESSION_BUS_ADDRESS" >> /etc/skel/.Xclients echo "exec mate-session" >> /etc/skel/.Xclients chmod 700 /etc/skel/.Xclients
You are ready to go!
Tested on: Fedora release 31