How to Create an Ubuntu 22.04 VPS with GUI Desktop on Contabo using RDP - Step-by-Step Tutorial
Vložit
- čas přidán 31. 07. 2024
- In this video I show you step-by-step how you can create a very secure Ubuntu 22.04 VPS with Desktop , from scratch, and accecces it by the windows 10 remote desktop connection via RDP and by installing XRDP . And as an optional bonus, how to link it to Google Drive Online Account
Contabo Link : cloudtechlinks.com/V23-Contab...
==========================================================
Please feel free to include any of my videos on any websites, you may have, and please keep any addition income you may for yourself, selling adverts for those pages etcetera. All I am interested in, this just being my hobby, is that people watch the videos, and any chance I get to improve that, the better.
==========================================================
If you are looking for a particular video try,
1) Channel : cloudtechlinks.com/YTChannel
2) then : cloudtechlinks.com/All-Videos
======================================================
Build Ubuntu 22.04 with Desktop via Putty SSH Client Commands
-----------------------------------------------------------------------------
01) adduser xrdpuser (password example : paste se7ye8pc5gh8 )
02) usermod -aG sudo,adm xrdpuser && su xrdpuser
03) sudo apt-get update && sudo apt-get upgrade -y
04) sudo apt-get install ubuntu-desktop firefox stacer mmv -y
05) Optional - sudo snap install snap-store
06) cd ~ && wget ht tps://www.c-nergy.be/downloads/xRDP/xrdp-installer-1.4.zip
(please remove the spaces in https)
07) unzip xrdp-installer-1.4.zip && less xrdp-installer-1.4.sh (press q to quit viewer)
08) chmod +x xrdp-installer-1.4.sh && ./xrdp-installer-1.4.sh (P1, P2, P3, P4, P6
09) sudo sed -i 's/3389/53579/g' /etc/xrdp/xrdp.ini
10) sudo sed -i 's/#Port 22/Port 53572/g' /etc/ssh/sshd_config
11) sudo ufw allow 53572 && sudo ufw allow 53579 && sudo ufw enable && sudo ufw status numbered
12) sudo reboot
reconnect via SSH port 53572 using xrdpuser
13) sudo passwd --delete --lock root
14) sudo reboot
PLEASE NOTE : Since making this video, there are a couple of settings that I have found that speed up the responsiveness of this Videos Ubuntu VPS noticeably. The Video explaining what they are is only abound 4 minutes long, and can be found here : cloudtechlinks.com/How-to-Spe...
Connect via The Remote Dektop Connection (RDP) port 53579
Configuration
1) ASAP - On desktop, disable all lock screen settings - on privacy options
Optional - If Google Drive Wanted
1) In the Terminal Application :
a) cd /etc/netplan && sudo mmv '*.yaml' '#1.moved-for-youtube' && ls -la
b) sudo wget ht tps://cloudtechlinks.com/V23-cloudtech-dot-yaml --output-document=v23-cloudtech.yaml && ls -la && cat v23-cloudtech.yaml
c) sudo reboot
i) Show how to get a free Google Account
ii) Connect to Google Drive Online account :ycloudtech@gmail.com
cloudtech11Q
d) cd /etc/netplan && sudo rm v23-cloudtech.yaml && sudo mmv '*.moved-for-youtube' '#1.yaml' && ls -la
e) sudo reboot
Connecting via RDP from MacOS : • How to Use Microsoft R...
Connecting via RDP from Chromebook : • Remote App Chromebook ...
Connecting via RDP from Linux : opensource.com/article/18/6/l...
Video describing how to create a brand new Google Drive Account (if needed) :
• How to Create Google A...
Chapters
-------------
0:00 The Video Purpose
1:46 CloudTech CZcams Intro
1:56 The Ubuntu 22.04 VPS purchase Process
5:15 Build Ubuntu 22.04 with Desktop via Putty SSH Client
13:24 Run Remote Desktop Connection (RDP) to Connect to Ubuntu 22.04 VPS
15:38 Configure the Ubuntu 22.04 VPS
16:38 Enable all Online Accounts including Google Drive on Ubuntu 22.04
21:29 CZcams End Card Scene
Transcript : The Ubuntu 22.04 Result
-------------------------------------------------
In this video i will show you how you can get a cloud virtual server running ubuntu 22.04 with a desktop. The VPS has 4 CPUs and 8 gigabytes of memory and costs less than 10 dollars a month.
We will connect to it using remote desktop connection which comes preinstalled on all windows PC’s and means can be accessed from any pc in the world.
Which allows me to learn more about this latest version of Ubuntu , over 20.04, which is the previous long term support version.
And optionally, as a bonus at the end of the video, i will also show you how to connect to google drive, ensuring any work you do on the machine can be easily backed up to the cloud. - Věda a technologie
Man, after 1 year, your video was the only one that helped me, I send a shout out to Brazil
Excellent video, I have zero experience with any VPS and your video helped understand EVERYTHING I needed. Greatest video I could find, thanks :)
Great to hear!
One of the best detailed tuts out there. Thank you!
You're very welcome!
The best tutorial for setting up Ubuntu. Simple, clear, works. Excellent work! Thanks.
Thank you. One of the first examples that worked for me. I followed every step and even used Contabo! Only issue I had on my host (also Ubuntu) is I had to repeat the ufw allow rules or my rdp wouldn't connect.
I have no words. Thanks many, many times for what you did. Just perfect!
i tried different tutorial on youtube. ONLY YOURS WORK. MANY MANY THANKS BROTHER !
Glad I could help
One of the best tutorial. Thanks for the video.
THE BEST! Thank you for the excellent tutorial
Thank You - this is a Worldclass Video
You sir, are a living legend. Thanks!
No problem!
Thanks buddy - this was soooo helpful 😎
Awesome, it work for me !!!!
you save me a lot of time, many thank,
i was new in ubuntu and i spend many hours to try install xrdp and ubuntu-desktop on vps and left bar still not work, your tutorial is great
Glad it helped
thank u soo much for this guide. subbed!
Thank you very much! Extremely clear helpful video.
Glad it helped!
Thank you sooooooooo much, it's veeeeery helpful ❤❤❤❤
thanks mate! works very well
awesome video , thanks man
Thank you for this great tutorial.
You're very welcome!
Great tutorial!
I installed it successfully & can log in using RDP
I have an issue with the speed accessing my remote server
it takes a lot of time to access any file or open browser in my remote server though my ISP connection is too fast
Thanks
Thank You a lot very good tuto
appreciate your efforts
Really thanks!!
Really really really thanks
Awesome!!
Thanks for posting this. I would have prefered chrome instead of firefox, but maybe that is not possible. THis is like a foreign language, so thanks for the help. I am only half way through, so not even sure this will even work in the end. Thanks again.
THE BEST! Thank you for the excellent tutorial!! Question: I use a Mac, but I did not want to download and use microsoft RDP to connect to VPS because I thought it required port 3389 to remain open while it's in use. Does changing the ports as you did in this video solve this problem? Or will port 3389 (and 22??) still be open by using Microsoft RDP to connect my mac to the VPS? (apologies if this is a stupid question, I'm a tech noob)
thanks its work fine.
i am a computer dummy, but whit this video, i got my ubuntu server Running like a charm, Thakn you, brother
I've exatcly follwed the steps but the problems mentioned at 8:36 won't be fixed for me. Activities bar stay hidden and appears at bottom, Firefox won't show up :-/
for anyone asking... the videos works, you just gotta follow step by step. IMPORTANT: you must do it with an Contabo VPS; I've tried in many different VPS from other companies and it didnt work. FYI.
AMAZING THANKYOU HELO ME SO MOUCH !!!! THANKS!
No problem!!
@Cloud Tech
How can we get the sound from this system?
Googeled and no standard worked at the end. The system allways showes a dummy sound output in the options.
It would be super helpe full to have a solution aka video about that.
hello
Dear when using "" cd /etc/netplan && sudo mmv '*.yaml' '#1.moved-for-youtube' && ls -la "" it gives an error that "" sudo: mmv: command not found "" Plz help
Great video and tips. Worked great for me.
* 1 issue though -- periodic software updates requires the PC to reboot, which I do from the VPS. After that I'm locked out and cannot access RDC or even get the login screen to appear in putty with root or xrdpuser. Is there a workaround for this?
It didn't work for me. I still can't connect. It seems that there are option son the VPS that need to be edited in order to allow me to connect apparently? idk I keep getting errors like codex 0x1104 and also the three reasons why it might not be connecting
Did you found a solution? I'm also getting an error when trying to enter via Remote Desktop (Because of a protocol error detected at the client (code 0x1104), this session will be disconnected.)
I get the error "cannot load the kernel" when I try to launch/install Ubuntu 22.04 or some such nonsense. I googled it but I do not find a way to understand how to fix this.
an excellent explanation, thank you. For now I got stuck with the Google online account part. The cloudlink appears to be lost? If someone recently found out how to correct I would appreciate your help!
greeet , thanks
Welcome!
i am using macbook, do i need to download this putty software?
hi thank you for the tut but i m facing an error when connecting with rdp.
"Because of a protocol error detected the client (code 0x1104) this session will be disconnected"
pls any help ?
can you install wine and or bottle over this contabo ubuntu server?
hello i just bought the vps is there a way to delete my credit card details as i don't want it to auto renew after ending please respond
🙌
i get an xrdp login screen with teal background when connecting via remote connection on windows, after entering my password the screen changes to black and after that nothing happens
Yes, me too
Thanks for sharing!
friend, can you tell me if it is possible to install Blender and render on the Oracle Free Tier ARM 4CPU 24GB RAM plan, watching your tutorial I had this idea of using the oracle virtual machine to render in blender! That would be insane! Can we do this?
Please answer me!
Bro i can do this is live streamings for 24/ 7 hours. Pleasse help ma
nice
After step 12 I am not able to login it says "Network error Connection failed" , now how can I login back?
Hi ,sorry if it is a stupid question. If I do this, will I be able to run extensions on browsers I install on this machine, 24/7? Without having my own pc on? If so, how can I leave the desktop app without closing the session?
great video. Thanks. But what can i do if my RDP is taking too long to load the VPS Ubuntu?
I have a Protocol error in connecting to server
Best tut ever thank you!!!
Is it possible to use vpn as client on this setup? If yes, how?
many thanks
You're welcome!
@@cloud-tech thanks for the reply, my RDP is still running fine until now.
just perfect thank you
At step 8 I press 1 for ubuntu but get:
Script launched with sudo command. Script will not run... !
! Run script a standard user account (no sudo). When needed !
! script will be prompted for password during execution !
! !
! Exiting Script - No Install Performed !!!
Does this command work for all Ubuntu VPs or this particular site VPs?
can you do me vps i dont have pc
does anyone have sound working properly?
how do i input the password the keyboard doesn't work when i try to type
Thanks for the vid. How about installing all this using a Mac? Would you use the Mac Terminal? Could you please make a video about this!
have you learned anything regarding this i also have a mac...
@@Defi_OwLL It must be a great video for Windows user. Unfortunatly, I did not resolve my problem on a mac.
can you add tutorial how make Seedbox using Rutorrent
why my ubuntu server is so lag cant even click the icon or cant even move the mouse
it worked 100% thank you, but its very slow what ever im doing i need to wait a couple of seconds, any help?
Did you manage to find a solution for this?
When I click Connect in Remote Desktop Connection, I encounter the following error:
"The connection to the remote computer has been terminated due to a communication protocol error detected at the client (error code 0x1104). Please try to reconnect to the remote computer."
[Expanded Information]
Error code: 0x1104
Extended error code: 0x0
Has anyone else experienced the same issue as me?
Does this manual still work? I'm stuck on the command: "chmod +x xrdp-installer-1.4.sh && ./xrdp-installer-1.4.sh"
I do everything as in the video and when I paste this command it pops up an error:
"Detecting xserver-xorg-core package installed
Error checking xserver-xorg-core flavour"
Okay.. all you had to do was update. "sudo apt update && sudo apt upgrade
"
It works 100%, but on my windows the RDP is very slow? Is there any option to speed this up, i set it to 10MB or higher. But i have to wait seconds to go. Hope there is an option. Is there also an option to connnect form Cortabo with VNC directly to the desktop gnome?
Did you manage to find a solution for this?
same issue here, RDP is very slow
How do you unlock the root user?
i got daemons using outdated libraries, i just canceled and after doing everything i sudo reboot but black screen and timeout
after rebooting at each step, ,it's the step 10 which makes thing not working. unfortunately it doesn't work either when connecting with port 22 i have error 0x1104 as some others here
Hi, I followed your tutorials one by one but my ubuntu is still missing the left sidebar. How do I fix this?
Did you manage to fix this?
@@mixedmeds nope
but I can't see command bcz subtitle is block all your command line
Greate videos. Do you think you could make a contabo windows 10 ltsc isntallation or windows 11?
The licensing for Window 10 and Windows 11 is quite restrictive and complex. In fact you will probably have noticed even for Windows server i stick to the freely available Evaluation versions, that Microsoft allow you to download freely from their website, and even then only look at deploying them to VPS providers that sell full copies of windows server so you can always upgrade to them if you need to. Plus it ensures that their infrastructure deals fully with windows server. That way I always aim to stay within any licensing complications from BOTH Microsoft and any VPS provider. In the early days of this channel i did show you how to build & deploy both Windows 10 and Windows 11 but i removed those videos when i found out they may infringe the licensing for those products. ==========================================================
## If you are looking for a particular video try,
## 1) Channel : cloudtechlinks.com/YTChannel
## 2) then : cloudtechlinks.com/All-Videos
======================================================
I am trying to connect using RDP from my mac but I am unable to RDP connect. I've tried switching gateway and all but I think it has something to do with the port. I added the port in the same format as the video but not sure if its the same for macs. please advise if you can.
IT WORKED! I deleted the entry and readded it and it worked!!! ( on RDP ) amazing!!
what entry did you delete?@@juanmayen21
Thank you Thank you Thank you Thank you Thank you Thank you , I cant say that enough!!!
How next time please don't add any background music, it's very annoying, just a suggestion tho. Have a great day friend!
It says Network error: Connection timed out, once i try to connect thru Putty with the xrdpuser@(myip) and the new port... any idea?
same
i dont know if you need ubuntu for an specific reason, but im just using contabo servers, cheap and effective. windows tho, less than $15 a month@@bitj4ke
Good job, but how do you fix the ubuntu 22.04 sound dummy output device?
Use -s in -> chmod +x xrdp-installer-1.4.8.sh && ./xrdp-installer-1.4.8.sh -s
This does not work for ubuntu 18.04 - I get a black screen as always.
This one is actually really good to follow as im not a experienced linux user yet, BUT the side menu is still not there and i see it like you explained in the video with the menu bar in the bottom and actions in the top. is there a way to fix this after the setup?
Did you find a solution?
@@mixedmeds i just installed windows 11 theme instead. best solution i could figure out on my own.
@@marvelett I installed windows 10 instead of ubuntu. Was easier to setup than this
@@mixedmeds ok. as long as you found something that works =)
Your videos are great, thank you! But do something about your sound mix bro. Blasting the music between speaking is brutal. Just some friendly feedback.
Yeah, tweak the "ducking.."
Noted!
Script launched with sudo command. Script will not run... !
! Run script a standard user account (no sudo). When needed !
! script will be prompted for password during execution !
! !
! Exiting Script - No Install Performed !!!
What su passwd sir?
Everything was going fine until I ran the commands for Google Drive. Now putty gives a fatal error: Network error: connection timed out. How can I fix this? (Does it matter, I ran the commands from the Ubuntu terminal via RDP?)
Oh, and I combined the instructions from this video with the video about Oracle's free tier
The Oracle vid was ARM Ampare based, this vid is x86 architecture - mixing imsnructions from each may not work.
Follow these steps to enable Online Accounts.
Write in the Ubuntu Desktop terminal:
01. cd /etc/netplan
02. ls
03. cat 50-cloud-init.yaml
04. Copy all text
05. sudo nano /etc/netplan/99-custom-network.yaml
06. Paste all text
07. In the last line, press Enter to add a new line
08. Write in the new line -> renderer: NetworkManager
09. To save -> Ctrl+O
10. To confirm -> Enter
11. To exit editor -> Ctrl+X
12. To recheck -> cat /etc/netplan/99-custom-network.yaml
13. sudo netplan apply
14. sudo reboot
Voila!
connection refused error
error code 0x1104 appear in conecting to server
Same here
WHY IS THE MUSIC SO LOUD?!??!!
Followed all steps, didn't get the sidebar or the new icons. I am also unable to connect to the GUI using vnc, only rdp. So this guide is complete trash
Worked perfectly for me.
music too loud
Not sure what I'm doing wrong but it's not working. GG
Remove background:
gsettings set org.gnome.desktop.background picture-uri none
gsettings set org.gnome.desktop.background primary-color '#000000'
gsettings set org.gnome.desktop.background color-shading-type 'solid'
This is extremely slow if you install this on a d4asv5 vm in azure using their Ubuntu 22 server image. It's pretty much unusable. :/ Wish I knew a way to really speed this up. This vm can run windows server fast.
if you have error at 06 set chmod +x xrdp-installer-1.4.sh && ./xrdp-installer-1.4.sh P1 P2 P3 P4 P6
thanks