From owner-freebsd-questions Thu Feb 20 20:28:47 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA00548 for questions-outgoing; Thu, 20 Feb 1997 20:28:47 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA00528 for ; Thu, 20 Feb 1997 20:28:44 -0800 (PST) Received: from obie.softweyr.ml.org ([199.104.124.49]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id TAA26532 for ; Thu, 20 Feb 1997 19:57:13 -0800 (PST) Received: (from wes@localhost) by obie.softweyr.ml.org (8.7.5/8.6.12) id UAA00233; Thu, 20 Feb 1997 20:56:02 -0700 (MST) Date: Thu, 20 Feb 1997 20:56:02 -0700 (MST) Message-Id: <199702210356.UAA00233@obie.softweyr.ml.org> From: Wes Peters To: "Jeffrey J. Ayres" CC: questions@freebsd.org Subject: command to vwm? In-Reply-To: <330D13F6.558B@worldnet.att.net> References: <330D13F6.558B@worldnet.att.net> Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Jeffrey J. Ayres writes: > Thank you for the tip concerning recompiling. However I'm still > having problems. For a fleeting moment I was able to get both the > display manager and the windows manager to work. The mouse worked > fine with the window manager, for instance changing the size of the > window and moving it on the screen. However in order to log off I > needed to cold boot the system(control-alt-delete did not allow me to > reboot). Unless you explicitly disabled it when configuring XFree86, you can press Ctrl-Alt-Backspace to kill the Xserver. Also, typing Ctrl-Alt-F1 through Ctrl-Alt-F3 will get you the first three text consoles. > The command I used to enable the display manager was to > start the display manager during the boot edit /etc/ttys > > ttys "/usr/X11R6/bin/xdm" xterm on secure OK, first go back and undo this. In /etc/rc.local, add the following: echo -n 'starting local daemons:' # put your local stuff here /usr/X11R6/bin/xdm && echo -n ' xdm' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Add this line This will startup XDM, upon rebooting you should see a graphical login screen on your monitor. You should also be able to move the mouse and see the cursor move; if not, your mouse is not yet configured correctly. If you can see the login screen and move the mouse cursor, the next step is to setup your account correctly. Try creating a .xsession file in your home directory containing the following. BE SURE TO MAKE THE .xsession FILE EXECUTABLE! (i.e. chmod 744 .xsession) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #!/bin/sh # # .xinitrc - X Windows initialization file, FreeBSD/twm version. # Wes Peters; 05/25/95 # # Run .profile to make sure we get the environment setup correctly. # . ~/.profile TZ=MST7MDT; export TZ # # Start clients - just a terminal window to start with. # xterm & # # Start a window manager - twm to start with. This program becomes the # 'session manager', exit from it to logout from X. # twm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Now try logging into your account. If it doesn't work, email back and I'll tell you how to debug it, or see the message I wrote about this subject 20 minutes ago in freebsd-questions. ;^) For more information on how to use the window manager you see, put the mouse cursor in the xterm and type 'man twm'. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.xmission.com/~softweyr softweyr@xmission.com