Welcome 微信登录

首页 / 操作系统 / Linux / CentOS 远程桌面 Ubuntu

1、系统软件设置
CentOS端:
查看是否安装了vnc软件
# rpm -q vnc vnc-serverpackage vnc is not installed
vnc-server-4.1.2-14.e15_3.1
上面信息就是说,vnc没有安装,而vnc-server已经安装了。
那么,安装 vc
# yum install vnc
如果vnc-server没有安装,那么
# yum install vnc-serverUbuntu端:
安装vnc4server
$ sudo apt-get install vnc4server设置密码
$ vncpasswd
password:
verify:
$ vim ~/.vnc/xstartup#!/bin/sh
# Uncomment the following two lines for normal desktop:
#unset SESSION_MANAGER
#exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &修改之后是:
注释最后两行,也就是在前面加 #
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &然后加上
gnome-session &$ vnc4server
Warning: user-MS-7549:1 is taken because of /tmp/.X11-unix/X1
Remove this file if there is no X server user-MS-7549:1
xauth:  creating new authority file /home/user/.XauthorityNew "user-MS-7549:2 (user)" desktop is user-MS-7549:2Creating default startup script /home/user/.vnc/xstartup
Starting applications specified in /home/user/.vnc/xstartup
Log file is /home/user/.vnc/user-MS-7549:2.log
  • 1
  • 2
  • 下一页
关于ATI HD3470显卡在Linux发行版中的驱动安装CentOS 5.8 setools安装相关资讯      Ubuntu使用教程 
  • Ubuntu使用教程:E: 无法获得锁 /  (06/19/2014 17:15:12)
  • Ubuntu使用教程 :让Trusty Tahr变  (05/07/2014 16:30:53)
  • 怎样打开64位 Ubuntu 的32位支持功  (04/27/2014 17:15:36)
  • Ubuntu 11.04 环境指纹识别驱动的  (05/22/2014 09:57:26)
  • Ubuntu 下disk清理保护  (05/01/2014 07:24:50)
  • Ubuntu 14.04自动登录到桌面  (04/24/2014 14:00:53)
本文评论 查看全部评论 (0)
表情: 姓名: 字数