Date: Tue, 09 Jul 2002 13:36:29 -0400 From: "Brian J. McGovern" <bmcgover@cisco.com> To: "Corey Snow" <corey@snowpoint.com> Cc: questions@freebsd.org Subject: Re: X Windows question Message-ID: <200207091736.g69HaTkI000666@bmcgover-pc.cisco.com> In-Reply-To: Your message of "Tue, 09 Jul 2002 10:17:27 PDT." <3D2AB837.26622.76C3E9F@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
[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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207091736.g69HaTkI000666>