Google Cloud Platform

Asked 2 years ago, Updated 2 years ago, 99 views

Is there anyone who installed Linuxgui on Google Cloud platform? I did up to linux vm, but the gui installation was blocked.

google-cloud-platform linux

2022-09-21 20:12

2 Answers

Which Linux distribution do you use?

What Windows Manager or desktop environment do you want to use?

Linux is not a single environment like Windows or Mac. And we need a virtual x server program because we need to use it remotely.

I don't think using cloud usually requires gui to use os as a server, but...For what reason?


2022-09-21 20:12

I don't understand why Gui is needed to code, but I will understand that a desktop environment is essential.

Installing a desktop environment in Ubuntu is simple.

The problem is that you have to choose, but a light environment would be better.

The recommended desktop environment is xfce4 and gtk based.

You can install it as below.

sudo apt install xfce4

Execution is a problem, but a terminal such as putty is not an x virtual server, so it does not run.

The recommended terminal program is mobaxterm (https://mobaxterm.mobatek.net/. The home edition is available for free, but I don't know if the military is included in the scope of the house because the license policy in the site is not detailed. Please check the license part.

If you are installing a separate x virtual server program without using mobaxterm, you must set environment variables such as export DISPLAY=127.0.0.1:0.

In the case of mobaxterm, since it has its own DISPLAY setting and x server built-in, connect to ssh and run it with the xfce4-session command to display the destination-top environment.

But in order to run a specific idea, you don't have to run the desktop environment yourself (xfce4-session required), you just have to run the program you want to run right away.

If you're uncomfortable with this or that, choose Windows instead of Linux.


2022-09-21 20:12

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.