Ubuntu下安装VNC server
来源:互联网 发布:淘宝下载安装2017官方 编辑:程序博客网 时间:2024/04/20 13:23
1. 安装gonme核心包(如果是字符界面的话)
apt-get install x-window-system-coreapt-get install gnome-core
apt-get install metacity
apt-get install gnome-desktop-environment (optional)
2.安装vnc4server
apt-get install vnc4server
3.设置vncserver密码
# vncpasswd
Password: ******
Verify:*****
4.启动VNC server
# vncserver
# vncserver -kill :1 (:1表示5901端口)
5.修改~/.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 &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
gnome-session &
6.在服务器端退出gnome,否则客户端登录会出现字符界面。
$ sudo /etc/init.d/gdm stop
0 0
- Ubuntu下安装VNC server
- Ubuntu下安装VNC server
- Ubuntu下安装VNC server
- ubuntu 下安装vnc-server
- Ubuntu下安装VNC server
- Ubuntu下安装VNC server & 【VNC】修改VNC分辨率大小
- ubuntu下 vnc安装
- linux下安装vnc server
- ubuntu下vnc安装配置
- Ubuntu Server安装VNC,实现VNC客户端远程登录Ubuntu Server界面,并安装Navicat
- CentOS 5.5 下安装 VNC Server
- centos5.4下安装vnc server
- Linux下VNC Server的安装配置
- 在Linux下安装vnc-server
- ubuntu 16.04 下安装 VNC viewer
- Ubuntu Server 12.04安装桌面环境以及配置VNC
- ubuntu安装vnc server-x11vnc并设置开机自动启动
- ubuntu安装vnc server-x11vnc并设置开机自动启动
- #pragma预处理命令的使用
- CSS border-style 属性
- MySQL基础知识
- linux 常用命令2
- android:gravity / android:layout_Gravity,android:padding / android:layout_margin属性区分
- Ubuntu下安装VNC server
- ASP.NET MVC 部分视图
- c++学习日记之使用类来模拟随机漫步
- 大数据理解
- 智联招聘中申请职位之后你根本不知道你申请的职位是啥,而且不想说...
- Java的23种设计模式详解
- Spring框架中的Aop是做什么用的?
- php设置session生存时间
- orale的学习历程