A step by step guide on how to create a linux server with graphical user interface(GUI) on google cloud platform(GCP).

Terminal Commands:

1. sudo apt update
2. sudo apt upgrade
3. sudo useradd -m -s /bin/bash enteryournamehere
4. sudo passwd enteryournamehere
5. sudo usermod -a -G sudo enteryournamehere
6. su – enteryournamehere
7. sudo su
8. su – enteryournamehere
9. sudo apt install xfce4 xfce4-goodies
10. sudo apt install -y tightvncserver
11. vncserver
12. vncserver -kill :1
13. nano ~/.vnc/xstartup
14. Enter this text inside nano xstartup

#!/bin/bash
xrdb $HOME/.Xresources
startxfce4 &

And save by pressing control key + x

Sites:

1.
2.

Nguồn: https://codeigniterbrasil.com

Xem thêm bài viết khác: https://codeigniterbrasil.com/lap-trinh-linux/

20 Comments

Onur ALKARA

May 22, 2020

I get Unable to load a failsafe session from Ultravnmc and I get maximum clients reached error from vncserver when I check logs. I really would appreciate if someone can advise. Thanks for the video

Reply

Nguyen Duy

May 22, 2020

Really helpful, thanks a lot

Reply

Robert Roman

May 22, 2020

it was all good until the 9 minute mark. I don't know what you did to get out of the nano command

Reply

ultralooter

May 22, 2020

Great job dude!

Reply

Mr. Waste

May 22, 2020

thank you so much for the help, I have been looking around for many hours and finally found the correct video!!!!!!!!!!!

Reply

Zerberus

May 22, 2020

Play this song with 1.5 speed and you have a new Mario Kart theme

Reply

teenstarlets.info

May 22, 2020

How I hate "tutorials" without explanations.

Reply

Alexandru Parvu

May 22, 2020

Go fuck yourself

Reply

suscribete y de ja un gran like a miguel

May 22, 2020

ive tried but it shows me a gray little dots screen, nothing shows to be specific

Reply

rfenomen

May 22, 2020

Thanx man great job

Reply

RajehTXD

May 22, 2020

that is super powerful since i want to manage java servers. trust me they are hard since i am on a debian VM Thanks. For other users, this wouldn't work in putty. You got 1 new subscriber, congratulate yourself!

Reply

Fábio Sousa

May 22, 2020

Brow, you help me a lot, good job! One more subscriber.

Reply

marckferrer

May 22, 2020

Thank you very much for your help!

Reply

Adam I

May 22, 2020

can the same thing be done for installing a Kali linux GUI instead of Ubuntu?

Reply

Tushar verma

May 22, 2020

U deserve like

Reply

White Noise

May 22, 2020

thx

Reply

Abraham Munguia

May 22, 2020

nana

Reply

Mert Erten

May 22, 2020

last steps should be with user you created or gcp user?

Reply

Evgeny Pekerman

May 22, 2020

good job

Reply

RAYAN HAQUE

May 22, 2020

hi

Reply

Leave a Reply