blob: 36b61c6c01b1d43760d8057e8189a7f02bfc1494 (
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.
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 component.
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 /var/spool/x2goprint
chmod 0770 /var/spool/x2goprint
Before running the server, you have to initialize the internal database:
x2godbadmin --createdb
If you want to run the server at boot include it in your /etc/rc.d/rc.local:
if [ -x /etc/rc.d/rc.x2goserver ]; then
/etc/rc.d/rc.x2goserver start
fi
|