View Single Post
Tuổi 23-05-2017, 09:24 PM   #1
hoctinhoc
Guest
 
Trả Lời: n/a
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.




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/
  Trả lời ngay kèm theo trích dẫn này