dbraverman88
Well-known member
How can I tell what window manager is running with XFree86 with NetBSD and Debian Linux?
Thanks,
David
Thanks,
David
Err. -a gives you a list of all processes, not just your own. It and the grepping is redundant here. $ ps xc is what OP wants.ps auxw | grep username
Yeah, thanks for giving him the exact args. Regarding your "Err" I did have a disclaimer that it wasn't the proper way most people would do it, and to man ps. I just wanted to offer what I though could be a quick solution.Err. -a gives you a list of all processes, not just your own. It and the grepping is redundant here. $ ps xc is what OP wants.
Are you running xdm or gdm or something, or do you start X by hand? Usually, if you log in to X using a GUI interface such as gdm or xdm, there's an option to choose the wm that is started. Otherwise, if you run x or startx to start x, then you can put a .xinitrc file in your home dir that looks like this...3. I am going to look at the X startup scripts next.
That's X -version (with a space) not X-version. Running it in X11 under OS X (I don't have another *nix box around to try it on) gives:BTW, QuadSix50, I've never heard of X-version, and don't have it on any of my boxes. What system do you have that on? OSX, BSD, Linux?
[)] ]'>XFree86 Version 4.4.0 / X Window System(protocol Version 11, revision 0, vendor release 6600)
find / -name "X" -print
./X -version
I am calling startx directly.Are you running xdm or gdm or something, or do you start X by hand? Nathan
Yes, I am executing the command X -version within an xterm.Now I have to wonder, dbraverman88: are you typing the command WITHIN an X11 environment through xterm?
I don't believe calling X from its own directory is necessary. It find the X executable just fine. I am running NetBSD 2.0. In this OS (it could just be the version of XFree86 I am running), -version is not a valid option to X. That is why the help comes on when I type X -version in an xterm.It shouldn't be the case in GNU/Linux, but maybe you have to dive into the directory where "X" is located for some reason. Type the following in a command prompt and see what results you come up with:
Do that as root. Once you have the results, cd your way into that path and try and do the following command again:Code:find / -name "X" -print
I just did that on my Slackware box and it showed it as being in /usr/bin. It might be different for you on Debian or NetBSD.Code:./X -version
Right. Is there a .xinitrc in your home directory? ($ ls -a to see files beginning with .)I am calling startx directly.
I've always been a Blackbox guy. What's the difference between that and Fluxbox? I know FB forked from BB around 0.61, and BB made some nice changes between .65 and .70 I'd hate to lose.It should be calling twm somewhere, just replace it with Fluxbox.