• 🌙 Community Spirit

    Ramadan Mubarak! To honor this month, Crax has paused NSFW categories. Wishing you peace and growth!

Setup (free) RDP on Oracle Cloud (1 Viewer)

Currently reading:
 Setup (free) RDP on Oracle Cloud (1 Viewer)

Recently searched:

Zeka0

Member
LV
0
Joined
Sep 22, 2023
Threads
10
Likes
0
Awards
2
Credits
1,002©
Cash
0$
OCI allows upto 6 cores and 24GB memory for arm based system on free tier accounts.

Here's how you can setup a virtual pc in a few steps
This is assuming you already have an OCI account, have created a virtual machine and ssh'ed in.

1. Firewall Settings :
Add Ingress Rules => Allow TCP Port: 3389

2. Dependencies and Configuration:

Run all of these =>
Bash:
sudo apt update && sudo apt upgrade -y \
sudo apt-get install ubuntu-desktop xrdp stacer -y

Bash:
sudo cp /etc/iptables/rules.v4 /etc/iptables/rules.v4.bak && sudo truncate -s 0 /etc/iptables/rules.v4 \
sudo rm /usr/share/polkit-1/actions/org.freedesktop.color.policy

3. Set a strong password:

Bash:
sudo passwd ubuntu

4. Disable animations for better performance

Bash:
sudo sed -i 's/max_bpp=32/max_bpp=16/g' /etc/xrdp/xrdp.ini && sudo reboot
If for any reason you would return to the full colours being transmitted by XRDP :
Bash:
sudo sed -i 's/max_bpp=16/max_bpp=32/g' /etc/xrdp/xrdp.ini && sudo reboot

5. Set Display variable for SSH terminal

Bash:
echo "export DISPLAY=:10.0" >> ~/.profile && reboot


That's all. Connect to your VM with any RDP client of your choice.

Enjoy ;)
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Tips
Recently searched:

Similar threads

Users who are viewing this thread

Top Bottom