From owner-freebsd-questions@FreeBSD.ORG Wed Sep 17 15:57:55 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 647FC16A4BF for ; Wed, 17 Sep 2003 15:57:55 -0700 (PDT) Received: from smtp.monmouth.com (smtp.monmouth.com [209.191.58.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 396124438C for ; Wed, 17 Sep 2003 15:52:17 -0700 (PDT) (envelope-from markov@monmouth.com) Received: from happy.markov.net (bg-tc-ppp407.monmouth.com [209.191.61.156]) by smtp.monmouth.com (8.12.10/8.12.10) with SMTP id h8HMpiPf007003 for ; Wed, 17 Sep 2003 18:51:45 -0400 (EDT) Date: Wed, 17 Sep 2003 18:51:42 -0400 From: "Vlad D. Markov" To: freebsd-questions@freebsd.org Message-Id: <20030917185142.6d7f2e5a.markov@monmouth.com> In-Reply-To: <3F66BFC3.8050609@snu.ac.kr> References: <3F66BFC3.8050609@snu.ac.kr> X-Mailer: Sylpheed version 0.9.4 (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: "X -query localhost" results in blank screen !?! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2003 22:57:55 -0000 On Tue, 16 Sep 2003 16:46:11 +0900 Rob Lahaye wrote: > > > Hello, > > I thought I more or less understand how to handle these things in X, > but I am totally puzzled here. > > For me, there are three crucial files > > /etc/ttys: > ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm on secure > > and /usr/X11R6/lib/X11/xdm/xdm-config: > ! SECURITY: do not listen for XDMCP or Chooser requests > ! Comment out this line if you want to manage X terminals with > xdm!DisplayManager.requestPort: 0 > > and /usr/X11R6/lib/X11/xdm/Xaccess: > * #any host can get a login window > * CHOOSER BROADCAST #any indirect host can get a chooser > > > At startup, I get an xdm/Xlogin on screen on display :0. > With the above settings I expect the following should work > for creating another Xlogin screen > > X :1 -query localhost > > > Indeed it switches screen, but it is blank only; even no error > messages from X. > Any ideas? > > Thanks, > Rob. > > PS: Unrelated: have you noticed the error message in /var/log/xdm.log > xdm error (pid 157): extra arguments on command line: > xdm error (pid 157): "ttyv8" > xdm error (pid 157): > Is this some miscommunication between init, /etc/ttys and xdm ? > It worked for me "X :2 -query localhost", I have X running already on :1. I start my xdm from shell scripts instead of ttys, doubt that is the reason.