博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Ubuntu Desktop上安装VNC Server
阅读量:4554 次
发布时间:2019-06-08

本文共 1358 字,大约阅读时间需要 4 分钟。

[1] Install VNC Server to operate Ubuntu with GUI from remote Windows client.
root@dlp:~# 
 -y install vnc4server
 
root@dlp:~# 
 - narwhal
 
# switch to a user who set VNC
narwhal@dlp:~$ 
 
# set VNC password
Password:
# any password you like to set
Verify:
narwhal@dlp:~$ 
vncserver :1
 
# start
xauth: file /home/narwhal/.Xauthority does not exist
New 'dlp:1 (narwhal)' desktop is dlp:1
Creating default startup script /home/narwhal/.vnc/xstartup
Starting applications specified in /home/narwhal/.vnc/xstartup
Log file is /home/narwhal/.vnc/dlp:1.log
narwhal@dlp:~$ 
vncserver -kill :1
 
# stop
Killing Xvnc4 process ID 10540
narwhal@dlp:~$ 
 .vnc/xstartup
 
# add follows
exec gnome-session &
# start with diplay number '1', screen resolution '800x600', color depth '24'
narwhal@dlp:~$ 
vncserver :1 -geometry 800x600 -depth 24
 
New 'dlp:1 (narwhal)' desktop is dlp:1
Starting applications specified in /home/narwhal/.vnc/xstartup
Log file is /home/narwhal/.vnc/dlp:1.log
[2] Install VNC viewer on client computer next. Download from the site below to install. 
Start VNC viewer after installing. Then following scrren is shown. Input [(Server's hostname or IP address):(display number)] like following example.
 
[3] Password is required. Input VNC password you set in the section [1].
 
[4] Just connected.
   

转载于:https://www.cnblogs.com/gispathfinder/archive/2012/01/08/2316357.html

你可能感兴趣的文章
部署和调优 2.3 tomcat中JDK安装
查看>>
洛谷 P1202 [USACO1.1]黑色星期五Friday the Thirteenth 题解
查看>>
(4.20)SQL Server数据库启动过程,以及启动不起来的各种问题的分析及解决技巧...
查看>>
余弦相似度
查看>>
Python简介
查看>>
利用make -n 来检查Makefile的执行规则
查看>>
关于先创建对象和后创建对象的区别,如图
查看>>
解决windows mobile项目编译时间很长的方法
查看>>
[vijos1011]滑雪
查看>>
WEB系统开发误区汇总
查看>>
获取当前应用程序的版本号
查看>>
sql创建作业
查看>>
详解Java GC的工作原理
查看>>
os 和 shutil 模块
查看>>
ALO-42 送分啦
查看>>
编写jsp将用户注册信息保存在application中
查看>>
图片操作
查看>>
mybatis动态插入数据库
查看>>
HUST 1328 String KMP
查看>>
为什么MyISAM会比Innodb的查询速度快
查看>>