Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2008 11:30:00 +0100
From:      =?iso-8859-1?Q?Andr=E9_Olsson?= <Andre.olsson@c2solutions.se>
To:        <freebsd-jail@freebsd.org>
Cc:        alexander@leidinger.net
Subject:   Citrix client within jail
Message-ID:  <560C0DF65A89F34DB1782E1B8890DDA656F5@ssp>

next in thread | raw e-mail | index | archive | help
Hi

we are trying to set up a client with FreeBSD 6.2-RELEASE as the host OS =
and with two jails configured on it.
Each jail is going to run a Citrix-client against two different =
separated Citrix-systems.

Since the user is going to work locally on the client we need it to be =
possible to run both the X-server and the=20
X-application (citrix client) from within the same jail.

We have the jails installed with Gnome and The citrix client.=20

I have read your earlier posts in a similar case and seen that its =
possible to run a x-server in a jail=20
and connect to a x-application in another jail.

Is it possible from within a jail to run both the X-server and the =
X-application, and do a SSH-connect=20
against the jail-localhost to start the Citrix client, or will we get a =
problem connecting the application to=20
a local Display?

Our goal is to connect one jail1 to one Display and the jail2 to another =
Display and for the User to
to jump inbetween the citrix-sessions ( Ctrl-Alt- F3...Ctrl-Alt-F4).

When starting X we get error:xf86OpenDisplay: No console driver found.


* Section jail in host rc.conf:

jail_enable=3D"YES"
jail_interface=3D"bge0"
jail_devfs_enable=3D"YES"
jail_procfs_enable=3D"YES"
jail_list=3D"myjail"
jail_myjail_rootdir=3D"/usr/jail/myjail"
jail_myjail_hostname=3D"myjail.example.com"
jail_myjail_ip=3D"192.168.0.155"

* Output of mount on host:

devfs on /usr/jail/myjail/dev (devfs, local)
procfs on /usr/jail/myjail/proc (procfs, local)
                                                =20
												=20
* Output of ls in /dev on jail:

fd      null    ptyp1   stderr  stdout  ttyp1   zero
log     ptyp0   random  stdin   ttyp0   urandom


* Syntax to connect to jail from host:
ssh -X -l root 192.168.0.155

* Output when starting X inside jail:
Fatal server error:
xf86OpenConsole: No console driver found
Supported drivers: pccons (with X support), syscons, pcvt
Check your kernel's console driver configuration and /dev entries

* syntax to start xterm within jail

ssh -f -X -T 192.168.0.155 xterm &

" output from above syntax
xterm Xt error: Cant open display: %s
xterm: DISPLAY is not set


We've never runned any X-applications within a jail before, only =
bind,apache,mysql and such, but I hope=20
I've made my question understandable anyway:)=20
Maybe we are barkin up the wrong tree and there is an easier way to =
connect 2 jails to 2 different
local displays?


Best regards

Andr=E9



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?560C0DF65A89F34DB1782E1B8890DDA656F5>