VNC

vncview1.jpg

vncview2.jpg

TigerVNC Server

Install
sudo apt update
sudo apt install lxqt-core tigervnc-standalone-server tigervnc-tools -y
sudo apt purge lxqt-powermanagement xscreensaver -y
sudo apt autoremove -y
Setup
vncpasswd
mkdir ~/.vnc

xstartup

vi ~/.vnc/xstartup
#!/bin/sh
xrdb -merge "$HOME/.Xresources"
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
exec startlxqt
chmod +x ~/.vnc/xstartup

config

For AMDGPU, else ignore.

vi ~/.vnc/config
extension=DRI3
rendernode=/dev/dri/renderD128
FrameRate=30
CompressionLevel=1
QualityLevel=6
geometry=1920x1080
depth=24
pixelformat=rgb888

Xresources

vi ~/.Xresources
Xcursor.theme: Adwaita
Xcursor.size: 48

vncserver-config-defaults

sudo vim /etc/tigervnc/vncserver-config-defaults

At end of file:

$localhost = "no";
$SecurityTypes = "VncAuth";
1;

vncserver.users

sudo vim /etc/tigervnc/vncserver.users

Reserver display :1 for username

:1=username

systemd

systemctl --user mask gvfs-daemon.service
systemctl --user mask gvfs-udisks2-volume-monitor.service
systemctl --user mask gvfs-afc-volume-monitor.service
systemctl --user mask gvfs-mtp-volume-monitor.service
systemctl --user mask gvfs-gphoto2-volume-monitor.service
systemctl --user mask gvfs-goa-volume-monitor.service
sudo systemctl stop udisks2.service
sudo systemctl mask udisks2.service
sudo systemctl daemon-reload
sudo systemctl enable tigervncserver@:1.service
sudo systemctl start tigervncserver@:1.service

TigerVNC Client

Windows
https://github.com/tigervnc/tigervnc/releases

Connection

Connect to hostname:1

TightVNC Server

Install
sudo apt install tightvncserver wmaker xterm
First run
tightvncserver

You will require a password to access your desktops.

Password:
Verify:
Would you like to enter a view-only password (y/n)? n

New 'X' desktop is hostname:1

Creating default startup script /home/user/.vnc/xstartup
Starting applications specified in /home/user/.vnc/xstartup
Log file is /home/user/.vnc/PiG:1.log
First stop
tightvncserver -kill :1
Killing Xtightvnc process ID 10798
Reconfigure .vnc/xstartup
#! /bin/sh
xrdb "$HOME/.Xresources"
export XKL_XMODMAP_DISABLE=1
exec wmaker
Restart
tightvncserver -geometry 1280x1024

TightVNC Client

Windows
Connection

Connect to hostname:1

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies