Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install and configure VNC

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces you how to install and configure VNC, the content is very detailed, interested friends can use for reference, I hope it can be helpful to you.

VNC installation configuration

When installing a certain software on Linux, you often need to start graphics. Sometimes tools such as Xmanager,xshell,xstart can not start graphics normally, so you can consider starting graphics through VNC.

Linux

One: install the VNC Server end

1 VNC installation package required on the Server side

[root@chen vnc] # ll-rth

Total 2.2M

-rw-r--r-- 1 root root 2.1m Feb 3 2009 vnc-server-4.1.2-14.el5_3.1.x86_64.rpm

-rw-r--r-- 1 root root 159K Feb 3 2009 vnc-4.1.2-14.el5_3.1.x86_64.rpm

[root@chen vnc] # rpm-ivh vnc-*-nodeps-force

Warning: vnc-4.1.2-14.el5_3.1.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 37017186: NOKEY

Preparing... # [100%]

1:vnc-server # # [50%]

2:vnc # # [100%]

2 generate password

[root@chen ~] # vncserver

You will require a password to access your desktops.

Password:123456

Verify:123456

New 'chen:1 (root)' desktop is chen:1

Creating default startup script / root/.vnc/xstartup

Starting applications specified in / root/.vnc/xstartup

Log file is / root/.vnc/chen:1.log

3 configure xstartup

[root@chen ~] # vi .vnc / xstartup

.

Xsetroot-solid grey

Vncconfig-iconic &

# xterm-geometry 80x24+10+10-ls-title "$VNCDESKTOP Desktop" &

# twm &

Gnome-session &

4 configure vncservers

[root@chen ~] # vi / etc/sysconfig/vncservers

VNCSERVERS= "2:root"

# VNCSERVERS= "2:myusername"

# VNCSERVERARGS [2] = "- geometry 800x600-nolisten tcp-nohttpd-localhost"

5 restart vncserver

[root@chen ~] # / etc/init.d/vncserver start

Starting VNC server: 2:root

New 'chen:2 (root)' desktop is chen:2

Starting applications specified in / root/.vnc/xstartup

Log file is / root/.vnc/chen:2.log [OK]

-Windows

Second: install the VNC Viewer end

D:\ cjc\ soft\ vnc\ VNC-Viewer-6.17.1113-Windows.exe

... Next step

... Next step

.

Log in after installation is complete:

192.168.208.200:2

Password:123456

On how to install and configure VNC to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report