Rex's 備忘錄

Debian 9 Install Squid and configure Proxy server

apt-get install squid

vi /etc/squid/squid.conf

add:

acl CONNECT method CONNECT
acl lan src 192.168.1.0/24
http_access allow localhost
http_access allow lan
request_header_access Referer deny all
request_header_access X-Forwarded-For deny all
request_header_access Via deny all
request_header_access Cache-Control deny all
forwarded_for off

 

/etc/init.d/squid restart

Debian 9 Screen Share 螢幕分享 VNC "error in tightvnc viewer no security types supported."

使用Debian內建的螢幕分享,正常都可以在手機與Linux機器上連線,

唯獨在Windows使用 Tightvnc 時,會顯示不支援此安全類型,

必須關閉安全設定才行

 

apt-get install dconf-editor

安裝後打開 系統工具--dconf編輯器,

org/gnome/desktop/remote-access/require-encryption

undefined

 

將他關閉改成 False

儲存後即可連線了

 

Home ← 舊文章