systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target exit WAYLAND_DISPLAY=wayland-0 krdpserver -u desk -p MHNCVS --port 3390 clear pacman -S xorg-server-xvfb x11vnc novnc exit cd curl -L -o index.html https://novnc.com Xvfb :99 -screen 0 1920x1080x24 & export DISPLAY=:99 && startplasma-x11 & x11vnc -display :99 -forever -shared -nopw -localhost & npx websockify --web=. 127.0.0.1:7777 127.0.0.1:5900 killall Xvfb x11vnc curl -LO https://github.com tar -xzf v1.5.0.tar.gz --strip-components=1 exit cd Xvfb :99 -screen 0 1920x1080x24 & export DISPLAY=:99 && startplasma-x11 & x11vnc -display :99 -forever -shared -nopw -localhost & npx websockify --web=. 127.0.0.1:7777 127.0.0.1:5900 killall Xvfb x11vnc node websockify 2>/dev/null rm -rf index.html vnc.html v1.5.0.tar.gz curl -LO https://github.com tar -xzf v1.5.0.tar.gz cd noVNC-1.5.0 killall Xvfb x11vnc node websockify 2>/dev/null rm -rf github.com v1.5.0.tar.gz curl_response index.html vnc.html Xvfb :99 -screen 0 1920x1080x24 & export DISPLAY=:99 && startplasma-x11 & x11vnc -display :99 -forever -shared -nopw -localhost & npx -y http-server --port 7777 & npx -y websockify 127.0.0.1:6080 127.0.0.1:5900 killall Xvfb x11vnc node 2>/dev/null rm -rf index.html vnc.html noVNC-1.5.0 v1.5.0.tar.gz 2>/dev/null clear Xvfb :99 -screen 0 1920x1080x24 & export DISPLAY=:99 && startplasma-x11 & x11vnc -display :99 -forever -shared -nopw -localhost & npx -y novnc --vnc localhost:5900 --listen 127.0.0.1:7777 killall Xvfb x11vnc node 2>/dev/null pip install websockify curl -LO https://github.com && tar -xzf v1.5.0.tar.gz killall Xvfb x11vnc node 2>/dev/null rm -rf github.com v1.5.0.tar.gz curl_response index.html vnc.html noVNC-1.5.0 2>/dev/null pwd ls echo $XDG_SESSION_TYPE loginctl show-session "$XDG_SESSION_ID" -p Type -p Desktop exit whoami vncpasswd pwd mkdir -p ~/.vnc nano ~/.vnc/config nano ~/.vnc/xstartup chmod +x ~/.vnc/xstartup vncserver :1 vncserver -list ps -ef | grep -E 'startplasma|plasmashell|kwin_x11' | grep -v grep ls -lt ~/.vnc/ tail -50 ~/.vnc/archsmb:1.log find ~/.vnc -maxdepth 2 -type f -printf '%p\n' ps -ef | grep '[X]vnc' vncserver -list pkill -u desk startplasma-x11 ps -ef | grep '[s]tartplasma-x11' rm ~/.vnc/xstartup cat ~/.vnc/config vncserver :1 /opt/noVNC/utils/novnc_proxy --vnc localhost:5901 --listen localhost:6080 pacman -R novnc exit