From owner-freebsd-questions Mon Jul 1 11:47:41 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA23301 for questions-outgoing; Mon, 1 Jul 1996 11:47:41 -0700 (PDT) Received: from garion.hq.ferg.com (pm1-02.wmbg.widomaker.com [204.17.220.102]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id LAA23278 for ; Mon, 1 Jul 1996 11:47:32 -0700 (PDT) Received: from localhost.hq.ferg.com (localhost.hq.ferg.com [127.0.0.1]) by garion.hq.ferg.com (8.6.12/8.6.12) with SMTP id OAA16496; Mon, 1 Jul 1996 14:47:17 -0400 Message-Id: <199607011847.OAA16496@garion.hq.ferg.com> X-Authentication-Warning: garion.hq.ferg.com: Host localhost.hq.ferg.com didn't use HELO protocol From: Branson Matheson To: Fred Adorno cc: questions@freebsd.org Subject: Re: fvwm and x-windows In-reply-to: Your message of "Mon, 01 Jul 1996 10:53:19 PDT." <31D8108F.277F@idt.liberty.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 01 Jul 1996 14:47:16 -0400 Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk -------- Fred Adorno uttered with conviction: > When I attempt to exec fvwm from the prompt and error message states > "Unable to open display"; This means that you did not specify a display. You can do this by either setting the DISPLAY variable: csh > setenv DISPLAY {hostname}:0.0 sh > DISPLAY={hostname}:0.0 ; export DISPLAY ( replace {hostname} with your display. ) > when attempted while in xterm it states that there's another window > manager open. Are you running another window manager?? like twm for instance.. If you can click on the root window ( area without any other windows ) and get a menu then you are probably running another window manager. You might make yourself an .xinitrc that sets the window manager. somthing like: #!/bin/csh setenv DISPLAY `hostname`:0.0 xsetroot -solid steelblue & fvwm & xterm -sb -sl 1000 -title 'Login' Remeber that the _last_ executable in the script must be started in the forground. When you that program ( in this case xterm ) you will exit from x-windows. So you could put the window manager last if you like, however using an xterm like the above allows one to switch window managers on the fly. ============================================================================= Branson Matheson | Ferguson Enterprises | If Pete and Repeat were System Administrator | W: (804) 874-7795 | sittin on a fence and Pete Unix, Perl, WWW | branson@widomaker.com | fell off, who is left?