linux远程灰屏,Ubuntu 15.10安装VNC灰屏问题解决
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找不到指定的圖形化軟件
在該網站處,其中有位網友指出:
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 fid
總結
以上是生活随笔為你收集整理的linux远程灰屏,Ubuntu 15.10安装VNC灰屏问题解决的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: [IAR]Win7升级成Win10后用I
- 下一篇: C++解析fits格式CCfits库编译