Linux vnc server的安装及简单配置使用_第1页
Linux vnc server的安装及简单配置使用_第2页
Linux vnc server的安装及简单配置使用_第3页
Linux vnc server的安装及简单配置使用_第4页
Linux vnc server的安装及简单配置使用_第5页
已阅读5页,还剩4页未读, 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

LinuxVNCserver的安装及简单配置分类:redhat小葱制作Linuxvncserver的安装及简单配置和使用。此文只适合普通的用户(比如说在虚拟机内装Linux的朋友等等),这儿没有在乎网络安全。如果需要在互联网上使用那最好使用VPN或者SSL登陆或者包裹vnc通信。并开启防火墙并配置好相关条件。这些教程将在以后发出。演示环境:虚拟机:VMware10系统:rhel-server-6.3Yum源:本地光盘镜像注:此文仅为满足普通用户的vnc服务端需要,没有注重于网络安全。所以,首先关闭防火墙以免出现网络性错误(连接不上)。还有哦,确定yum源已经配好。1,打开终端使用yum命令安装vncsever。命令:yuminstalltigervnc-server-y2,将vncserver设置为随系统启动。命令:chkconfigvncserveron或者:chkconfigvncserver--level5onRunningrpm_check_debugRunningTransactionTestTransactionTestSucceededRunningTransactionWarning:RPMDBalteredoutsideofyum.**Found2pre-existingrpmdbproblem(s)r'yumcheck'outputfollows:firstboot-1.110.13-l.el.6.x86_64hasmissingrequiresofsystem-config-userssystem-config-users-docs-1.0.8-1.el6.noarchhasmissingrequiresofsystem-config-users>=('0','1.2.82',None]TOC\o"1-5"\h\zInstalling:xorg-xll-fonts-misc-7.2-9.1.el6.noarch 1/2Installing:tigervnc-server-1.1.0-5.el6.x86_64 2/2dvd/productid |1.7kB00:00...Installedproductsupdated.Verifying:xorg-xll-fonts-misc-7.2-9.1.el6.noarch 1/2Verifying:tigervnc-server-1.1.0-5.el6.x86_64 2/2Installed:tigervnc-server.x86_640:1.1.0-5.el6DependencyInstalled:xorg-xll-fonts-misc.noarch0:7.2-9.l.elGComplete![root(adesktop21-]#chkconfigvncserverori|3,修改vncserver的配置文件。命令:vim/etc/sysconfig/vncserversFileEditViewSearchTerminalHelp[root@desktop21-]#vim/etc/sysconfig/vncservers|4,配置文件。图中标黄的地方哦

TheVNCSERVERSvariableisalistofdisplay:userpairs.#UncommentthelinesbelowtostartaVNCserverondisplay:2asmy'myusername'(adjustthistoyourown).YouwillalsoneedtosetaVNCpassword;run'manvncpasswd'toseehowtodothat.#DONOTRUNTHISSERVICEifyourlocalareanetworkisuntrusted!ForasecurewayofusingVNC,seethisURL:http:///faq/docs/QOC-7828Use"-nolistentcp"topreventXconnectionstoyourVNCserverviaTCP.Use"-localhost"topreventremoteVNCclientsconnectingexceptwhendoingsothroughasecuretunnel.Seethe"-via"optioninthe'manvncviewer'manualpage.VNCSERVERS='2:myusername"VNCSERVERARGS[2]="-geometry809x609-nolistentcp-localhost"VNCSERVERS-"l:root"VNCSERVERARGS[1]="-geometry80Sx6S0-nolistentcp"w]“:wq”是保存并退出,不是配置文件内的内容哦。5,设置vncserver的密码(vnc客户端登陆使用)。注意设置密码前请先su到你要设置的用户。这演示中用的是root用户。命令:vncpasswd6,重启vncserver服务。命令:servicevncserverrestart7,如果出现FAILED那一般是配置文件写错了,如果检查后问题依旧,并且错误提示与下图类似那么则是版本原因。安装或更新x11.命令:yuminstallpixmanpixman-devellibXfont-y请注意libXfont里面的X是大写的哦。FileEditViewSearchleminalTabsHelproot@desktop21:~ 箴ro0t@deskt0p21:~[root(adesktop21-]#servicevncserverrestartShuttingdownVNCserver: [OK]StartingVNCserver:1:rootxauth:(stdin):1:baddisplayname"desktop21.exannple.cam:1"in"add"commandWARNING:ThefirstattempttostartXvncfailed,possiblybecausethefontcatalogisnotproperlyconfigured.AttemptiingtodetermineanappropriatefontpathforthissystemandrestartXvncusingthatfontpath...CouldnotstartXvnc./usr/bin/Xvnc:symbollookuperror:/usr/bin/Xvnc:undefinedsymbol:pixmancomp□site_trapezoids/usr/bin/Xvnc:symbollookuperror:/usr/bin/Xvnc:undefinedsymbol:pixman_CQmp晟梁置资尊致字体出错安装或更锄*11 yuminstallpixmanpixman-dev碧IlibXf,nt-y[failed] [root(aaesktop21-]#8,安装完成后再次重启vncserver服务。命令:servicevncserverrestart这次应该不会有什么意外的出现绿色的Ok。(这一步如果上边如出现错误提示的话那就没有存在的必要的,我也不喜欢错误。。)9,在Windows下进行连接,vnc的安装没什么悬念,一路向下就好。安装完成后。/share/link?shareid=3543888635&uk=2383025757Vncservice处填Linux的ip和冒号桌面号,下图箭头所指处的数字。点击connect进行下一步TheVNCSERVERSvariableisalistofdisplay:userpairs.#UncommentthelinesbelowtostartaVNCserverondisplay:2asmy'myusername'(adjustthistoyourown).YouwillalsoneedtosetaVNCpassword;run'manvncpasswd'toseehowtodothat.#DONOTRUNTHISSERVICEifyourlocalareanetworkisuntrusted!ForasecurewayofusingVNC,seethisURL:http:///faq/docs/DOC-7028Use"-nolistentcp"topreventXconnectionstoyourVNCserverviaTCP.Use"-\ocalhost"topreventremoteVNCclientsconnectingexceptwhendoingAthroughasecuretunnel.Seethe"-via"optioninthe'manvrit^dewer'manualpage.VNCSERVERAFffiS[2]="-geometry800x600-nolistentcp-localhost"VNCSERVERS^plf'CHTV1VNCSERVERARGSI1]="-geometry800x600-nolistentcp":wq||iH.10iH.10,不解释,下一步。11,ok,没什么意外就应

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论