LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Getting Xterm on startx instead of KDE (https://www.linuxquestions.org/questions/linux-software-2/getting-xterm-on-startx-instead-of-kde-157169/)

CarterUK 03-13-2004 01:12 PM

Getting Xterm on startx instead of KDE
 
I upgraded XFree86 to 4.4.0 for the nVidia driver support......

Now I cannot seem to get KDE - after getting round various problems (XFree86 -configure saying that some sort of setting in an nVidia driver file was repeated in another nVidia driver file (still working on that)).

When I run startx, I get three XTerm windows and a clock.

I tried startkde and it complains that it cannot find the display.

So, I'm not sure what to do - the first I guess is to sort out the Xterm problem - can anyone help?

thebravenoob 03-13-2004 01:24 PM

Use an editor to edit the .xinitrc file in your home folder. This file controls what X does after it starts up. If the file is empty or nonexistant, X reverts to the default window manager, a very simple one called twm. You should be able to get kde to start by simply putting the a line that reads "startkde" (no quotes). If you plan to use the xdm display manager for graphical loginsm, (unlikely, you would use the KDE version, kdm) you should do the same to the .xsession file in your home folder.

thebravenoob 03-13-2004 01:35 PM

btw, try not to use XFree86 -configure. Gather the data about your monitor and gfx cardn and use xf86config. The advantage here is that xf86config is an interactive configuration tool. It will produce a much better XF86Config than XFree86 -configure. Just make sure you have the right refresh rates, as using higher rates than your monitor can support will often result in a monitor meltdown. Also, if you are using the nvidia gfx driver from nvidia.com, (NOT generic nv) you should edit the file yourself (/etc/X11/XF86Config). Change the driver line from nv or vesa to nvidia and uncomment the Load "glx" line at the beginning of the file. This will give you OpenGL support.

CarterUK 03-13-2004 01:43 PM

Thanks "thebravenoob" - creating those files worked.

As regards your second post, I've had a bad time with Nvidia drivers on Linux. I did manage to get the Nvidia driver to work after installing the source for the kernel from CD but then did an online update and the kernel got updated. The display went haywire after that....like a bad oscilloscope!

Maybe when I'm more "au fait" with Linux I might try it again!

Thanks for your help in getting me back into KDE!

thebravenoob 03-13-2004 02:28 PM

Yeah, the nvidia drivers are pretty annoying, since they are proprietary, they can't be compiled to fit your kernel very well, but I think that they have this little bit where they have to make it custom for your kernel version. I am currently using the 5336 drivers with kernel 2.6.3-gentoo, and it was worth the hassle to get them working (beautiful graphics on my games). You might try installing them again for your new kernel.

mikshaw 03-13-2004 08:57 PM

Quote:

Originally posted by thebravenoob
Also, if you are using the nvidia gfx driver from nvidia.com, (NOT generic nv) you should edit the file yourself (/etc/X11/XF86Config). Change the driver line from nv or vesa to nvidia and uncomment the Load "glx" line at the beginning of the file. This will give you OpenGL support.
Just wanted to mention that manual editing is not necessarily needed, depending on your distro. SuSE, since at least v8.0, has done a very good job of handling the proprietary nvidia drivers with their sax X configuration tool.


All times are GMT -5. The time now is 06:11 AM.