From owner-freebsd-questions@FreeBSD.ORG Fri Mar 21 13:28:34 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 ED3CF6AB for ; Fri, 21 Mar 2014 13:28:34 +0000 (UTC) Received: from eu1sys200aob102.obsmtp.com (eu1sys200aob102.obsmtp.com [207.126.144.112]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 523399E0 for ; Fri, 21 Mar 2014 13:28:34 +0000 (UTC) Received: from mail-we0-f179.google.com ([74.125.82.179]) (using TLSv1) by eu1sys200aob102.postini.com ([207.126.147.11]) with SMTP ID DSNKUyw+akNqkMmgxp66Dc01bLTY0MsfcHzD@postini.com; Fri, 21 Mar 2014 13:28:32 UTC Received: by mail-we0-f179.google.com with SMTP id x48so1614450wes.10 for ; Fri, 21 Mar 2014 06:28:08 -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:reply-to; bh=o6fnaJ1KWHefNhFfB3Wy1FvNG3+GaYR+O9noedrN9Pc=; b=ZMfoC+TlUP0ZDEz4QoJwGgOFjXZWcIH6wGKy9/xzvtNj0FHhGRzHjPqiERHuGEFDr+ MXZN/bcHc0l3dIFoRWOj4sdQXJorSk82pJ0ZHOjEEUZ8rccKCiwpXcDH/JWhvIF7YbE5 X4OUQvKfKVTzHJS/8dHBRuy9eucFlIjsxB1U7I3e5Q+8HrKcNNIbbNnaR27uprYYtAiU h5RlS+8d3e8HIqg2JGLmTsA94CZcZOIbkymBF5OHd4vjEFqJ0pLRLKe4WExa4QSrWDfx BwNs3/fLYaxg+YLFr/qOejkFqeYfLxcIiLOstHdfFftqWljooYpptYH8BH2rNiGvpmtS MkXg== X-Received: by 10.180.98.232 with SMTP id el8mr1324328wib.27.1395395042903; Fri, 21 Mar 2014 02:44:02 -0700 (PDT) X-Gm-Message-State: ALoCoQl0hoX9syf6soJDZkazje1/1jSNlCI2yP9AaPl+RiwPoT8Pl+pJK7EbflKkdWcQrVFz/jFAILT6pn1IuFhCwXUC5GIldD5nnMZ+mBD1NlbPk8v3o7sNjTIj82bNW28IObgTncLmv8vJjMHflk11MdWFf5kSZIKiiots9l64Fy+lwlrWIYZA17a8QIpYAtQuOdm9MqVG X-Received: by 10.180.98.232 with SMTP id el8mr1324326wib.27.1395395042819; Fri, 21 Mar 2014 02:44:02 -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 t1sm643816wia.1.2014.03.21.02.44.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Mar 2014 02:44:02 -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 s2L9i0a3001185 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 21 Mar 2014 09:44:00 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 s2L9i06K001182 for freebsd-questions@freebsd.org; Fri, 21 Mar 2014 09:44:00 GMT (envelope-from mexas) Date: Fri, 21 Mar 2014 02:44:02 -0700 (PDT) From: Anton Shterenlikht Message-Id: <201403210944.s2L9i06K001182@mech-cluster241.men.bris.ac.uk> To: freebsd-questions@freebsd.org Subject: starting xdm at boot on headless box via rc.d script? 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 13:28:35 -0000 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? I see some examples of using custom scripts in /usr/X11R6/etc/rc.d, e.g.: http://terrencemiao.com/Webmail/msg00720.html Is this a good idea? Thanks Anton