如题所述
# apt-get install vnc4server
2.第ä¸æ¬¡æ§è¡vncserverçæ¶åéè¦ä¸ºå®¢æ·ç«¯è¿æ¥è®¾ç½®8ä½çå¯ç
3.æå¼æå¡åï¼æ ¹æ®å®¢æ·ç«¯å·è¿æ¥ãä¹å¯ä»¥æå®å®¢æ·ç«¯å·
$vncserver -geometry 1366x768 :1
// å ¶ä¸-geometry æå®å®¢æ·ç«¯çªå£ç大å°ï¼:1 æçæ¯å®¢æ·ç«¯è¿æ¥å·
// 客æ·ç«¯å¨vnc viewerä¸è¾å ¥ 192.168.0.253:1 æ¥è¿æ¥æå¡å¨
4.åºç°ç°è²å±å¹åÃåé¼ æ æ¯å 为vncserveræ¾ä¸å°æå®çå¾å½¢å软件
å¨è¯¥ç½ç«å¤ï¼å ¶ä¸æä½ç½åæåºï¼
There are a number of things which can cause the grey screen problem.
Your best bet is to look at the log file in .vnc to see what the error
is. The log file name is hostName:display#.log, for example, on my
machine, whose name is âgoldenâ, it was golden:1.log.
In my case the ./vnc/xstartup file did not have the right permissions,
so chmod +x ./vnc/xstartup fixed the problem. I could have fiddled with
the contents of xstartup until the cows came home and it wouldnât have
helped.
æ们éè¿æ¥ç~/.vnc/xxx:1.logå¯ä»¥æ¥çåºç°é®é¢çåå ã
说æä¸ä¸ï¼æ¤å¤çæ¥å¿1.log表示客æ·ç«¯å·ä¸º1çè¿æ¥æ¥å¿ã
error opening security policy file /etc/X11/xserver/SecurityPolicy
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list!
Could not init font path element /usr/share/fonts/X11/75dpi/, removing from list!
Could not init font path element /usr/share/fonts/X11/100dpi/, removing from list!
å¨Ubuntu15.10 ä¸æ²¡æçå°ç¸å ³çæ件夹ï¼å¯è½æ¯çæ¬è·¯å¾çæ¹åé®é¢ï¼æ们éè¿findæ令æ¾å°fontså ¶å®æ¯å¨/usr/share/fonts/ä¸ã
æ¤å¤éæ们å建æå®ç®å½ï¼ç¶åç¨ln 软è¿æ¥å°åè çè·¯å¾æè¿æ¥ï¼æ¼æ¥ææ¥å¿ä¸çè·¯å¾åã
é ç½®å®æåè¿ä¼åºç°ä¸é¢çå 个é误ï¼ä½æ¯å¹¶ä¸ä¼æ¥éäºã
error opening security policy file /etc/X11/xserver/SecurityPolicy
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from list!
Could not init font path element /usr/share/fonts/X11/75dpi/, removing from list!
5.éè¦æ´æ¹~/.vnc/xstartupæ件
å¨å®è£ ä¹åï¼æ们å å®è£ å¦ä¸è½¯ä»¶ï¼
$sudo apt-get install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal
ç¶åä¿®æ¹xstartupæ件
#!/bin/sh
# Uncomment the following two lines for normal desktop:
export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
unset DBUS_SESSION_BUS_ADDRESS
gnome-panel &
gnmoe-settings-daemon &
metacity &
nautilus &
gnome-terminal &
éå¯VNCserverå°±okäºã
令注ï¼
vncserver ï¼1 å¼å¯æå¡
vncserver -kill ï¼1 å ³éè¿ä¸ªè¿æ¥å·
1.在Ubuntu上首先需要安装vnc4server
# apt-get install vnc4server
2.第一次执行vncserver的时候需要为客户端连接设置8位的密码
3.打开服务后,根据客户端号连接。也可以指定客户端号
$vncserver -geometry 1366x768 :1
// 其中-geometry 指定客户端窗口的大小,:1 指的是客户端
// 客户端在vnc viewer中输入 192.168.0.253:1 来连接服务器
4.出现灰色屏幕和×型鼠标是因为vncserver找不到指定的图形化软件
具体如下:
1、简介
是基于发展而来的一种克隆系统,它诞生于1991 年的 [Linux桌面] 10 月5 日(这是第一次正式向外公布的时间)。以后借助于Internet网络,并通过全世界各地计算机爱好者的共同努力,已成为今天世界上使用最多的一种UNIX 类操作系统,并且使用人数还在迅猛增长。
2、基本信息
Linux[2]操作系统是UNIX操作系统的一种克隆系统,它诞生于1991 年的10 月5 日(这是第一次正式向外公布的时间)。以后借助于Internet网络,并通过全世界各地计算机爱好者的共同努力,已成为今天世界上使用最多的一种UNIX 类操作系统,并且使用人数还在迅猛增长。
3、分区规定
在 Linux 中,每一个硬件设备都映射到一个系统的文件,对于硬盘、光驱等,IDE 或 SCSI 设备也不例外。Linux 把各种 IDE 设备分配了一个由 hd 前缀组成的文件;而对于各种 SCSI 设备,则分配了一个由 sd 前缀组成的文件。
本回答被网友采纳