Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
vnc service/client usage
03-26-2017, 07:57 PM (This post was last modified: 08-21-2017 02:50 PM by rayluk.)
Post: #1
vnc service/client usage
服务端安装
如果服务端无桌面环境,建议先安装一个如Gnome:
Code:
yum groupinstall 'GNOME Desktop' -y
安装之后重启。安装完成启动后会提示Licence information, 输入1后回车后输入2后回车输入c回车后再输入c。

安装vnc server on Fedora/CentOS:
Code:
yum install  tigervnc-server.x86_64

The guide of starting VNC server and usage of VNC client can be found here

---
20170821/rayluk: moved the logic of staring VNC and usage of VNC client to a new thread.
20170713/cwt: Revise the whole content according replies.
Find all posts by this user
Quote this message in a reply
07-13-2017, 02:17 PM (This post was last modified: 07-13-2017 02:20 PM by xwcwt.)
Post: #2
RE: vnc service/client usage
revised as :

((->服务端安装
如果服务端无桌面环境,建议先安装一个如Gnome:
Code:
yum groupinstall 'GNOME Desktop' -y
安装之后重启。安装完成启动后会提示Licence information, 输入1后回车后输入2后回车输入c回车后再输入c。))

安装vnc server on Fedora/CentOS:
Code:
yum install  tigervnc-server.x86_64
装好以后启动服务
命令格式为vncserver:桌面号 例如
Code:
vncserver:1

((第一次会要求输出密码,这个密码为从VNC客户端登陆时的登陆密码->))
其中1表示监听在vnc 1号端口,vnc端口从5900开始计数,1号端口就是5901. 第一次运行会提示设置密码,设置密码完毕后vnc服务就启动了。

((->客户端使用方式))
打开vnc viewer 软件(此处我下载了个windows版的使用) -->输入vncserver的IP(即执行vncserver:桌面号那台机器的IP):桌面号-->点击OK-->输入密码 就可以看到桌面了。
Find all posts by this user
Quote this message in a reply
07-13-2017, 02:22 PM
Post: #3
RE: vnc service/client usage
@zma. please kindly review.
Find all posts by this user
Quote this message in a reply
07-13-2017, 03:28 PM
Post: #4
RE: vnc service/client usage
(07-13-2017 02:17 PM)xwcwt Wrote:  revised as :

((->服务端安装
如果服务端无桌面环境,建议先安装一个如Gnome:
Code:
yum groupinstall 'GNOME Desktop' -y
安装之后重启。安装完成启动后会提示Licence information, 输入1后回车后输入2后回车输入c回车后再输入c。))

安装vnc server on Fedora/CentOS:
Code:
yum install  tigervnc-server.x86_64
装好以后启动服务
命令格式为vncserver:桌面号 例如
Code:
vncserver:1

((第一次会要求输出密码,这个密码为从VNC客户端登陆时的登陆密码->))
其中1表示监听在vnc 1号端口,vnc端口从5900开始计数,1号端口就是5901. 第一次运行会提示设置密码,设置密码完毕后vnc服务就启动了。

((->客户端使用方式))
打开vnc viewer 软件(此处我下载了个windows版的使用) -->输入vncserver的IP(即执行vncserver:桌面号那台机器的IP):桌面号-->点击OK-->输入密码 就可以看到桌面了。

OK
Visit this user's website Find all posts by this user
Quote this message in a reply
08-04-2017, 05:42 PM
Post: #5
RE: vnc service/client usage
Requested by lingu to find a way of installing vnc with minimal dependency.

Driving example: http://tab.d-thinker.org/showthread.php?...http://tab.d-thinker.org/showthread.php?tid=8830&hig

@lingu, please review
@xwcwt, would that be too much packages if we include P1 or P2 into autation

Here are two proposals
P1: Install only vnc server, there will be 13 packages needed and the total size is 15M. After connection, only firefox can be used as there is no windows manager.

Code:
#yum install tiger-vncserver
...
================================================================================​================================================================================​===================================================
Package                                                     Arch                                       Version                                                     Repository                                Size
================================================================================​================================================================================​===================================================
Installing:
tigervnc-server                                             x86_64                                     1.3.1-9.el7                                                 base                                     203 k
Installing for dependencies:
libXdmcp                                                    x86_64                                     1.1.1-6.1.el7                                               base                                      32 k
libXxf86misc                                                x86_64                                     1.0.3-7.1.el7                                               base                                      19 k
libxkbfile                                                  x86_64                                     1.0.8-5.el7                                                 base                                      81 k
mesa-dri-drivers                                            x86_64                                     11.2.2-2.20160614.el7                                       base                                     5.1 M
mesa-filesystem                                             x86_64                                     11.2.2-2.20160614.el7                                       base                                      23 k
mesa-private-llvm                                           x86_64                                     3.8.1-1.el7                                                 base                                     7.7 M
tigervnc-license                                            noarch                                     1.3.1-9.el7                                                 base                                      26 k
tigervnc-server-minimal                                     x86_64                                     1.3.1-9.el7                                                 base                                     1.0 M
xkeyboard-config                                            noarch                                     2.14-1.el7                                                  base                                     758 k
xorg-x11-server-utils                                       x86_64                                     7.7-14.el7                                                  base                                     176 k
xorg-x11-xauth                                              x86_64                                     1:1.0.9-1.el7                                               base                                      30 k
xorg-x11-xinit                                              x86_64                                     1.3.4-1.el7                                                 base                                      58 k
xorg-x11-xkb-utils                                          x86_64                                     7.7-12.el7                                                  base                                     103 k
Updating for dependencies:
libdrm                                                      x86_64                                     2.4.67-3.el7                                                base                                     141 k

Transaction Summary
================================================================================​================================================================================​===================================================
Install  1 Package  (+13 Dependent packages)
Upgrade             (  1 Dependent package)

Total download size: 15 M
Is this ok [y/d/N]:
   

P2: Install vnc server and gnome with minimal packages, there will be 169 packages needed and the total size is 108M. After connecting to it, there will be a basic gnome environment with firefox and gnome terminal installed.

Code:
# yum install gnome-classic-session gnome-terminal tigervnc-server
...
================================================================================​================================================================================​======
Package                                                       Arch                       Version                                   Repository                   Size
================================================================================​================================================================================​======
Installing:
gnome-classic-session                                         noarch                     3.14.4-21.el7                             base                         28 k
gnome-terminal                                                x86_64                     3.14.3-13.el7                             base                        1.1 M
tigervnc-server                                               x86_64                     1.3.1-9.el7                               base                        203 k
Installing for dependencies:
ModemManager-glib                                             x86_64                     1.6.0-2.el7                               base                        232 k
NetworkManager-glib                                           x86_64                     1:1.4.0-20.el7_3                          updates                     385 k
abattis-cantarell-fonts                                       noarch                     0.0.16-3.el7                              base                         76 k
accountsservice                                               x86_64                     0.6.35-14.el7_3                           updates                      90 k
accountsservice-libs                                          x86_64                     0.6.35-14.el7_3                           updates                      77 k
adwaita-gtk2-theme                                            x86_64                     3.14.2.2-2.el7                            base                         81 k
avahi-glib                                                    x86_64                     0.6.31-17.el7                             base                         25 k
bluez                                                         x86_64                     5.41-1.el7                                base                        1.2 M
caribou                                                       x86_64                     0.4.16-1.el7                              base                        150 k
caribou-gtk2-module                                           x86_64                     0.4.16-1.el7                              base                         20 k
caribou-gtk3-module                                           x86_64                     0.4.16-1.el7                              base                         20 k
cdparanoia-libs                                               x86_64                     10.2-17.el7                               base                         56 k
cheese-libs                                                   x86_64                     2:3.14.2-5.el7                            base                        1.1 M
clutter                                                       x86_64                     1.20.0-10.el7                             base                        1.0 M
clutter-gst2                                                  x86_64                     2.0.12-2.el7                              base                         61 k
clutter-gtk                                                   x86_64                     1.4.4-7.el7                               base                         41 k
cogl                                                          x86_64                     1.18.2-12.el7                             base                        426 k
color-filesystem                                              noarch                     1-13.el7                                  base                        5.3 k
colord                                                        x86_64                     1.2.7-2.el7                               base                        421 k
colord-gtk                                                    x86_64                     0.1.25-4.el7                              base                         21 k
compat-libcogl-pango12                                        x86_64                     1.14.0-3.el7                              base                         27 k
compat-libcogl12                                              x86_64                     1.14.0-3.el7                              base                        282 k
compat-libcolord1                                             x86_64                     1.0.4-1.el7                               base                         96 k
control-center                                                x86_64                     1:3.14.5-19.el7                           base                        4.2 M
control-center-filesystem                                     x86_64                     1:3.14.5-19.el7                           base                         19 k
cryptsetup                                                    x86_64                     1.7.2-1.el7                               base                        124 k
cups-pk-helper                                                x86_64                     0.2.4-5.el7                               base                         69 k
dbus-x11                                                      x86_64                     1:1.6.12-17.el7                           base                         46 k
dconf                                                         x86_64                     0.22.0-2.el7                              base                        157 k
dosfstools                                                    x86_64                     3.0.20-9.el7                              base                        101 k
enchant                                                       x86_64                     1:1.6.0-8.el7                             base                         55 k
evolution-data-server                                         x86_64                     3.12.11-37.el7                            base                        2.9 M
exempi                                                        x86_64                     2.2.0-8.el7                               base                        414 k
flac-libs                                                     x86_64                     1.3.0-5.el7_1                             base                        169 k
gcr                                                           x86_64                     3.14.0-1.el7                              base                        651 k
gdisk                                                         x86_64                     0.8.6-5.el7                               base                        187 k
gdm                                                           x86_64                     1:3.14.2-20.el7_3                         updates                     719 k
geoclue2                                                      x86_64                     2.1.10-5.el7                              base                         90 k
geocode-glib                                                  x86_64                     3.14.0-2.el7                              base                         49 k
gjs                                                           x86_64                     1.42.0-1.el7                              base                        174 k
glx-utils                                                     x86_64                     8.2.0-3.el7                               base                         32 k
gnome-bluetooth                                               x86_64                     1:3.14.1-1.el7                            base                         50 k
gnome-bluetooth-libs                                          x86_64                     1:3.14.1-1.el7                            base                        881 k
gnome-desktop3                                                x86_64                     3.14.2-2.el7                              base                        577 k
gnome-icon-theme                                              noarch                     3.12.0-1.el7                              base                        9.7 M
gnome-keyring                                                 x86_64                     3.14.0-1.el7                              base                        885 k
gnome-keyring-pam                                             x86_64                     3.14.0-1.el7                              base                         39 k
gnome-menus                                                   x86_64                     3.13.3-3.el7                              base                        180 k
gnome-online-accounts                                         x86_64                     3.14.5-5.el7                              base                        1.0 M
gnome-session                                                 x86_64                     3.14.0-5.el7                              base                        402 k
gnome-settings-daemon                                         x86_64                     3.14.4-12.el7                             base                        1.1 M
gnome-shell                                                   x86_64                     3.14.4-53.el7                             base                        1.9 M
gnome-shell-extension-alternate-tab                           noarch                     3.14.4-21.el7                             base                         17 k
gnome-shell-extension-apps-menu                               noarch                     3.14.4-21.el7                             base                         21 k
gnome-shell-extension-common                                  noarch                     3.14.4-21.el7                             base                        131 k
gnome-shell-extension-launch-new-instance                     noarch                     3.14.4-21.el7                             base                         16 k
gnome-shell-extension-places-menu                             noarch                     3.14.4-21.el7                             base                         20 k
gnome-shell-extension-window-list                             noarch                     3.14.4-21.el7                             base                         26 k
gnome-themes-standard                                         x86_64                     3.14.2.2-2.el7                            base                        2.8 M
grilo                                                         x86_64                     0.2.12-2.el7                              base                        199 k
gsm                                                           x86_64                     1.0.13-11.el7                             base                         30 k
gstreamer1                                                    x86_64                     1.4.5-1.el7                               base                        989 k
gstreamer1-plugins-base                                       x86_64                     1.4.5-2.el7                               base                        1.2 M
gvfs                                                          x86_64                     1.22.4-8.el7                              base                        1.1 M
harfbuzz-icu                                                  x86_64                     0.9.36-1.el7                              base                         11 k
ibus-libs                                                     x86_64                     1.5.3-13.el7                              base                        207 k
iso-codes                                                     noarch                     3.46-2.el7                                base                        2.7 M
libXdmcp                                                      x86_64                     1.1.1-6.1.el7                             base                         32 k
libXv                                                         x86_64                     1.0.10-2.el7                              base                         18 k
libXxf86misc                                                  x86_64                     1.0.3-7.1.el7                             base                         19 k
libarchive                                                    x86_64                     3.1.2-10.el7_2                            base                        318 k
libasyncns                                                    x86_64                     0.8-7.el7                                 base                         26 k
libatasmart                                                   x86_64                     0.19-6.el7                                base                         43 k
libbluray                                                     x86_64                     0.2.3-5.el7                               base                        135 k
libcanberra                                                   x86_64                     0.30-5.el7                                base                         82 k
libcanberra-gtk3                                              x86_64                     0.30-5.el7                                base                         30 k
libcdio                                                       x86_64                     0.92-1.el7                                base                        235 k
libcdio-paranoia                                              x86_64                     10.2+0.90-11.el7                          base                         70 k
libexif                                                       x86_64                     0.6.21-6.el7                              base                        347 k
libgdata                                                      x86_64                     0.17.1-1.el7                              base                        416 k
libgee                                                        x86_64                     0.10.1-3.el7                              base                        236 k
libgnomekbd                                                   x86_64                     3.6.0-4.el7                               base                        158 k
libgsf                                                        x86_64                     1.14.26-7.el7                             base                        166 k
libgtop2                                                      x86_64                     2.28.4-7.el7                              base                        128 k
libgweather                                                   x86_64                     3.14.1-3.el7                              base                        3.0 M
libgxps                                                       x86_64                     0.2.2-9.el7                               base                         68 k
libical                                                       x86_64                     1.0.1-1.el7                               base                        175 k
libicu                                                        x86_64                     50.1.2-15.el7                             base                        6.9 M
libimobiledevice                                              x86_64                     1.1.5-6.el7                               base                        136 k
libiptcdata                                                   x86_64                     1.0.4-11.el7                              base                         56 k
libldb                                                        x86_64                     1.1.26-1.el7                              base                        125 k
libmediaart                                                   x86_64                     0.7.0-1.el7                               base                         37 k
libnm-gtk                                                     x86_64                     1.4.0-2.el7                               base                         87 k
libnma                                                        x86_64                     1.4.0-2.el7                               base                         82 k
libnotify                                                     x86_64                     0.7.5-8.el7                               base                         39 k
liboauth                                                      x86_64                     0.9.7-4.el7                               base                         22 k
libosinfo                                                     x86_64                     0.3.0-3.el7                               base                        351 k
libplist                                                      x86_64                     1.10-4.el7                                base                         57 k
libreport-filesystem                                          x86_64                     2.1.11-35.el7.centos                      base                         38 k
libsecret                                                     x86_64                     0.18.2-2.el7                              base                        149 k
libsmbclient                                                  x86_64                     4.4.4-14.el7_3                            updates                     126 k
libsndfile                                                    x86_64                     1.0.25-10.el7                             base                        149 k
libtdb                                                        x86_64                     1.3.8-1.el7_2                             base                         45 k
libtheora                                                     x86_64                     1:1.1.1-8.el7                             base                        136 k
libudisks2                                                    x86_64                     2.1.2-6.el7                               base                        116 k
libvisual                                                     x86_64                     0.4.0-16.el7                              base                        138 k
libvorbis                                                     x86_64                     1:1.3.3-8.el7                             base                        204 k
libwacom                                                      x86_64                     0.12-1.el7                                base                         29 k
libwacom-data                                                 noarch                     0.12-1.el7                                base                         41 k
libwbclient                                                   x86_64                     4.4.4-14.el7_3                            updates                     100 k
libwebp                                                       x86_64                     0.3.0-3.el7                               base                        170 k
libxkbfile                                                    x86_64                     1.0.8-5.el7                               base                         81 k
libxklavier                                                   x86_64                     5.4-7.el7                                 base                         64 k
mdadm                                                         x86_64                     3.4-14.el7_3.1                            updates                     415 k
mesa-dri-drivers                                              x86_64                     11.2.2-2.20160614.el7                     base                        5.1 M
mesa-filesystem                                               x86_64                     11.2.2-2.20160614.el7                     base                         23 k
mesa-private-llvm                                             x86_64                     3.8.1-1.el7                               base                        7.7 M
mobile-broadband-provider-info                                noarch                     1.20120614-4.el7                          base                         40 k
mozjs24                                                       x86_64                     24.2.0-6.el7                              base                        1.8 M
mutter                                                        x86_64                     3.14.4-31.el7                             base                        1.0 M
nautilus                                                      x86_64                     3.14.3-12.el7                             base                        2.5 M
nautilus-extensions                                           x86_64                     3.14.3-12.el7                             base                         66 k
nm-connection-editor                                          x86_64                     1.4.0-2.el7                               base                        916 k
oddjob                                                        x86_64                     0.31.5-4.el7                              base                         69 k
oddjob-mkhomedir                                              x86_64                     0.31.5-4.el7                              base                         38 k
openjpeg-libs                                                 x86_64                     1.5.1-16.el7_3                            updates                      86 k
orc                                                           x86_64                     0.4.22-5.el7                              base                        165 k
poppler                                                       x86_64                     0.26.5-16.el7                             base                        783 k
poppler-glib                                                  x86_64                     0.26.5-16.el7                             base                        137 k
pulseaudio                                                    x86_64                     6.0-9.el7_3                               updates                     890 k
pulseaudio-gdm-hooks                                          x86_64                     6.0-9.el7_3                               updates                      20 k
pulseaudio-libs                                               x86_64                     6.0-9.el7_3                               updates                     581 k
pulseaudio-libs-glib2                                         x86_64                     6.0-9.el7_3                               updates                      27 k
pulseaudio-module-bluetooth                                   x86_64                     6.0-9.el7_3                               updates                      68 k
pyatspi                                                       noarch                     2.14.0-2.el7                              base                         85 k
pycairo                                                       x86_64                     1.8.10-8.el7                              base                        157 k
pygobject3                                                    x86_64                     3.14.0-3.el7                              base                         16 k
python-caribou                                                noarch                     0.4.16-1.el7                              base                         42 k
realmd                                                        x86_64                     0.16.1-9.el7                              base                        208 k
redhat-menus                                                  noarch                     12.0.2-8.el7                              base                        146 k
rtkit                                                         x86_64                     0.11-10.el7                               base                         51 k
samba-client-libs                                             x86_64                     4.4.4-14.el7_3                            updates                     4.6 M
samba-common                                                  noarch                     4.4.4-14.el7_3                            updates                     191 k
sbc                                                           x86_64                     1.0-5.el7                                 base                         53 k
sound-theme-freedesktop                                       noarch                     0.8-3.el7                                 base                        377 k
speex                                                         x86_64                     1.2-0.19.rc1.el7                          base                         98 k
taglib                                                        x86_64                     1.8-7.20130218git.el7                     base                        310 k
telepathy-filesystem                                          noarch                     0.0.2-6.el7                               base                        4.7 k
telepathy-glib                                                x86_64                     0.24.0-1.el7                              base                        719 k
telepathy-logger                                              x86_64                     0.8.0-5.el7                               base                         98 k
tigervnc-license                                              noarch                     1.3.1-9.el7                               base                         26 k
tigervnc-server-minimal                                       x86_64                     1.3.1-9.el7                               base                        1.0 M
totem-pl-parser                                               x86_64                     3.10.5-1.el7                              base                        182 k
tracker                                                       x86_64                     1.2.7-2.el7                               base                        1.2 M
udisks2                                                       x86_64                     2.1.2-6.el7                               base                        312 k
upower                                                        x86_64                     0.99.2-1.el7                              base                        142 k
usbmuxd                                                       x86_64                     1.0.8-11.el7                              base                         70 k
vino                                                          x86_64                     3.14.2-1.el7                              base                        447 k
vte-profile                                                   x86_64                     0.38.4-2.el7                              base                        6.2 k
vte291                                                        x86_64                     0.38.4-2.el7                              base                        312 k
webkitgtk3                                                    x86_64                     2.4.9-6.el7                               base                         11 M
webrtc-audio-processing                                       x86_64                     0.1-5.el7                                 base                        108 k
xkeyboard-config                                              noarch                     2.14-1.el7                                base                        758 k
xml-common                                                    noarch                     0.6.3-39.el7                              base                         26 k
xorg-x11-server-utils                                         x86_64                     7.7-14.el7                                base                        176 k
xorg-x11-xauth                                                x86_64                     1:1.0.9-1.el7                             base                         30 k
xorg-x11-xinit                                                x86_64                     1.3.4-1.el7                               base                         58 k
xorg-x11-xkb-utils                                            x86_64                     7.7-12.el7                                base                        103 k
zenity                                                        x86_64                     3.8.0-5.el7                               base                        3.4 M
Updating for dependencies:
at-spi2-core                                                  x86_64                     2.14.1-2.el7                              base                        155 k
avahi-autoipd                                                 x86_64                     0.6.31-17.el7                             base                         39 k
avahi-libs                                                    x86_64                     0.6.31-17.el7                             base                         61 k
cryptsetup-libs                                               x86_64                     1.7.2-1.el7                               base                        216 k
dbus                                                          x86_64                     1:1.6.12-17.el7                           base                        307 k
dbus-libs                                                     x86_64                     1:1.6.12-17.el7                           base                        151 k
libdrm                                                        x86_64                     2.4.67-3.el7                              base                        141 k

Transaction Summary
================================================================================​================================================================================​======
Install  3 Packages (+169 Dependent packages)
Upgrade             (   7 Dependent packages)

Total download size: 108 M
Is this ok [y/d/N]:
   

I recommend P2 as I think the customer may expect a there is a window manager to help their operation.
Find all posts by this user
Quote this message in a reply
08-09-2017, 02:51 PM (This post was last modified: 08-09-2017 02:53 PM by xwcwt.)
Post: #6
RE: vnc service/client usage
(08-04-2017 05:42 PM)rayluk Wrote:  Requested by lingu to find a way of installing vnc with minimal dependency.

Driving example: http://tab.d-thinker.org/showthread.php?...http://tab.d-thinker.org/showthread.php?tid=8830&hig

@lingu, please review
@xwcwt, would that be too much packages if we include P1 or P2 into autation

Here are two proposals
P1: Install only vnc server, there will be 13 packages needed and the total size is 15M. After connection, only firefox can be used as there is no windows manager.


P2: Install vnc server and gnome with minimal packages, there will be 169 packages needed and the total size is 108M. After connecting to it, there will be a basic gnome environment with firefox and gnome terminal installed.


I recommend P2 as I think the customer may expect a there is a window manager to help their operation.

Install a window manager I think it is needed. but not sure introduce more than 100+ packages is a good choice. this need Dr.Gu's comment. Also, maybe you can choose other light DM controlled WM such as mate/xfce. just my thought and you can have try.

Besides, this is a good place to discuss such problem, I suggest you step to a appropriate board to talk such matter.
Find all posts by this user
Quote this message in a reply
08-17-2017, 10:48 AM
Post: #7
RE: vnc service/client usage
(08-09-2017 02:51 PM)xwcwt Wrote:  Install a window manager I think it is needed. but not sure introduce more than 100+ packages is a good choice. this need Dr.Gu's comment.

If you cannot easily find a solution with much fewer packages, it is fine to take this approach. 169 packages are surprisingly many but we can tolerate that if we have no better choices within our easy reach.

Quote: Also, maybe you can choose other light DM controlled WM such as mate/xfce. just my thought and you can have try.

We may not want a less-frequently used piece of software. Such software is usually buggy and may fade out in the future. We try to use the mainstream ones and if there are multiple mainstream ones we choose from them.
Find all posts by this user
Quote this message in a reply
08-21-2017, 02:29 PM (This post was last modified: 08-21-2017 02:45 PM by rayluk.)
Post: #8
RE: vnc service/client usage
After talking with lingu, we need a tutorial of starting vnc.

I will seperate a part of this to be a tutorial of starting vnc.


Save a copy
(03-26-2017 07:57 PM)xwcwt Wrote:  服务端安装
如果服务端无桌面环境,建议先安装一个如Gnome:
Code:
yum groupinstall 'GNOME Desktop' -y
安装之后重启。安装完成启动后会提示Licence information, 输入1后回车后输入2后回车输入c回车后再输入c。

安装vnc server on Fedora/CentOS:
Code:
yum install  tigervnc-server.x86_64
装好以后启动服务
命令格式为vncserver:桌面号 例如
Code:
vncserver:1

其中1表示监听在vnc 1号端口,vnc端口从5900开始计数,1号端口就是5901. 第一次运行会提示设置密码,设置密码完毕后vnc服务就启动了。

客户端使用方式
打开vnc viewer 软件(此处我下载了个windows版的使用) -->输入vncserver的IP(即执行vncserver:桌面号那台机器的IP):桌面号-->点击OK-->输入密码 就可以看到桌面了。

---
20170713/cwt: Revise the whole content according replies.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: