使用VNC进行远程连接桌面管理
2013-05-09 23:13
615 查看
vncserver命令帮助
[root@localhost /]# vncserver --help
usage: vncserver [:<number>] [-name <desktop-name>] [-depth <depth>]
[-geometry <width>x<height>]
[-pixelformat rgbNNN|bgrNNN]
[-fp <font-path>]
[-fg]
<Xvnc-options>...
vncserver -kill <X-display>
vncserver
–list
VNC服务器配置
[root@localhost /]# vncserver
You will require a password to access your desktops.
Password:
Verify:
New 'localhost.localdomain:1 (root)' desktop is localhost.localdomain:1
Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost.localdomain:1.log
开启VNC
[root@localhost /]# vncserver :1
New 'localhost.localdomain:1 (root)' desktop is localhost.localdomain:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost.localdomain:1.log
关闭VNC
[root@localhost /]# vncserver -kill :1
Killing Xvnc process ID 20838
安装vnc客户端:vnc-installer-x86_win32.exe
客户端连接,比如服务器IP 192.168.13.221
192.168.13.221:1
当登录后,发现界面比较丑陋,可以查看/root/.vnc/xstartup:
其中有注释行
修改成:
重启vncserver就OK
[root@localhost /]# vncserver --help
usage: vncserver [:<number>] [-name <desktop-name>] [-depth <depth>]
[-geometry <width>x<height>]
[-pixelformat rgbNNN|bgrNNN]
[-fp <font-path>]
[-fg]
<Xvnc-options>...
vncserver -kill <X-display>
vncserver
–list
VNC服务器配置
[root@localhost /]# vncserver
You will require a password to access your desktops.
Password:
Verify:
New 'localhost.localdomain:1 (root)' desktop is localhost.localdomain:1
Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost.localdomain:1.log
开启VNC
[root@localhost /]# vncserver :1
New 'localhost.localdomain:1 (root)' desktop is localhost.localdomain:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost.localdomain:1.log
关闭VNC
[root@localhost /]# vncserver -kill :1
Killing Xvnc process ID 20838
安装vnc客户端:vnc-installer-x86_win32.exe
客户端连接,比如服务器IP 192.168.13.221
192.168.13.221:1
当登录后,发现界面比较丑陋,可以查看/root/.vnc/xstartup:
其中有注释行
#Uncomment the following two lines for normal desktop: #unset SESSION_MANAGER #exec /etc/X11/xinit/xinitrc
修改成:
unset SESSION_MANAGER exec /etc/X11/xinit/xinitrc
重启vncserver就OK
相关文章推荐
- Windows下使用VNC连接CentOS7远程桌面
- 如何使用window自带的远程桌面连接进行远程文件的上传和下载
- Windows下使用VNC连接CentOS7远程桌面
- 使用VNC连接到Ubuntu 16.04远程桌面
- CentOS安装使用vnc进行远程桌面登录
- 使用VNC远程连接CentOS 7.3 桌面
- 使用Remote Desktop organizer远程桌面管理工具连接服务器不能实现真机与被远程主机之间的文件拖拉复制
- LINUX上使用VNC进行图形界面远程桌面控制
- VNC远程连接Linux桌面的安装和使用
- LINUX下使用VNC进行图形界面远程桌面控制。
- 使用vnc连接ubuntu10.10远程桌面
- 远程连接工具VNC与windows远程桌面的使用比较
- CentOS6 图形界面(gnome)安装,使用vnc进行远程连接
- Windows下使用VNC连接CentOS7远程桌面
- VNC轻松连接远程Linux桌面
- Centos中VNC远程桌面程序的安装与使用教程
- 远程桌面命令是什么 如何使用命令连接远程桌面
- VNCViewer Windows下远程连接Linux桌面
- 用vnc实现windows远程连接linux桌面
- Win7用远程桌面(xrdp+vnc)连接Ubuntu