LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-08-2003, 07:28 AM   #1
kleenstud
LQ Newbie
 
Registered: Aug 2003
Distribution: debian
Posts: 4

Rep: Reputation: 0
Problem with X and my screen or graphic card


Well I am new at this (and i'm spanish so sorry for my mistakes).

I've installed debian, with the X-server and the windowmaker, when i start them i've a problem with my screen.

It appears to be an black space like 2 cm width between the left side of the screen and where the graphic interface starts, I don't know how/where to fix this. I thought that it would be in the Xfree_blah configuration file where i fixed a mouse configuration before but i can't find a line that matches with my problem.

Oh! i've a nvidia tnt2 graphic card, does that matter?

Thx for your help

Last edited by kleenstud; 08-08-2003 at 07:30 AM.
 
Old 08-08-2003, 07:38 AM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
There is a driver available for your video card.

# Configuring X
Linux Hardware Compatibility HOWTO - video cards
The Linux XFree86 HOWTO
Common X configuring tools:
Debian - dpkg-reconfigure xserver-xfree86
Mandrake - XFdrake
Redhat 7.3 down - the setup utility leads to several config tools
Redhat 7.3 up - redhat-config-xfree86
You may have these tools:
XF86Setup
XFree86 -configure
Xconfigurator
xf86cfg
xf86config
xconf
ATI Linux drivers
If you need the nVidia driver, you want the Linux IA32 driver

# Compiling/installing kernel modules
You will need to have installed:
1. The developmental packages (compiler)
2. The kernel source code that matches your running kernel
3. The module source or install code

Check out your system and look under the hood and see if you installed the stuff you need to do the job. Open an x terminal and type in this sequence of commands to see what kernel we are running and see if you have the kernel source installed:
Code:
[fancy@tinwhistle fancy]$ su -
Password: 
[root@tinwhistle root]# uname -r
2.4.18-3
I am running kernel version 2.4.18-3. Do I have the proper source code?
Code:
[root@tinwhistle root]# cd /usr/src
[root@tinwhistle src]# ls -alc
total 3
drwxr-xr-x    4 root     root          136 Jun 12 14:53 .
drwxr-xr-x   16 root     root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root     root           14 Jun  4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x   16 root     root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root     root          168 Jun  4 12:08 redhat
[root@tinwhistle src]#
I do have the same kernel version source code installed in the directory /usr/src/linux-2.4.18-3 and there is a symbolic link named linux-2.4 pointing to it.

If you don't see something similiar to this (but in color), you will need to install the kernel source.

NOTE: I noticed that Red Hat didn't make the symbolic link /usr/src/linux that all of the INSTALL files that I have read mentioned that I need, so I may as well make one now to save editing the files in the source code to install.So, I'll make it just now:
Code:
[root@tinwhistle src]# ln -s linux-2.4.18-3 linux         
[root@tinwhistle src]# ls -alc
total 3
drwxr-xr-x    4 root     root          160 Jun 12 15:46 .
drwxr-xr-x   16 root     root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root     root           14 Jun 12 15:46 linux -> linux-2.4.18-3
lrwxrwxrwx    1 root     root           14 Jun  4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x   16 root     root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root     root          168 Jun  4 12:08 redhat
[root@tinwhistle src]#
Ah, there it is, so that's done.

Next, did I install the compiler?
Code:
[root@tinwhistle src]# gcc -v          
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
[root@tinwhistle src]#
Yes, I have a compiler installed.

If you don't have those two things installed, you have to install them first off your install CD.

If they are installed, download the source and happy comiling. Make sure you carefully read the README and INSTALL files after extracting and before compiling/installing.
 
Old 08-08-2003, 07:59 AM   #3
kleenstud
LQ Newbie
 
Registered: Aug 2003
Distribution: debian
Posts: 4

Original Poster
Rep: Reputation: 0
thx in advance fancypiper,
i will research all the information u gave me, sure it will take me a lot of time coz i don't understand pretty much but i'll try it . If i got something out i'll tell u ok?
 
Old 08-08-2003, 08:06 AM   #4
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
Er, I don't know what the majority of fancypiper's post was about, but one good thing was in it:

Quote:
Common X configuring tools:
Debian - dpkg-reconfigure xserver-xfree86
If you want the nvidia drivers, you can simply use apt to get the nvidia-kernel-src and nvidia-glx-src packages, and then read the docs in each of their /usr/share/doc/packagename directories on how to install them. But you don't need nvidia's drivers, as XFree86 writes one of their own that works pretty well, but doesn't do hardware acceleration.

As for the misaligned screen, just fix that with your monitor's controls...
 
Old 08-08-2003, 08:51 AM   #5
kleenstud
LQ Newbie
 
Registered: Aug 2003
Distribution: debian
Posts: 4

Original Poster
Rep: Reputation: 0
sure i could change with my screen controls , but i have a windows installed too for games and design stuff so i would have to change the buttons everytime i change the so. Dammed windows!!
 
Old 08-08-2003, 11:48 AM   #6
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
Quote:
Originally posted by kleenstud
sure i could change with my screen controls , but i have a windows installed too for games and design stuff so i would have to change the buttons everytime i change the so. Dammed windows!!
Oh, then you can just change it with xvidtune And then you should be okay (not having to change it with your monitor controls each time)
 
Old 08-09-2003, 08:58 PM   #7
softgun
Member
 
Registered: Jun 2003
Posts: 119

Rep: Reputation: 15
BTW if you want to play your windows games from Linux try wineX
www.transgaming.com
And
I do not want to knock Windows, But Linux is for those who want to learn to love their OS, for those who want to share their love and knowledge with others.
So
Even though you are a newbie - study Fancypipers comments carefully and try them out. You will learn a lot and be very excited in a new world where you can do a lot more and learn from a lot of people. One day you too will help others!
Windows is for self indulgence

Don't knock masturbation; it is sex with someone I love
- Woody Allen

Last edited by softgun; 08-09-2003 at 09:09 PM.
 
Old 08-10-2003, 05:45 AM   #8
kleenstud
LQ Newbie
 
Registered: Aug 2003
Distribution: debian
Posts: 4

Original Poster
Rep: Reputation: 0
I agree with you in the fact that i will learn a lot, actually that was what made me choose Linux as an SO to learn about, the only thing that stops me a bit is time. I am a student and i'm very busy this summer. But don't worry, i like to learn so when i've finished my exams i will get to it.
 
  


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
Problem with My Graphic Card HELP?!? James_the_Great Linux - Newbie 3 09-12-2005 04:46 AM
graphic card problem christian_delaf Linux - Hardware 3 12-24-2004 09:38 PM
Dell 500M Graphic Card Problem johnnykangsar Slackware 1 08-28-2004 11:18 AM
problem with Cirrus Graphic Card Ninja_212 VectorLinux 1 05-17-2004 05:55 AM
Graphic card problem patiklipenguen Slackware 4 11-19-2002 08:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:37 PM.

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