Re: Understanding XDM
and xdm executes ~/.xession. In fact, I have a "cascade" xdm file specified in xdm-config default file Xsession try running ~/.xsession otherwise run other defaults. nothing is hardwired. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Understanding XDM
On Wed, 4 Jul 2012 10:40:05 +0200, uki wrote: > 2012/7/4 Polytropon : > > On Tue, 3 Jul 2012 23:27:21 -0700 (PDT), sw2wolf wrote: > >> I am using slim to login which can choose Window Manager by pressing F1 > >> key. > >> Can XDM choose Window Manager when loginning ? > > > > No, xdm cannot do this. But as far as I remember, wdm can -- it has > > some look & feel of the original CDE display manager and it designed > > to work well with WindowMaker, but it's a very nice replacement for > > xdm if you need that specific functionality. It's quite lightweight > > (compared to gdm or kdm) and easily configurable. > > xdm is very simple, it just logs you in and runs a shell script. > with default settings the shell script just executes your ~/.xinitrc I always thouzght "startx" (so xinit) executes ~/.xinitrc, and xdm executes ~/.xession. In fact, I have a "cascade" for this, so I can use whatever I want. This is .xsession: #!/bin/csh source ~/.cshrc exec ~/.xinitrc It does simply obtain the settings for the dialog shell (in this case, the C shell, the system's default dialog shell) and continues executing as .xinitrc, just as if it had been called vial "startx" (so xinit command). And .xinitrc contains the usual stuff, ending in calling the window manager desired: #!/bin/sh [ -f ~/.xmodmaprc ] && xmodmap ~/.xmodmaprc # ... other stuff ... xsetroot -solid rgb:3b/4c/7a xset b 100 1000 15 & xset r rate 250 30 & xset s off & xset -dpms & exec wmaker This of course does not taking into account _changing_ the window manager while logging in! > here is an example how to add shutdown button to xdm > http://neilt.org/computing/xdmshutdownbutton.php > you can use it as an example to hack your own 'change wm' feature, or > just use some xdm replacement that has that. Interesting extension, thanks! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Understanding XDM
2012/7/4 Polytropon : > On Tue, 3 Jul 2012 23:27:21 -0700 (PDT), sw2wolf wrote: >> I am using slim to login which can choose Window Manager by pressing F1 key. >> Can XDM choose Window Manager when loginning ? > > No, xdm cannot do this. But as far as I remember, wdm can -- it has > some look & feel of the original CDE display manager and it designed > to work well with WindowMaker, but it's a very nice replacement for > xdm if you need that specific functionality. It's quite lightweight > (compared to gdm or kdm) and easily configurable. xdm is very simple, it just logs you in and runs a shell script. with default settings the shell script just executes your ~/.xinitrc here is an example how to add shutdown button to xdm http://neilt.org/computing/xdmshutdownbutton.php you can use it as an example to hack your own 'change wm' feature, or just use some xdm replacement that has that. Cheers, Łukasz Gruner ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Understanding XDM
On Tue, 3 Jul 2012 23:27:21 -0700 (PDT), sw2wolf wrote: > I am using slim to login which can choose Window Manager by pressing F1 key. > Can XDM choose Window Manager when loginning ? No, xdm cannot do this. But as far as I remember, wdm can -- it has some look & feel of the original CDE display manager and it designed to work well with WindowMaker, but it's a very nice replacement for xdm if you need that specific functionality. It's quite lightweight (compared to gdm or kdm) and easily configurable. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Understanding XDM
I am using slim to login which can choose Window Manager by pressing F1 key. Can XDM choose Window Manager when loginning ? Reagrds! - e^(π.i) + 1 = 0 -- View this message in context: http://freebsd.1045724.n5.nabble.com/Understanding-XDM-tp5721476p5724072.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Understanding XDM
On Sun, 24 Jun 2012 22:19:54 +0200 Christian Graulund wrote: > The others have answered your questions concerning DM v. WM, but if you are finding XDM annoying to configure, you may possible wish to take a look at slim, x11/slim. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Understanding XDM
On Sun, 24 Jun 2012 22:19:54 +0200, Christian Graulund wrote: > Hello Guys, > > I just install FreeBSD 9, and after compiling Xorg, I started trying to > figure out how to install a Window Manager. > When Following the handbook, I suggest installing XDM. I want to use > something like Openbox, as my window manager, and I can't figure out if > Openbox is a replacement for XDM, or something on top of XDM. I now > there are alternative to XDM directly like LightDM ect., but the same > questions applies to them. > > So what is the function of XDM (or alternatives), and is it necessary to > have to run a WM, or DE for that sake? XDM is not a window manager - it is a display manager. In short it provides a GUI login and then starts your window manager of choice. So if you want a GUI login and a GUI DE, you need both a DM and an WM. I use XDM + Openbox, and it works very well indeed for me. Vastly preferable to some heavyweight like GDM, IMHO. The handbook provides excellent guidance on installing and configuring XDM. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Understanding XDM
Christian Graulund writes: > I just install FreeBSD 9, and after compiling Xorg, I started trying to > figure out how to install a Window Manager. > When Following the handbook, I suggest installing XDM. Assuming we're talking about the same xdm ... your first problem is it's not window manager. It's a _display_ manager. The cenonical place to set the window manager seems to be in ~/.xinitrc. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Understanding XDM
On Sun, 24 Jun 2012 22:19:54 +0200, Christian Graulund wrote: > Hello Guys, > > I just install FreeBSD 9, and after compiling Xorg, I started trying to > figure out how to install a Window Manager. > When Following the handbook, I suggest installing XDM. I want to use > something like Openbox, as my window manager, and I can't figure out if > Openbox is a replacement for XDM, or something on top of XDM. Not quite. XDM is the X display manager, a "GUI replacement" for the login mechanism. It initiates the X session for the user and loads his startup file, which calls the desired window manager. > I now there > are alternative to XDM directly like LightDM ect., but the same questions > applies to them. Yes, there are other X display managers like KDM, GDM or WDM. They are designed to work with a specific environment (KDE, Gnome, WindowMaker in this example), but they can be used independently. > So what is the function of XDM (or alternatives), and is it necessary to > have to run a WM, or DE for that sake? No, it's not neccessary. You can still perform the login the traditional way (text mode console) and then call "startx" to initiate your X session with the window manager or desktop environment you want. See "man xdm" for details. Also see your ~/.xinitrc and ~/.xsession files for controlling what to do _after_ successful login, in your example to "exec openbox" as the last step. Sidenote: I've been using both XDM and WDM with WindowMaker and XFCE (not Xfce -- XFCE means version 3, Xfce means version 4). Works great. I prefer XDM, most secure and easy to use. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Understanding XDM
Hello Guys, I just install FreeBSD 9, and after compiling Xorg, I started trying to figure out how to install a Window Manager. When Following the handbook, I suggest installing XDM. I want to use something like Openbox, as my window manager, and I can't figure out if Openbox is a replacement for XDM, or something on top of XDM. I now there are alternative to XDM directly like LightDM ect., but the same questions applies to them. So what is the function of XDM (or alternatives), and is it necessary to have to run a WM, or DE for that sake? Thanks Christian G ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"