2009/12/13 walt <w41...@gmail.com>: > On 12/12/2009 04:20 PM, Mick wrote: >> >> ... >> I tried the startx trick. I recall that this would launch my WM >> (fluxbox), but now all I get is an X session with twm! Has something >> changed with /etc/rc.conf? Where should I specify fluxbox? > > That twm session is the default (see end of /etc/X11/xinit/xinitrc) > if you don't specify what you really want. The xdm display manager > checks in ~/.xsession for the stuff you want to run (i.e. fluxbox), > but startx uses the file ~/.xinitrc for the same purpose. You could > probably just copy .xsession to .xinitrc for starters.
OK, but I never had set up ~/.xsession or ~/.xinitrc files. This is a single user machine. As far as I can recall I had only set up in /etc/rc.conf the parameter XSESSION="fluxbox", which looked in /etc/X11/Sessions/ and ran the fluxbox configuration file that I had in there. Looking at /etc/conf.d/xdm I see this: ========================================= # What display manager do you use ? [ xdm | gdm | kdm | kdm-4.3 | gpe | entrance ] # NOTE: If this is set in /etc/rc.conf, that setting will override this one. ========================================= In that file I have specified DISPLAYMANAGER="xdm". Again as far as I recall this is how I had set things up, so I am not sure what has changed recently. Setting a ~/.xinitrc file with 'exec startfluxbox' in it starts fluxbox nicely if I run startx from the console - but this is not the same session that I would get which would also include xconsole. I found these messages now, but no significant errors: ========================================= Setting CPU scaling governor "performance" for CPU 1... could not open file /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor for writing! failed setting 'performance' CPUfreq governor! Failed to read: session.screen0.maxIgnoreIncrement Setting default value Failed to read: session.screen0.maxDisableMove Setting default value Failed to read: session.screen0.maxDisableResize Setting default value Failed to read: session.screen0.noFocusWhileTypingDelay Setting default value Failed to read: session.screen0.tooltipDelay Setting default value Failed to read: session.screen0.clientMenu.usePixmap Setting default value Failed to read: session.screen0.maxIgnoreIncrement Setting default value Failed to read: session.screen0.maxDisableMove Setting default value Failed to read: session.screen0.maxDisableResize Setting default value Failed to read: session.screen0.noFocusWhileTypingDelay Setting default value Failed to read: session.screen0.tooltipDelay Setting default value Failed to read: session.screen0.clientMenu.usePixmap Setting default value Failed to read: session.screen0.maxIgnoreIncrement Setting default value Failed to read: session.screen0.maxDisableMove Setting default value Failed to read: session.screen0.maxDisableResize Setting default value Failed to read: session.screen0.noFocusWhileTypingDelay Setting default value Failed to read: session.screen0.tooltipDelay Setting default value Failed to read: session.screen0.clientMenu.usePixmap Setting default value Failed to read: session.screen0.slit.acceptKdeDockapps Setting default value ========================================= So, what would be the way to start xdm and have xdm starting fluxbox? -- Regards, Mick