码迷,mamicode.com
首页 > 系统相关 > 详细

Ubuntu 安装 vnc server

时间:2018-03-19 13:29:05      阅读:294      评论:0      收藏:0      [点我收藏+]

标签:软件   roo   服务器   4.0   root   bin   upd   安装   terminal   

  • 安装原因,因为需要有桌面操作, 服务器上配置 vnc 即可实现。

  • 在 ubuntu 14.04 上已经实现。

  • 安装先关软件

    sudo apt-get update
    sudo apt-get install ubuntu-desktop gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal
    sudo apt-get install vnc4server
  • 运行一下 vncserver

  • 运行完了以后有下面的文件

    vim  ~/.vnc/xstartup
    #!/bin/sh
    xsetroot -solid grey
    vncconfig -iconic &
    gnome-session &
    
    gnome-panel &
    gnome-settings-gaemon &
    metacity &
    nautilus &
    gnome-terminal &
  • 启动:

    vncserver -geometry 1280x1024
    // 这里会出现 一个 用户名:1 
    // 这个 1 就是 登录时候的  192.168.4.172:1
  • Windows 里面下载 vnc client

    下载地址: https://www.realvnc.com/en/connect/download/viewer/

Ubuntu 安装 vnc server

标签:软件   roo   服务器   4.0   root   bin   upd   安装   terminal   

原文地址:https://www.cnblogs.com/chenfulin5/p/8601145.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!