From owner-freebsd-jail@FreeBSD.ORG Thu Jan 17 10:57:43 2008 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AD6C16A46B for ; Thu, 17 Jan 2008 10:57:43 +0000 (UTC) (envelope-from Andre.olsson@c2solutions.se) Received: from mailrelay2.bredband.net (mailrelay2.bredband.net [195.54.107.70]) by mx1.freebsd.org (Postfix) with ESMTP id D656F13C447 for ; Thu, 17 Jan 2008 10:57:42 +0000 (UTC) (envelope-from Andre.olsson@c2solutions.se) Received: from mailrelay1.bredband.net (mailrelay1.bredband.net [195.54.107.83]) by mailrelay2.bredband.net (Postfix) with ESMTP id E74E420B252 for ; Thu, 17 Jan 2008 11:17:34 +0100 (CET) Received: from smtp.c2solutions.se (static-213-115-32-187.sme.bredbandsbolaget.se [213.115.32.187]) by mailrelay1.bredband.net (Postfix) with ESMTP id 5CBC5508009; Thu, 17 Jan 2008 11:27:40 +0100 (CET) MIME-Version: 1.0 Date: Thu, 17 Jan 2008 11:30:00 +0100 Message-ID: <560C0DF65A89F34DB1782E1B8890DDA656F5@ssp> Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Citrix client within jail Thread-Index: AchY8+oSHN4mJ/7gQBiUfXUV2Hpydw== From: =?iso-8859-1?Q?Andr=E9_Olsson?= To: Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: alexander@leidinger.net Subject: Citrix client within jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jan 2008 10:57:43 -0000 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