May 01, 2024

Remote Desktop to Ubuntu Server

Ubuntu Desktop requires downloading about 500 MB of packages and an additional 2 GB of disk space. If that's too much, you can install a more lightweight desktop environment called Xfce. It's just 45 MB of packages that use an extra 175 MB of space. Install it like this:

sudo apt-get install -y tightvncserver xrdp ubuntu-desktop m17n-db ibus-m17n

_____

1) You may need to change the ubuntu password if using ec2 instance.

echo 'ubuntu:india' | sudo chpasswd 

2) The second step is to change PasswordAuthentication to "yes" in the file /etc/ssh/sshd_config

3) avoid security error

sudo adduser xrdp ssl-cert

4) disable screen lock and suspend

gsettings set org.gnome.desktop.session idle-delay 0

systemctl mask suspend.target

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.