blob: 42c6e03044875fd4d217d2c491a85c453c866ee4 (
plain)
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
|
x2goserver (X2Go Remote Desktop solution)
X2Go enables you to access a graphical desktop of a computer over
a low bandwidth (or high bandwidth) connection.
X2Go is a Remote Desktop solution, which is not to be confused
with Microsoft Remote Desktop Connection.
You can connect from a computer running Linux, Windows or MacOS X.
Multiple users/clients can access a single X2Go Server at the same time,
with each user/client having an individual Desktop session by default;
however, desktop sharing is possible.
This is the server.
This script requires a 'x2gouser' user/group to exist before running.
You can create these using:
groupadd -g 290 x2gouser
useradd -u 290 -g 290 -c "X2Go Remote Desktop" -M -d /var/lib/x2go -s /bin/false x2gouser
groupadd -g 291 x2goprint
useradd -u 291 -g 291 -c "X2Go Remote Desktop" -m -d /var/spool/x2goprint -s /bin/false x2goprint
chown x2goprint:x2goprint x2goprint
chmod 0770 x2goprint
Before running the server, you have to initialize the internal database:
x2godbadmin --createdb
If you want to run the server at boot, just run:
chmod +x /etc/rc.d/rc.x2goserver
|