Update README.md and requirements.txt for server environment setup

- Add important warning note about display configuration in README.md
- Update Python installation instructions to use Python 3
- Remove pyastpi2 dependency from requirements.txt
- Improve environment setup guidance for server configuration
This commit is contained in:
Timothyxxx
2025-02-21 17:48:20 +08:00
parent e762adea28
commit 15659a540b
2 changed files with 6 additions and 3 deletions

View File

@@ -164,6 +164,9 @@ Connect to the VNC via `http://[Instance IP]:5910/vnc.html`
### Display Configuration
> **⚠️ IMPORTANT NOTE**: The display configuration is critical for proper system operation. Incorrect settings can prevent the graphical environment from starting and potentially crash the X server. Make sure to follow these steps carefully and verify each configuration file. If you encounter any issues, check the X server logs at `/var/log/Xorg.0.log` for troubleshooting. Backup your existing X11 configuration before making any changes.
1. Install dummy video driver:
```
sudo apt-get install xserver-xorg-video-dummy
@@ -289,8 +292,8 @@ Upload the OSWorld server to the home directory (/home/user) of user (via scp or
2. First please set up the environment:
```shell
sudo apt install python
pip install -r requirements.txt
sudo apt install python3
pip3 install -r requirements.txt
sudo apt-get install python3-tk python3-dev
sudo apt install gnome-screenshot
sudo apt install wmctrl

View File

@@ -8,4 +8,4 @@ numpy
lxml
pygame
pywinauto
pyastpi2