🫠

Make VPC(Virtual PC) and access from workspace

に公開

what's this ?

A memorandum I made VPC on my home Server (OS: Proxmox).
Why do u think I use English ? Now i write this in vpc. but vpc isn't correspoding japanese yet. Technically, it is possible though.

How

Make VM

Speck

  • CPU: 5core 2sockets = 10core
  • Memory: 16384[GiB]
  • NodeName: vpc-server
  • UserName: vpc
  • 873
  • node: loblygirl
  • vmid: 101
  • ip: 192.168.200.5/24
    OS
  • Ubuntu server 24.04.2.LTS amd64

Building Desktop & RDP Environment

  1. install xfce
    Use xfce to build a desktop environment.
     sudo apt update
     sudo apt install xfce4 xfce4-goodies -y
    

Then choice gdm3 inside the list named display manager.

  1. install xrdp
    Use xrdp to controll RDP connection send/received.
    sudo apt install xrdp -y
    sudo systemctl status xrdp
    
  2. create session management file
    This's work as session controll manager.
    echo "xfce4-session" |tee .xsession
    sudo systemctl restart xrdp
    
  3. check connection port
    xrdp use port3389. Port3389 should be waiting for a connection.(well...status is maybe inactive)
    sudo ss -lntu |grep :3389
    
  4. Open port in router
    it's example code for YAMAHA RTX1200(i wanna buy a new one....)
    nat descriptor masquerade static 1 3 192.168.200.5 tcp $$$$=3389
    save
    

($$$$ is port num for internet. 3389 is standby port for xrdp)

  1. access chack from other network(internet)
    Cman Network Test
  2. access from pc (windows11)
    Press Win+R. Then insert "mstsc.exe" and Enter.
    item subject
    Computer your global-ip or public-domain
    UserName your vpc account name
    password is asked after press "Connect"
  3. Successfully connect !!

(Option) install browser "Pale Moon"

  1. install Pale Moon source files from official site
    PaleMoon GTK3 Linux64
  2. unpack tar.xz
    2.1. unpack xz
    xz -dv $$$$.tar.xz
    
    2.2. unpack tar
    tar xfv $$$$.tar
    
    2.0. unpack both
    xz -dc $$$$.tar.xz |tarxfv -
    
    or
    xzcat $$$$.tar.xz |tar xfv -
    
    or
    tar Jxfv $$$$.tar.xz
    
  3. run palemoon

~FIN~

Special Thanks

Building Environment
YAMAHA RTX1200 MASQUERADE
Unpack tar.xz
Pale Moon
Trouble shooting XRDP

Discussion