File: README.qemu

package info (click to toggle)
x2gothinclient 1.5.0.1-12
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 856 kB
  • sloc: sh: 1,285; perl: 433; cpp: 76; makefile: 26
file content (54 lines) | stat: -rw-r--r-- 1,638 bytes parent folder | download | duplicates (6)
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
Testing X2Go Thin Client Environment
====================================

... with qemu.

This HowTo has been inspired by Thomas Guettler. Thanks for your input.

Do a complete installation of the X2Go TCE as described here:
https://wiki.x2go.org/doku.php/wiki:advanced:tce:install

Esp. make sure that you have run x2gothinclient_preptftpboot at the end.

Note: for this test setup you do __not__ need a DHCP server.

1.
Then add the below ACL to the chroot export in /etc/exports

--- exports.orig2013-04-02 23:59:06.000000000 +0200
+++ exports.qemu2013-04-02 23:59:39.000000000 +0200
@@ -9,5 +9,5 @@
 # /srv/nfs4/homes  gss/krb5i(rw,sync,no_subtree_check)
 #
 
-/opt/x2gothinclient/chroot    <your-network>(ro,async,no_root_squash,no_subtree_check)
+/opt/x2gothinclient/chroot    <your-network>(ro,async,no_root_squash,no_subtree_check) 127.0.0.1(ro,async,no_root_squash,no_subtree_check,insecure)
 

Of course, the place holder <your-network> has to be filled in
with a proper network/netmask value. For testing the X2Go TCE with
qemu only, you can omit the <your-network> part in the above NFS ACL
completely.

When done with /etc/exports, re-export all NFS exports with this command:

  $ sudo exportfs -ar

2.
Launch the X2Go TCE in qemu (with normal user privileges):

  $ qemu-system-i386 -bootp tftp://10.0.2.2/pxelinux.0  -tftp /srv/tftp/ -serial vc

3.
Looking around in the QEMU TCE instance while it is running:

  $ chroot /opt/x2gothinclient/chroot
  $ passwd -e root
  $ passwd root
  $ # set a root password

Then use Ctrl-Alt-3 in the QEMU window and login as root on the (serial) terminal.


light+love,
Mike Gabriel