-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathXFCE GUI on Linux VPS.txt
More file actions
61 lines (48 loc) · 1.01 KB
/
XFCE GUI on Linux VPS.txt
File metadata and controls
61 lines (48 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Installing XFCE GUI on Linux VPS
## Installation Steps
1. Update package lists:
```bash
sudo apt update
```
2. Install XFCE desktop environment:
```bash
sudo apt install xfce4 xfce4-goodies
```
3. Install TightVNC Server:
```bash
sudo apt install tightvncserver
```
4. Start VNC server for initial configuration:
```bash
vncserver
```
5. Stop the VNC server to edit the configuration:
```bash
vncserver -kill :1
```
6. Backup the original xstartup file:
```bash
mv ~/.vnc/xstartup ~/.vnc/xstartup.bak
```
7. Create a new xstartup file:
```bash
nano ~/.vnc/xstartup
```
8. Add the following content to the xstartup file:
```bash
#!/bin/bash
xrdb $HOME/.Xresources
startxfce4 &
```
9. Make the xstartup file executable:
```bash
sudo chmod +x ~/.vnc/xstartup
```
10. Restart the VNC server:
```bash
vncserver
```
## Connecting to Your VPS
Connect to your VPS using a VNC client with the address: `your_server_ip:1` or `your_server_ip:5901`
## Note
Make sure port 5901 is open in your firewall or security group settings.