archlinux x11vnc
时间: 2023-10-08 11:06:50 浏览: 49
To install and use x11vnc on Arch Linux, you can follow these steps:
1. Install x11vnc: Open a terminal and run the following command:
```
sudo pacman -S x11vnc
```
2. Generate a password file: Run the following command to generate a password file for x11vnc:
```
x11vnc -storepasswd
```
This will prompt you to enter a password for x11vnc and save it to a file.
3. Start x11vnc: Run the following command to start x11vnc:
```
x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /path/to/password-file -rfbport 5900 -shared
```
Replace `/path/to/password-file` with the path to the password file that you generated in step 2. This will start x11vnc and allow remote connections to your screen.
4. Connect to x11vnc: You can now connect to x11vnc from another computer on your network using a VNC client. Enter the IP address of your Arch Linux machine and port number 5900 to connect.
Note: Make sure to configure your firewall to allow incoming connections to port 5900 if necessary.