Wednesday, September 23, 2026

solusi sementara remote vnc versi lama di ubuntu 25.04.

The critical requirement is that you must be running an Xorg session, not the default Wayland

 


sudo apt update

sudo apt install tigervnc-standalone-server tigervnc-common xfce4 xfce4-goodies dbus-x11

sudo apt install tigervnc-scraping-server
nano ~/.vnc/config
localhost=no
SecurityTypes=VncAuth
geometry=1920x1080
alwaysshared
mkdir -p ~/.vnc
vncpasswd ~/.vnc/passwd
x0vncserver -display :0 -rfbauth ~/.vnc/passwd -rfbport 5900 -SecurityTypes VncAuth -AlwaysShared

vncserver -kill :1

nano ~/.vnc/xstartup
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
exec dbus-launch --exit-with-session startxfce4

No comments:

Post a Comment