← Back to Blog

Openshift is back ! trial one

trial one Source > https://rifaterdemsahin.com/2024/03/04/openshift-course-pluralsight/ Why > https://rifaterdemsahin.com/2024/04/09/why-complete-the-openshift-creation/ Remember > Azure Resource Group Creation GPT as the backup now!

Openshift is back ! trial one

Source > https://rifaterdemsahin.com/2024/03/04/openshift-course-pluralsight/

Why > https://rifaterdemsahin.com/2024/04/09/why-complete-the-openshift-creation/

Remember > Azure Resource Group Creation

GPT as the backup now!

openshift is back 1

Host Machine

openshift is back 2

Cleanup

openshift is back 3

it works runs and creates the infra

openshift is back 4

Added the vm password

openshift is back 5

Goal run and create the VM and do the XRDP to the box make an easy ubuntu box that can have XRDP access.

XRDP depends on tools

run and see if it works first

openshift is back 6

Create a manual script first test it than automate it.

Incoming deployments

openshift is back 7

Check the operating system fromImage

openshift is back 8

Check GPT output

To install xrdp on Ubuntu 18.04 LTS, you can follow these steps. These steps should work for most instances of Ubuntu 18.04, including different generations and editions. xrdp is an open-source implementation of the Microsoft Remote Desktop Protocol (RDP) that allows you to control a remote system with a graphical interface.

  • Update your system: Before installing any new software, it's a good practice to update your package lists and your system. Open a terminal and run: sudo apt-get update sudo apt-get upgrade

  • Install xrdp: Install xrdp from the Ubuntu repository. In the terminal, execute: sudo apt-get install xrdp

  • Allow xrdp through the firewall: If you have the UFW firewall enabled, you need to allow xrdp traffic on port 3389. Run the following command: sudo ufw allow 3389/tcp

  • Configure xrdp: In most cases, xrdp works out of the box with the default configuration. However, if you're using a desktop environment other than GNOME or Unity (the default for Ubuntu 18.04), you may need to configure xrdp to use your desktop environment. This typically involves editing the ~/.xsession file or the /etc/xrdp/startwm.sh script to start your desktop environment correctly. For GNOME, you can use: echo "gnome-session" > ~/.xsession

  • Restart xrdp: To apply any configuration changes, restart the xrdp service: sudo systemctl restart xrdp

  • Connect to your Ubuntu system from a remote desktop client: On the computer you want to access Ubuntu from, open a Remote Desktop client and connect to your Ubuntu system by entering its IP address and the credentials of a user on the Ubuntu system.

Remember, if you're using a cloud service or a VM setup, ensure that the network security group or firewall settings allow inbound connections on port 3389. Also, depending on your desktop environment, you might need to adjust step 4 for compatibility.

SSH

openshift is back 9

Validate first

openshift is back 10

Configure

openshift is back 11

Cloud shell connection in 3 minutes

openshift is back 12

Share the journey on Linkedin

openshift is back 13

openshift is back 14

not outside but at least inside it works

openshift is back 15

Implement the chatgpt

openshift is back 16

password is there

openshift is back 17

change user

openshift is back 18

openshift is back 19

openshift is back 20

openshift is back 21

reconnect notting is there

openshift is back 22

Logged ionto different user

openshift is back 23

just rifat is the entra id

openshift is back 24

update works

openshift is back 25

get latest packages

openshift is back 26

sudo apt-get install xrdp -y

Add minus y >>> to auto approve

so many libraries to be loaded

openshift is back 27

check install

openshift is back 28

openshift is back 29

openshift is back 30

openshift is back 31

openshift is back 32

openshift is back 33

openshift is back 34

3389

openshift is back 35

use gpt

openshift is back 36

openshift is back 37

openshift is back 38

check if you can save it

openshift is back 39

check with json lint on syntax errors

openshift is back 40

DElete thenewx action

openshift is back 41

new deployment in

openshift is back 42

still does not connect !

openshift is back 43

destroy before checking out

openshift is back 44

openshift is back 45

it takes time for the deletion

openshift is back 46

GPT left over point > https://chat.openai.com/c/9d59c7d0-dc50-45df-8c18-7149334d5fdb


Imported from rifaterdemsahin.com · 2024