manual, sysadmins, gui
This commit is contained in:
parent
f0683c7c46
commit
bd835ef00b
@ -36,20 +36,20 @@ If you are new to the Threefold ecosystem and you want to deploy workloads on th
|
|||||||
```
|
```
|
||||||
* Once connected, update, upgrade and install the desktop environment
|
* Once connected, update, upgrade and install the desktop environment
|
||||||
* Update
|
* Update
|
||||||
```
|
```
|
||||||
sudo apt update -y && sudo apt upgrade -y
|
sudo apt update -y && sudo apt upgrade -y
|
||||||
```
|
```
|
||||||
* Install a light-weight desktop environment (Xfce)
|
* Install a light-weight desktop environment (Xfce)
|
||||||
```
|
```
|
||||||
sudo apt install xfce4 xfce4-goodies -y
|
sudo apt install xfce4 xfce4-goodies -y
|
||||||
```
|
```
|
||||||
* Create a user with root access
|
* Create a user with root access
|
||||||
```
|
```
|
||||||
adduser newuser
|
adduser newuser
|
||||||
```
|
```
|
||||||
```
|
```
|
||||||
ls /home
|
ls /home
|
||||||
```
|
```
|
||||||
* You should see the newuser directory
|
* You should see the newuser directory
|
||||||
* Give sudo capacity to newuser
|
* Give sudo capacity to newuser
|
||||||
```
|
```
|
||||||
@ -67,13 +67,13 @@ If you are new to the Threefold ecosystem and you want to deploy workloads on th
|
|||||||
```
|
```
|
||||||
* add authorized public key in file and save
|
* add authorized public key in file and save
|
||||||
* Exit the VM and reconnect with new user
|
* Exit the VM and reconnect with new user
|
||||||
```
|
```
|
||||||
exit
|
exit
|
||||||
```
|
```
|
||||||
* Reconnect to the VM terminal and install XRDP
|
* Reconnect to the VM terminal and install XRDP
|
||||||
```
|
```
|
||||||
ssh newuser@VM_IPv4_address
|
ssh newuser@VM_IPv4_address
|
||||||
```
|
```
|
||||||
* Install XRDP
|
* Install XRDP
|
||||||
```
|
```
|
||||||
sudo apt install xrdp -y
|
sudo apt install xrdp -y
|
||||||
@ -83,9 +83,9 @@ If you are new to the Threefold ecosystem and you want to deploy workloads on th
|
|||||||
sudo systemctl status xrdp
|
sudo systemctl status xrdp
|
||||||
```
|
```
|
||||||
* If not running, run manually:
|
* If not running, run manually:
|
||||||
```
|
```
|
||||||
sudo systemctl start xrdp
|
sudo systemctl start xrdp
|
||||||
```
|
```
|
||||||
* If needed, configure xrdp (optional)
|
* If needed, configure xrdp (optional)
|
||||||
```
|
```
|
||||||
sudo nano /etc/xrdp/xrdp.ini
|
sudo nano /etc/xrdp/xrdp.ini
|
||||||
@ -93,9 +93,9 @@ If you are new to the Threefold ecosystem and you want to deploy workloads on th
|
|||||||
* Create a session with root-access user
|
* Create a session with root-access user
|
||||||
Move to home directory
|
Move to home directory
|
||||||
* Go to home directory of root-access user
|
* Go to home directory of root-access user
|
||||||
```
|
```
|
||||||
cd ~
|
cd ~
|
||||||
```
|
```
|
||||||
* Create session
|
* Create session
|
||||||
```
|
```
|
||||||
echo "xfce4-session" | tee .xsession
|
echo "xfce4-session" | tee .xsession
|
||||||
@ -107,9 +107,9 @@ Move to home directory
|
|||||||
|
|
||||||
* Find your local computer IP address
|
* Find your local computer IP address
|
||||||
* On your local computer terminal, write
|
* On your local computer terminal, write
|
||||||
```
|
```
|
||||||
curl ifconfig.me
|
curl ifconfig.me
|
||||||
```
|
```
|
||||||
|
|
||||||
* On the VM terminal, allow client computer port to the firewall (ufw)
|
* On the VM terminal, allow client computer port to the firewall (ufw)
|
||||||
```
|
```
|
||||||
@ -124,16 +124,16 @@ Move to home directory
|
|||||||
sudo ufw status
|
sudo ufw status
|
||||||
```
|
```
|
||||||
* If not active, do the following:
|
* If not active, do the following:
|
||||||
```
|
```
|
||||||
sudo ufw disable
|
sudo ufw disable
|
||||||
```
|
```
|
||||||
```
|
```
|
||||||
sudo ufw enable
|
sudo ufw enable
|
||||||
```
|
```
|
||||||
* Then the ufw status should show changes
|
* Then the ufw status should show changes
|
||||||
```
|
```
|
||||||
sudo ufw status
|
sudo ufw status
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Client Side: Install Remote Desktop Connection for Windows, MAC or Linux
|
## Client Side: Install Remote Desktop Connection for Windows, MAC or Linux
|
||||||
@ -149,7 +149,7 @@ Simply download the app, open it and write the IPv4 address of the VM. You then
|
|||||||
* [Remote Desktop Connection app](https://apps.microsoft.com/store/detail/microsoft-remote-desktop/9WZDNCRFJ3PS?hl=en-ca&gl=ca&rtc=1)
|
* [Remote Desktop Connection app](https://apps.microsoft.com/store/detail/microsoft-remote-desktop/9WZDNCRFJ3PS?hl=en-ca&gl=ca&rtc=1)
|
||||||
* MAC
|
* MAC
|
||||||
* Download in app store
|
* Download in app store
|
||||||
* [Microsoft Remote Desktop Connection app](https://apps.apple.com/ca/app/microsoft-remote-desktop/id1295203466?mt=12)
|
* [Microsoft Remote Desktop Connection app](https://apps.apple.com/ca/app/microsoft-remote-desktop/id1295203466?mt=12)
|
||||||
* Linux
|
* Linux
|
||||||
* [Remmina RDP Client](https://remmina.org/)
|
* [Remmina RDP Client](https://remmina.org/)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user