|
Ubuntu,安装了x11vnc和vnc4server两个包,
在/etc/X11/xorg.conf中,设置了
- Section "Module"
- ...
- Load "vnc"
- EndSection
- Section "Screen"
- ...
- Option "SecurityTypes" "VncAuth"
- Option "UserPasswdVerifier" "VncAuth"
- Option "PasswordFile" "/root/.vnc/passwd
- EndSection
- [code]
- 密码文件存在且登录成功,但是在3秒内会断开。
- 命令行下登录的错误信息如下:
- [code]
- xz@Xz-Laptop:~$ vncviewer 202.121.210.72
- VNC server supports protocol version 3.8 (viewer 3.3)
- Password:
- VNC authentication succeeded
- Desktop name "x11"
- Connected to VNC server, using protocol version 3.3
- VNC server default format:
- 32 bits per pixel.
- Least significant byte first in each pixel.
- True colour: max red 255 green 255 blue 255, shift red 16 green 8 blue 0
- Using default colormap which is TrueColor. Pixel format:
- 32 bits per pixel.
- Least significant byte first in each pixel.
- True colour: max red 255 green 255 blue 255, shift red 16 green 8 blue 0
- Using shared memory PutImage
- vncviewer: read: Connection reset by peer
- ShmCleanup called
- xz@Xz-Laptop:~$
复制代码
谢谢。 |
|