vubuntu/README.md

91 lines
7.6 KiB
Markdown

# **Ubuntu Fluxbox with NoVNC**
[![Ubuntu Version](https://img.shields.io/static/v1?label=Ubuntu&message=20.04&color=E95420&logo=ubuntu)]() [![Maintainer](https://img.shields.io/static/v1?label=Maintainer&message=apoorvvyavahare@pm.me&color=1e90ff)]() [![Inactively Maintained](https://img.shields.io/badge/Maintenance%20Level-Inactively%20Maintained-yellowgreen.svg)]() [![Docker Pulls](https://img.shields.io/docker/pulls/vital987/vubuntu.svg)](https://hub.docker.com/r/vital987/vubuntu) [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)]()<br><a href="https://heroku.com/deploy?template=https://github.com/vital987/vubuntu" target="_blank"><img src="https://www.herokucdn.com/deploy/button.svg"></a><br>[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new/template?template=https%3A%2F%2Fgithub.com%2Fvital987%2Fvubuntu&envs=VNC_PASS%2CVNC_TITLE%2CVNC_RESOLUTION%2CNOVNC_PORT%2CPORT&VNC_PASSDesc=Password+for+VNC+server&VNC_TITLEDesc=VNC+session+title%28strictly+w%2Fo+spaces%29&VNC_RESOLUTIONDesc=VNC+server+resolution&NOVNC_PORTDesc=Don%27t+change+it%21&PORTDesc=Don%27t+change+it%21&VNC_PASSDefault=samplepass&VNC_RESOLUTIONDefault=1280x720&NOVNC_PORTDefault=5900&PORTDefault=80)
## **Table of Contents :**
* [**Packages**](#packages-)
* [**Screenshots**](#screenshots-)
* [**Environment Variables**](#environment-variables-)
* [**Installation**](#installation-)
* [**Warnings**](#warnings-)
* [**Desktop Environments**](#desktop-environments-)
## **Packages :**
* **Browsers :**
* [![Firefox](https://img.shields.io/static/v1?label=Firefox&message=%20&color=orange&logo=firefox-browser)]() [![Brave](https://img.shields.io/static/v1?label=Brave&message=%20&color=fa552a&logo=brave)]()
* **Shells :**
* [![Gnome Terminal](https://img.shields.io/static/v1?label=GnomeTerminal&message=%20&color=green&logo=gnome&logoColor=green)]() [![Terminator](https://img.shields.io/static/v1?label=Terminator&message=%20&color=red&logo=powershell&logoColor=red)]() [![PowerShell](https://img.shields.io/static/v1?label=PowerShell&message=%20&color=5391FE&logo=powershell&logoColor=5391FE)]()
* **Coding :**
* [![VS Code](https://img.shields.io/static/v1?label=VS%20Code&message=%20&color=1e90ff&logo=visual-studio-code&logoColor=1e90ff)]()
* **Text Editors :**
* [![G-Vim](https://img.shields.io/static/v1?label=G-Vim&message=%20&color=brightgreen&logo=vim&logoColor=brightgreen)]() [![G-Edit](https://img.shields.io/static/v1?label=G-Edit&message=%20&color=green&logo=textpattern&logoColor=green)]() [![Sublime](https://img.shields.io/static/v1?label=Sublime%20Text&message=%20&color=orange&logo=sublime-text&logoColor=orange)]()
* **Office Suite :**
* [![LibreOffice](https://img.shields.io/static/v1?label=Libre%20Office&message=%20&color=brightgreen&logo=libreoffice&logoColor=brightgreen)]()
* **Social Apps :**
* [![Telegram](https://img.shields.io/static/v1?label=Telegram&message=%20&color=26A5E4&logo=telegram&logoColor=26A5E4)]()
* **Utilities :**
* [![File Manager](https://img.shields.io/static/v1?label=File%20Manager&message=%20&color=EFF700&logo=files&logoColor=EFF700)]() [![TeamViewer](https://img.shields.io/static/v1?label=TeamViewer&message=%20&color=1e90ff&logo=teamviewer&logoColor=1e90ff)]() [![Calculator](https://img.shields.io/static/v1?label=Calculator&message=%20&color=017A79&logo=craft-cms&logoColor=017A79)]() [![System Monitor](https://img.shields.io/static/v1?label=System%20Monitor&message=%20&color=111324&logo=campaign-monitor&logoColor=111324)]() [![PeaZip](https://img.shields.io/static/v1?label=Ngrok&message=%20&color=1853DB&logo=ngrok&logoColor=1853DB)]() [![PeaZip](https://img.shields.io/static/v1?label=PeaZip&message=%20&color=6300F7&logo=git-lfs&logoColor=6300F7)]()
* **Languages Installed :**
* [![C](https://img.shields.io/static/v1?label=C&message=%20&logo=c)]() [![C++](https://img.shields.io/static/v1?label=C%2b%2b&message=%20&logo=c%2b%2b&logoColor=1e90ff&color=1e90ff)]() [![C Sharp](https://img.shields.io/static/v1?label=C%23&message=%20&logo=c-sharp&logoColor=green&color=green)]() [![Clojure](https://img.shields.io/static/v1?label=Clojure&message=%20&logo=clojure&logoColor=brightgreen&color=brightgreen)]() [![Go](https://img.shields.io/static/v1?label=Go&message=%20&logo=go&logoColor=1e90ff&color=1e90ff)]() [![Java](https://img.shields.io/static/v1?label=Java&message=%20&logo=java&logoColor=f89820&color=f89820)]() [![Lua](https://img.shields.io/static/v1?label=Lua&message=%20&color=blueviolet&logo=lua&logoColor=9638E7)]() [![R](https://img.shields.io/static/v1?label=R&message=%20&logo=r&logoColor=blue&color=blue)]() [![Ruby](https://img.shields.io/static/v1?label=Ruby&message=%20&logo=ruby&logoColor=9b111e&color=9b111e)]() [![Perl](https://img.shields.io/static/v1?label=Perl&message=%20&logo=perl&logoColor=cc99ff&color=cc99ff)]() [![Python](https://img.shields.io/static/v1?label=Python&message=%20&logo=python&color=blue)]()
## **Screenshots :**
<div>
<details open>
<summary>Laptop/Desktop</summary>
<img src="https://raw.githubusercontent.com/vital987/vubuntu/master/assets/desktop_ss1.png" align="center" width=900 height=500><br><br>
<img src="https://raw.githubusercontent.com/vital987/vubuntu/master/assets/desktop_ss2.png" align="center" width=900 height=500><br><br>
<img src="https://raw.githubusercontent.com/vital987/vubuntu/master/assets/desktop_ss3.png" align="center" width=900 height=500><br><br>
<img src="https://raw.githubusercontent.com/vital987/vubuntu/master/assets/desktop_ss4.png" align="center" width=900 height=500>
</details>
<details>
<summary>Smartphone/Tablet</summary>
<img src="https://raw.githubusercontent.com/vital987/vubuntu/master/assets/phone_ss1.png" align="center" width=900 height=500><br><br>
<img src="https://raw.githubusercontent.com/vital987/vubuntu/master/assets/phone_ss2.png" align="center" width=900 height=500><br><br>
<img src="https://raw.githubusercontent.com/vital987/vubuntu/master/assets/phone_ss3.png" align="center" width=900 height=500><br><br>
<img src="https://raw.githubusercontent.com/vital987/vubuntu/master/assets/phone_ss4.png" align="center" width=900 height=500>
</details>
</div>
## **Environment Variables :**
| VNC_PASS | VNC Server Password |
|:-:|:-:|
| VNC_TITLE | VNC Session Title |
| VNC_RESOLUTION | VNC Server Resolution |
| DISPLAY | Display Server Port |
| PORT | NoVNC HTTP Port |
| NGROK_TOKEN | Ngrok Token |
## **Installation :**
* Heroku Users :
* Click on [Deploy Now](https://heroku.com/deploy?template=https://github.com/vital987/vubuntu) button.
* Set app name & variables.
* Deploy.
* Non-Heroku Useers :
* Edit & Run Command :
```
docker run --name vubuntu \
-e VNC_PASS="samplepass" \
-e VNC_TITLE="Ubuntu_Desktop" \
-e VNC_RESOLUTION="1280x720" \
-e DISPLAY=:0 \
-e PORT=9870 \
-d -p 8080:9870 \
vital987/vubuntu
```
[ * ] Add your private ngrok token to ```NGROK_TOKEN``` to get proper Ngrok functionality.
## **Warnings :**
* [ ! ] $VNC_TITLE value should be without spaces.
* [ ! ] $VNC_PASS value should be without spaces.
* [ ! ] The whole project runs as a root user in a docker container.
* [ ! ] 3rd Party Softwares dosen't work with DE on Heroku(Free plan) due to low memory.
## **Desktop Environments :**
* **MATE :**
* Comment line #69 from Dockerfile
* Uncomment line #71, #72, #73 from Dockerfile
* Delete file ***conf.d/4-fluxbox.conf***
* Copy the file ***extras/4-mate.conf*** to ***conf.d/***
* **XFCE :**
* Comment line #69 from Dockerfile
* Uncomment line #75, #76 from Dockerfile
* Delete file ***conf.d/4-fluxbox.conf***
* Copy the file ***extras/4-xfce.conf*** to ***conf.d/***