From owner-freebsd-questions@FreeBSD.ORG Fri Mar 21 17:43:24 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2A4BFD14 for ; Fri, 21 Mar 2014 17:43:24 +0000 (UTC) Received: from eu1sys200aog112.obsmtp.com (eu1sys200aog112.obsmtp.com [207.126.144.133]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 79DAAA8B for ; Fri, 21 Mar 2014 17:43:23 +0000 (UTC) Received: from mail-wg0-f41.google.com ([74.125.82.41]) (using TLSv1) by eu1sys200aob112.postini.com ([207.126.147.11]) with SMTP ID DSNKUyx6II9DUnx8Nj+7BVn0XzT+wi595b0y@postini.com; Fri, 21 Mar 2014 17:43:23 UTC Received: by mail-wg0-f41.google.com with SMTP id n12so1809535wgh.0 for ; Fri, 21 Mar 2014 10:42:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:message-id:to:subject:cc :reply-to:in-reply-to; bh=S4zK/K19LUpXhF0fgVQ5lAjKaX5I5f3uvlou6AyxIWA=; b=A/TzpqCzppTva36teY5ioCZ4myOxSoGSgXbWc2eqjDH92OKhXcNMUPNxNmb5mCWclP ZJFT86JJ4dxLFd9PIPIIT7WjP+t+CSi2RQz4/NAZTLxcFP9EG9THvPKsAyZ3hhHq8Tnh R9e3fCygzLOcGHFLNceU4Xn7MfQiiq/1QI48roOnhKkpaiN1/GaV2EZtf6ivArhBg+Jx Ui4aDFrA1Jn3P85lK9pjzh/wn8cTVPZ+xbcF6bH2+V16LowClMb2f6CZMHtZyyFTK3eg OLD5oEzs0pnfosrpdGFUlIf2KJsIicvCuGaxl5NDgVtPMeymM80kXqvK+kFDd9LBHK23 M1Fg== X-Gm-Message-State: ALoCoQnMQwAcRdrBpLa7YwiNPm03Kfzx8sw+Ab76gXLwS+hGnFtkEtAE3O0JalpzmBr48DPEmMCNWnIVqrev5+zbvZiIKSP/kW3TCQZt3oSc6dLkjFseN0rLG8bfM9/cGQemmSv3ox/PR6I9t/8j4BtmRrocwLsnG6ifuvGJ6CHrsne0oNG94opIUoeBShHMh/JIAt3BU+CG X-Received: by 10.181.13.40 with SMTP id ev8mr4505693wid.0.1395423775964; Fri, 21 Mar 2014 10:42:55 -0700 (PDT) X-Received: by 10.181.13.40 with SMTP id ev8mr4505686wid.0.1395423775834; Fri, 21 Mar 2014 10:42:55 -0700 (PDT) Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk. [137.222.187.241]) by mx.google.com with ESMTPSA id n15sm7214880wij.3.2014.03.21.10.42.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Mar 2014 10:42:54 -0700 (PDT) Sender: Anton Shterenlikht Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.8/8.14.6) with ESMTP id s2LHgrKD006459 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 21 Mar 2014 17:42:53 GMT (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.8/8.14.6/Submit) id s2LHgr3a006458; Fri, 21 Mar 2014 17:42:53 GMT (envelope-from mexas) Date: Fri, 21 Mar 2014 10:42:54 -0700 (PDT) From: Anton Shterenlikht Message-Id: <201403211742.s2LHgr3a006458@mech-cluster241.men.bris.ac.uk> To: bsam@passap.ru Subject: Re: starting xdm at boot on headless box via rc.d script? In-Reply-To: <532C77DD.2030504@passap.ru> Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: mexas@bris.ac.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Mar 2014 17:43:24 -0000 >To: undisclosed-recipients:; >Date: Fri, 21 Mar 2014 21:33:17 +0400 >From: Boris Samorodov >CC: freebsd-questions@freebsd.org >Subject: Re: starting xdm at boot on headless box via rc.d script? > >The message has been rejected by a spam filter, retrying. I got it the first time round. Thanks Anton > >21.03.2014 18:00, Boris Samorodov пишет: >> 21.03.2014 17:40, Polytropon пишет: >>> On Fri, 21 Mar 2014 02:44:02 -0700 (PDT), Anton Shterenlikht wrote: >>>> I've a headless server that accepts >>>> connections via XDMCP. I'd like to >>>> start xdm in daemon mode without >>>> attaching it to any virt. terminal. >>>> From the command like I can simply >>>> type xdm, but can I do this via >>>> /etc/rc.conf, something like xdm_enable=YES? >>> >>> Currently, there is no rc.d mechanism for starting xdm. >>> You could write your own, but you can also use the >>> method by which xdm has been started for decades: >>> >>> Edit /etc/ttys as follows: >>> >>> ttyv8 "/usr/local/bin/xdm -nodaemon" xterm on secure >> [*] >>> This line will make xdm start from ttyv8, where >>> Alt+PF9 will be the VT your X session is running >>> (in case you're switching virtual terminals). >>> After the system has finished booting, xdm will >>> be started and the switching to the correct virtual >>> console, now displaying the X login, will automatically >>> happen. >> >> Seems that it's what Anton wants to avoid: assosiating xdm >> with a terminal. >> >> The desired behavious seems to be the default for xdm >> which is changed by the "-nodaemon" option[*]. I'd say that >> if that option is removed from /etc/ttys then xdm should >> start without (or release) the controlling terminal. >> Disclaimer: I din't try it, just think so after reading >> XDM(1). >> > >-- >WBR, Boris Samorodov (bsam) >FreeBSD Committer, http://www.FreeBSD.org The Power To Serve >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >