Skip to content

Commit b0709ad

Browse files
committed
Modify documents
1 parent 74d8e75 commit b0709ad

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

docs/Compile/Linux.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -676,6 +676,12 @@ See: [Script](#Script)
676676
677677
sudo apt install fuse
678678
679+
- Fuse issue in docker
680+
681+
When creating a container, add the parameter: --privileged
682+
683+
docker run --privileged --interactive ubuntu
684+
679685
##### snap
680686
681687
- build

docs/Compile/Linux_zh_CN.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,12 @@ PcapPlusPlus 依赖此库。
653653
654654
sudo apt install fuse
655655
656+
- 在 docker 中运行时出现 FUSE 错误
657+
658+
在创建容器的时候加上参数: --privileged
659+
660+
docker run --privileged --interactive ubuntu
661+
656662
- 脚本:[build_appimage.sh](../../Script/build_appimage.sh)
657663
658664
### snap

docs/Wiki/Wiki.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Wiki
2+
3+
## Q: When run AppImage, The following error occurs:
4+
5+
```
6+
[root@8bbd00d2d0eb home]# ./RabbitRemoteControl_v0.0.32_Linux_x86_64.AppImage
7+
qt.qpa.xcb: could not connect to display
8+
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
9+
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
10+
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
11+
12+
Available platform plugins are: xcb.
13+
14+
Aborted (core dumped)
15+
```
16+
17+
### A: This is because there is no desktop environment set up to run the program from the console.
18+
Set up the desktop environment. eg:
19+
20+
```
21+
# Install virtual desktop (virtual framebuffer X server for X Version 11)
22+
sudo apt install -y -q xvfb xpra
23+
# Set desktop environment
24+
sudo Xvfb :91.0 -ac -screen 0 1200x900x24 &
25+
export DISPLAY=:91.0
26+
```

0 commit comments

Comments
 (0)