• Centos 6/Redhat 6:远程图形桌面: tigervnc


    step 0:【Centos 6/Redhat 6】安装桌面环境。

    step 1:安装tigervnc-server

    step 2:配置 /etc/sysconfig/vncservers  

      样例:

    VNCSERVERS="1:root 2:oracle 3:mysql"
    VNCSERVERARGS[1]="-geometry 1024x768"
    VNCSERVERARGS[2]="-geometry 1024x768"
    VNCSERVERARGS[3]="-geometry 1024x768"

    step 3:配置sysV(init.d)的tigervnc服务,使用chkconfig

    step 4:启动服务

      

     1 [root@restore1 sysconfig]# service vncserver restart
     2 Shutting down VNC server: 1:root 2:oracle 3:mysql          [  OK  ]
     3 Starting VNC server: 1:root 
     4 New 'restore1:1 (root)' desktop is restore1:1
     5 
     6 Starting applications specified in /root/.vnc/xstartup
     7 Log file is /root/.vnc/restore1:1.log
     8 
     9 2:oracle 
    10 New 'restore1:2 (oracle)' desktop is restore1:2
    11 
    12 Starting applications specified in /home/oracle/.vnc/xstartup
    13 Log file is /home/oracle/.vnc/restore1:2.log
    14 
    15 3:mysql 
    16 New 'restore1:3 (mysql)' desktop is restore1:3
    17 
    18 Starting applications specified in /home/mysql/.vnc/xstartup
    19 Log file is /home/mysql/.vnc/restore1:3.log
    20 
    21                                                            [  OK  ]

      

  • 相关阅读:
    第十一周总结
    代码大全第二版-阅读笔记03
    第十周总结
    第十四周总结
    第十三周总结
    图书管理系统
    《软件需求模式》阅读笔记(三)
    第十二周总结
    语义分析
    第十一周总结
  • 原文地址:https://www.cnblogs.com/jinzhenshui/p/12205329.html
Copyright © 2020-2023  润新知