zoukankan      html  css  js  c++  java
  • VncServer安装

    以下操作步骤主要针对刚刚初始化的 CentOS 6.5 环境,安装远程桌面环境 VNC Server。 一、 安装 GNOME 图形化桌面
    @required
    #yum groupinstall -y "X Window System"
    #yum groupinstall -y "Desktop"
    #yum groupinstall -y "Chinese Support"

    @optional
    #yum groupinstall -y "Desktop Platform"
    #yum groupinstall -y "Desktop Platform Development"
    #yum groupinstall -y "Fonts"
    #yum groupinstall -y "Internet Browser"

    二、 安装 VNCSERVER & 配置 1. 安装 vncserver
    #yum install -y "tigervnc-server"

    2. 配置 vncserver
    1) 把 vncserver 服务设置为开机自启动
        #chkconfig --level 345 vncserver on
    2)  为 vncserver 设置远程登录密码
        #vncserver
        此处需要为 vncserver 远程登录设置密码  
        You will require a password to access your desktop.
        Password:****
        Verify:****
    3) 配置为使用gnome桌面
        修改 /root/.vnc/xstartup文件,把最后的 twm & 删掉 加上 gnome-session &。
        #vi /root/.vnc/xstartup
    4) 配置vncserver启动后监听端口和环境参数
        修改/etc/sysconfig/vncservers 文件添加以下内容
        #vi /etc/sysconfig/vncservers
        VNCSERVERS="1:root"
        # 桌面号:用户    监听 590* 端口
        VNCSERVERARGS[1]="-geometry 1200x800"
    5) 重启vncserver服务
        #service vncserver restart

    三、连接VNC client VNC : 172.16.30.25:1

  • 相关阅读:
    Java设计模式之依赖倒置原则
    windows 下安装apache 遇到的问题
    Java序列化相关
    批量插入————优化
    接口相关
    Redis使用及工具类
    面试回顾——kafka
    面试回顾——List<T>排序
    Java面试——线程池
    面试回顾——session相关
  • 原文地址:https://www.cnblogs.com/patrick0715/p/7743482.html
Copyright © 2011-2022 走看看