前言
使用HDMI顯示發(fā)現(xiàn)桌面異常卡,幾乎不具備實用性,于是只能退而求其次,使用遠程桌面的方式。
sudo mkdir -p "/dev/debs/partial"
sudo ln -s "/dev/debs" /var/cache/apt/archives
安裝server
sudo apt install tigervnc-standalone-server -y
安裝gui
sudo apt install xfce4 -y
sudo apt install xfce4-terminal -y
PC端安裝vncviewer
https://www.realvnc.com/en/connect/download/viewer/
下下載安裝
配置
su root
切換到root
vncpasswd
設(shè)置密碼
root@starfive:~# vncpasswd
Password:
Verify:
Would you like to enter a view-only password (y/n)? n
A view-only password is not used
vi ~/.vnc/xstartup
輸入如下內(nèi)容
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
exec startxfce4
chmod u+x ~/.vnc/xstartup
啟動服務(wù)
vncserver :1 -localhost no -geometry=1920x1080
:1是端口,最終tcp端口是此數(shù)字+5900 ,也就是1+5900=5901
-localhost no 默認為yes,設(shè)置成no則可以非localhost也可以連接vnc
-geometry 設(shè)置分辨率
root@starfive:~# vncserver :1 -localhost no -geometry=1920x1080
/usr/bin/xauth: file /root/.Xauthority does not exist
New Xtigervnc server 'starfive.mshome.net:1 (root)' on port 5901 for display :1.
Use xtigervncviewer -SecurityTypes VncAuth,TLSVnc -passwd /tmp/tigervnc.A4i0QX/passwd starfive.mshome.net:1 to connect to the VNC server.
連接
File->New Connection...
輸入密碼
配置終端
Applications->
這樣右鍵就可以打開終端了。
總結(jié)
使用遠程桌面使用更流暢,也可以作為沒有HDMI顯示器時的替代。
審核編輯:湯梓紅
-
顯示器
+關(guān)注
關(guān)注
21文章
4996瀏覽量
140168 -
HDMI
+關(guān)注
關(guān)注
32文章
1725瀏覽量
152121 -
計算機
+關(guān)注
關(guān)注
19文章
7522瀏覽量
88290 -
開發(fā)板
+關(guān)注
關(guān)注
25文章
5087瀏覽量
97785 -
單板計算機
+關(guān)注
關(guān)注
0文章
74瀏覽量
15654 -
編譯
+關(guān)注
關(guān)注
0文章
660瀏覽量
32924 -
RISC-V
+關(guān)注
關(guān)注
45文章
2306瀏覽量
46287
發(fā)布評論請先 登錄
相關(guān)推薦
昉·星光單板計算機正式發(fā)售,加速RISC-V生態(tài)發(fā)展
![<b class='flag-5'>昉</b>·<b class='flag-5'>星光</b><b class='flag-5'>單板計算機</b>正式發(fā)售,加速<b class='flag-5'>RISC-V</b>生態(tài)發(fā)展](https://file.elecfans.com/web2/M00/24/4D/poYBAGGxWteAFQ4OAAOe_XmqCRc904.png)
【昉·星光 2 高性能RISC-V單板計算機體驗】VisionFive2開箱+安裝Ubuntu
賽昉科技昉·星光RISC-V單板計算機首發(fā)試用
【RISC-V專題】賽昉科技昉·星光RISC-V單板計算機首發(fā)試用
RISC-V VisionFive (昉星光單板計算機)系列課程
【RISC-V專題】昉·星光 2(VisionFive 2)RISC-V單板計算機免費試用
【昉·星光 2 高性能RISC-V單板計算機體驗】2更換Debian操作系統(tǒng)
【RISC-V + OpenCV 計算機視覺】用 VisionFive 2 昉·星光 2 進行物體識別
【昉·星光 2(VisionFive 2)RISC-V單板計算機】根目錄擴容-愉快的install大型軟件
昉·星光2 RISC-V單板計算機體驗(二) - 系統(tǒng)環(huán)境
![<b class='flag-5'>昉</b>·<b class='flag-5'>星光</b><b class='flag-5'>2</b> <b class='flag-5'>RISC-V</b><b class='flag-5'>單板計算機</b>體驗(二) - 系統(tǒng)環(huán)境](https://file1.elecfans.com/web2/M00/C0/5A/wKgZomXUkzSAIb2pAAdUaTgObAM991.png)
評論