Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng

Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng (http://quantrinet.com/forum/index.php)
-   Ubuntu (http://quantrinet.com/forum/forumdisplay.php?f=341)
-   -   How to install VNC on Kali, Ubuntu (http://quantrinet.com/forum/showthread.php?t=10124)

hoctinhoc 23-05-2017 09:24 PM

How to install VNC on Kali, Ubuntu
 
How to install VNC on Kali, Ubuntu


1. Cài đặt

SSH vào Server và gõ các lệnh sau:

#apt install xfce4 xfce4-goodies tightvncserver
#vncserver
#apt install synaptic
#apt update
#apt upgrade


2. Cấu Hình

#vncserver -kill :1
#mv ~/.vnc/xstartup ~/.vnc/xstartup.bak

Tạo file và nhập nội dung sau vào

#vi ~/.vnc/xstartup

===================
#!/bin/bash
xrdb $HOME/.Xresources
startxfce4 &
===================

#chmod +x ~/.vnc/xstartup
#vncserver



3. Kết nối vào Server tứ máy tính

Download và cài đặt VNC Viewer https://www.realvnc.com/download/vnc/


I use RealVNC. It’s free for personal use. So install RealVNC on your local PC and you’ll see following window when you start it up.


https://d2xzaq17gve4og.cloudfront.ne...-screencap.jpg

Nhập IP vào cửa số VNC Server và chọn Connect

Thí du: 192.152.12.2:1

4. Cấu hình VNC Server tự động start

update-rc.d servicename defaults

update-rc.d ssh enable 3 5


Tham khảo: https://tjosm.com/5219/install-remote-desktop-vnc-ubuntu-16-04-server/


Bây giờ là 05:01 PM. Giờ GMT +7

Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.