← Back to catalog
OpenCode (XFCE)

OpenCode (XFCE)

v1.1.0

Open-source CLI coding agent with XFCE desktop and RDP access

Install

$curl -fsSL https://virtua.sh/i/opencode-xfce | bash
No server?Virtua.Cloud →

What's included

  • OpenCode 1.17.18 (pinned) -- open-source CLI coding agent
  • XFCE desktop with RDP access via xrdp
  • VS Code, Firefox, Chromium
  • Docker, Go, Rust, Node.js 22, Python + uv
  • Playwright with Chromium and Firefox
  • Hardening: firewall (SSH+RDP only), fail2ban, unattended security upgrades -- validated on Ubuntu, best-effort on RHEL

After install

  • Connect via RDP on port 3389 with the shown credentials
  • Or SSH in and switch to the coder user: su - coder
  • Authenticate: opencode

How the install works

Generated from the install script itself -- these are the exact phases it runs on your server.

  1. 1.Pre-flight checks
  2. 2.Creating swap
  3. 3.Creating user
  4. 4.Installing system dependencies
  5. 5.Hardening (firewall, fail2ban, auto-updates)
  6. 6.Installing Node.js
  7. 7.Installing pnpm
  8. 8.Installing Docker
  9. 9.Installing Go
  10. 10.Installing Rust
  11. 11.Installing Python + uv
  12. 12.Installing Playwright
  13. 13.Installing OpenCode 1.17.18
  14. 14.Installing XFCE desktop
  15. 15.Installing xrdp
  16. 16.Installing VS Code
  17. 17.Installing desktop browsers

Supported Operating Systems

Ubuntu 24Ubuntu 25Debian 12Debian 13Rocky 9Alma 9

Requirements

RAM
4GB minimum
Disk
15GB minimum

Configuration

VariableDefaultDescription
VIRTUA_USERcoderSystem user for the agent
VIRTUA_PASSrandom 24-charUser password for RDP login

Changelog

v1.1.02026-07-12
  • OpenCode pinned to 1.17.18 (joined the weekly pin-bump loop)
  • One-click hardening: firewall default-deny (SSH+RDP only), fail2ban, unattended security upgrades (Ubuntu-validated)
v1.0.02026-04-02
  • Initial release
  • XFCE desktop with RDP via xrdp
  • VS Code, Firefox, Chromium, Tilix
  • Full dev environment: Docker, Go, Rust, Node.js, Python