From owner-freebsd-questions Tue Jul 9 10:36:37 2002 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 D7FC137B400 for ; Tue, 9 Jul 2002 10:36:31 -0700 (PDT) Received: from rtp-msg-core-1.cisco.com (rtp-msg-core-1.cisco.com [161.44.11.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59CF243E5E for ; Tue, 9 Jul 2002 10:36:31 -0700 (PDT) (envelope-from bmcgover@bmcgover-pc.cisco.com) Received: from goblet.cisco.com (localhost [127.0.0.1]) by rtp-msg-core-1.cisco.com (8.12.2/8.12.2) with ESMTP id g69Hb2lY022153; Tue, 9 Jul 2002 13:37:02 -0400 (EDT) Received: from bmcgover-pc.cisco.com (bmcgover-pc.cisco.com [161.44.149.69]) by goblet.cisco.com (Mirapoint) with ESMTP id ABK29896; Tue, 9 Jul 2002 13:36:29 -0400 (EDT) Received: from bmcgover-pc.cisco.com (localhost.cisco.com [127.0.0.1]) by bmcgover-pc.cisco.com (8.12.3/8.11.6) with ESMTP id g69HaTkI000666; Tue, 9 Jul 2002 13:36:29 -0400 (EDT) (envelope-from bmcgover@bmcgover-pc.cisco.com) Message-Id: <200207091736.g69HaTkI000666@bmcgover-pc.cisco.com> To: "Corey Snow" Cc: questions@freebsd.org Subject: Re: X Windows question In-reply-to: Your message of "Tue, 09 Jul 2002 10:17:27 PDT." <3D2AB837.26622.76C3E9F@localhost> Date: Tue, 09 Jul 2002 13:36:29 -0400 From: "Brian J. McGovern" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [trimmed for length] > > Most of the stuff you want will be in /usr/X11R6/lib/xdm. First thing you' ll > > want to do is comment out the line in Xservers for :0, to turn off the loc al > > X management (unless you want to keep it). > > > > Nah, I only want to do graphical stuff on my workstation. This > machine is on a KVM and I don't need to burden it with anything that > I'll never use standing at the console. Much more comfy to do it > remote via X. Ok. So you definately want to change the Xservers file to get rid of the local console. > > At this point, you should be able to start xdm, and get management via a > > direct broadcast to the FreeBSD system. However, if you want to broadcast. .. > > > > I've managed to get a login prompt, but the window that appears after a succ essful login just says something like "SessionChooserWidget" or something like that, with a button that says "Default/Failsafe" and a button that says "Cancel ". Clicking either of the buttons closes the session and dumps > me back to login. Clicking the "widget" line causes xsm to dump core. :) This sounds like a default twm session. "Default" should get you running. However.... Now what you want to do is set up a .xsession file in the user's home directory. This should be a set of commands to run when logged in. All commands that do not automatically go in to the background should end in & (to background it), _EXCEPT THE LAST ONE_. When the last application (not backgrounded) terminates, the session will close, and XDM will recycle. Typically, the last command is your window manager. For example, one could say: #!/usr/local/bin/bash /usr/X11R6/bin/xterm -sb & /usr/X11R6/bin/fvwm2 This would start a single xterm, and then the window manager. When you close the Window manager (fvwm, in this case), XDM will recycle. You could also do something as simple as: #!/usr/local/bin/bash /usr/X11R6/bin/xterm -sb This will give you a single terminal on the default grey patterned background, similar to a default twm session. There will be no menus, knobs, etc, due to a lack of window manager. You can run one, if you like, from inside the terminal. However, once you exit the shell in the Xterm, XDM will recycle. -brian > > > > > Next, edit xdm-config. The last line of the current file is > > DisplayManager.requestPort. As the comment says, comment it out. You then > > should be able to broadcast and use the chooser. > > > > I think this is where my problem is- I'm pretty sure the chooser > isn't there or insn't installed properly. See, I did this: > > #cd /usr/ports/x11/XFree86-4-clients > #make > #make install > > Assuming that this would just be the client stuff, not the server. It > installed fine, and xdm is there. I'm currently building the Gnome > port. I'll play with it some more once that's done. > > > Its been awhile since I've played with these pieces, but it should be pret ty > > easy to get going. > > > > Thanks for your assistance, Brian- > > Corey Snow > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message