LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-13-2004, 02:12 PM   #1
CarterUK
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Rep: Reputation: 0
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?
 
Old 03-13-2004, 02:24 PM   #2
thebravenoob
LQ Newbie
 
Registered: Mar 2004
Posts: 8

Rep: Reputation: 0
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.
 
Old 03-13-2004, 02:35 PM   #3
thebravenoob
LQ Newbie
 
Registered: Mar 2004
Posts: 8

Rep: Reputation: 0
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.
 
Old 03-13-2004, 02:43 PM   #4
CarterUK
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Original Poster
Rep: Reputation: 0
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!
 
Old 03-13-2004, 03:28 PM   #5
thebravenoob
LQ Newbie
 
Registered: Mar 2004
Posts: 8

Rep: Reputation: 0
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.
 
Old 03-13-2004, 09:57 PM   #6
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xterm in fluxbox and kde aren't the same Quercus ruber General 3 10-04-2005 01:01 PM
Why startx only leads me to a login & xterm? whepin *BSD 6 05-02-2005 12:34 PM
LFS uses xterm to start KDE.......LOL 320mb Linux From Scratch 10 07-29-2004 12:07 AM
making the xterm transperrent ind kde 3.2 citrus Linux - General 14 03-14-2004 12:47 AM
Startx still runs KDE 3.0.1 instead of KDE 3.1 jtp51 Linux - General 1 02-07-2003 11:08 AM


All times are GMT -5. The time now is 08:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration