Skip to content

Install full-control a browser google chrome on Linux server (VPS) via Kasm Workspaces (Kasmweb Chrome)

Notifications You must be signed in to change notification settings

arcxteam/Chrome-Linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Setup Full-Control a Browser Google Chrome on Linux (VPS Server) with KasmVNC Workspaces

Note

KasmVNC is a modern open source VNC server. Enhanced security, higher compression, smoother encoding... all in a web-based client. Connect to your Linux server's desktop from any web browser. No client software install required. For more information features https://kasmweb.com/kasmvnc

System Requirements

VPS Linux Docker Chrome

  • OS: Ubuntu 20→24 LTS or Debian 10+
  • RAM: Minimum 1→2GB (good 4GB+)
  • CPU: 2→4+ cores
  • Storage: 2→5GB free space
  • Network: Open port 6901 (access web browser)

System Update & Essential Tools

sudo apt update && sudo apt upgrade -y \
sudo apt -qy install curl git nano jq lz4 build-essential screen ufw

Install Docker & Docker Compose → "if not yet"

curl -sSL https://raw.githubusercontent.com/arcxteam/succinct-prover/refs/heads/main/docker.sh | sudo bash

Required Firewall Port

sudo ufw allow 22
sudo ufw allow ssh
sudo ufw allow 6901/tcp
sudo ufw enable
sudo ufw status verbose

Quick Install

Method 1: EDIT first YOUR_PASSWORD

curl -s https://raw.githubusercontent.com/arcxteam/Chrome-Linux/refs/heads/main/Setup-Kasmweb-Chrome.sh | bash -s "YOUR_PASSWORD"

Method 2: EDIT first YOUR_PASSWORD

export KASM_PASSWORD="YOUR_PASSWORD"
curl -s https://raw.githubusercontent.com/arcxteam/Chrome-Linux/refs/heads/main/Setup-Kasmweb-Chrome.sh | bash

Manual Installation

If you prefer to run manually:

# Create directory
mkdir -p ~/kasm-chrome
cd ~/kasm-chrome

# Create docker-compose.yml
cat > docker-compose.yml << EOF
services:
  chrome:
    image: kasmweb/chrome:1.17.0
    container_name: kasm-chrome
    environment:
      - VNC_PW=your_password
    ports:
      - "6901:6901"
    shm_size: 2g # can setup
    restart: unless-stopped
    volumes:
      - ./downloads:/home/kasm-user/Downloads
EOF

# Start service
docker compose up -d

Access Your Browser

After installation completes, you'll see output like:


✔ Chrome browser is running!

🌐 Access your browser at:
   https://YOUR_SERVER_IP:6901

🔐 Login credentials:
   User: kasm_user
   Password: your_password

Steps to Access:

Get → IP Address Server

curl ifconfig.me && echo
  1. Open URL: Navigate to → https://YOUR_SERVER_IP:6901
  2. Accept SSL Certificate: Click AdvancedProceed to site
  3. Login:
    • Username: kasm_userdefault
    • Password: passwordyour custom password
  4. Bookmark your tab

Management Commands

## Check Status
- docker ps | grep kasm-chrome

## View Logs
- docker logs -f kasm-chrome

## Stop and Run Browser
- cd ~/kasm-chrome
- docker compose down
- docker compose up -d

## View realtime resources
- docker stats

About

Install full-control a browser google chrome on Linux server (VPS) via Kasm Workspaces (Kasmweb Chrome)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages