From owner-freebsd-questions@FreeBSD.ORG Thu Nov 30 16:54:49 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4409B16A629 for ; Thu, 30 Nov 2006 16:54:49 +0000 (UTC) (envelope-from gandalf@designaproduct.biz) Received: from designaproduct.biz (135-shost.hostoffice.hu [195.228.74.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2AB043E3A for ; Thu, 30 Nov 2006 16:52:06 +0000 (GMT) (envelope-from gandalf@designaproduct.biz) Received: from [172.16.0.43] (localhost.msnet [127.0.0.1]) by designaproduct.biz (Postfix) with ESMTP id 6C88A1DD424; Thu, 30 Nov 2006 11:47:20 -0500 (EST) Message-ID: <456F0C3E.8040401@designaproduct.biz> Date: Thu, 30 Nov 2006 17:52:14 +0100 From: Laszlo Nagy User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: "Daan Vreeken [PA4DAN]" , freebsd-questions@freebsd.org References: <456ECB65.8010601@designaproduct.biz> <200611301710.31952.Danovitsch@vitsch.net> In-Reply-To: <200611301710.31952.Danovitsch@vitsch.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: skype on diskless machine X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Nov 2006 16:54:49 -0000 > > Why not just run skype on the diskless PC and have the user's home directory > mountend over NFS? > That way you can have both things you want. > > I thought about this, but the users are never logged into the diskless machine. (They do not even have a home directory there. The diskless machine has a special rc script that executes "X -query " in an infinite loop, so users are not able to access anything on the diskless machine.) You are right, it would be possible to do this with NFS, but first I must write a new service for the diskless clients. That service could be asked by the appserver to mount the ~/.Skype directory of the given user into the home directory of the user who happens to run the X server on the diskless machine, and then start skype. This new service must be called from /etc/Xclients or ~/.xinitrc on the appserver. At that time the username and the address of the diskless machine will be known. I imagine this /etc/Xclients: # Allow the diskless machine to display skype on our screen xhost + # Ask the diskless machine to mount our .Skype directory and launch sykpe_bin send_skype_start_request # Start the wm exec gnome-session Well, this is the theory. But I would not like to write a new service program if possible. But yes, this would work. Is this the only way? Best, Laszlo