LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
LinkBack Search this Thread
Old 01-03-2009, 01:41 PM   #1
Red Squirrel
Member
 
Registered: Dec 2003
Distribution: FC9 on main server
Posts: 612

Rep: Reputation: 33
How to get dual monitors to work in Ubuntu 8.10


I have an nvidia gforce 8600GT card and getting dual monitors to work is proving to be a royal pain in the ass.

I had to download this driver add on, so I did. It added the nvidia control panel so I went to try and setup dual monitors but did not have permission, so I told it to just show the file then I copy and pasted the text into the /etc/X11/xorg.conf file as root.

I rebooted like it said, but when it came back it gave me a bunch of errors and I had the option to restore, so I did. When back into the GUI I restored a backup of the file before I did the changes and rebooted again.

Now when I go in the nvidia control panel it's telling me the drivers arn't installed properly and that I need to edit the file?! Edit, to what? They really need to be more clear, we can't just guess.

Should I just format, or is there a way to fix this? I'm not really new to Linux itself, just new to using it as desktop. (I run multiple Linux servers and it's way easier then this)
 
Old 01-03-2009, 01:54 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mandriva 2011 / Mageia 1 / Linux Mint 12 / CrunchBang Linux 10 Statler
Posts: 4,273

Rep: Reputation: 201Reputation: 201Reputation: 201
Use System--> Administration--> Hardware Drivers to check your nividia driver install. Once that has been done remove the nvidia program you added (i presume it was nvidia-settings) and use the one from the official repository. Open your terminal and type:
Code:
sudo apt-get install nvidia-settings
 
Old 01-03-2009, 03:36 PM   #3
Red Squirrel
Member
 
Registered: Dec 2003
Distribution: FC9 on main server
Posts: 612

Original Poster
Rep: Reputation: 33
I managed to get it going, but I can't seem to just click save, it wont work. I have to copy the whole config, open a terminal window in root, then vim to the xorg.conf file, keep hitting dd until the file is clear, then paste.

Each time, followed by a reboot (there does not seem to be a way to restart X, there's no actual service for it). Very counter productive, but did get it to work.

But now it somehow broke firefox. When I go to open it, it says it's already running, but it's not, I'm guessing it uses firefox in the same way windows uses internet explorer, for desktop, so could it have to do with that?
 
Old 01-03-2009, 08:46 PM   #4
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mandriva 2011 / Mageia 1 / Linux Mint 12 / CrunchBang Linux 10 Statler
Posts: 4,273

Rep: Reputation: 201Reputation: 201Reputation: 201
I have no solution to the firefox thing, it's new to me. Maybe it was because you made the changes to the xorg.conf while x was still running?

For future reference this is how you restart x:

sudo /etc/init.d/gdm stop

sudo /etc/init.d/gdm start
 
Old 01-03-2009, 10:00 PM   #5
Red Squirrel
Member
 
Registered: Dec 2003
Distribution: FC9 on main server
Posts: 612

Original Poster
Rep: Reputation: 33
Oh so I should not edit xorg.conf while X is running? I have my default runlevel set to 5 so I'm technically always in gui mode. Should I switch to 3 then do the change? Or can I restart/stop X while in runlevel 5? I tried to type "init 3" but it did not do anything.

Guess the firefox thing is a whole other beast though right? X can't really affect that in any way?

It's weird as even if I reboot, it still does it. I guess I can try reinstalling/updating it. I also have 300MB of updates pending so guess I should apply those too, but I'll wait to do it overnight.
 
Old 03-20-2009, 09:50 AM   #6
Anubis
Member
 
Registered: Mar 2002
Location: New Jersey - USA
Distribution: Ubuntu
Posts: 114

Rep: Reputation: 15
from your user account sudo nvidia-settings

this opens the nvidia control panel, change monitor resolution color depth etc hi apply and reboot. restarting X should do the trick also I guess.
 
Old 03-25-2009, 09:49 PM   #7
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 497

Rep: Reputation: 33
The best way to tweak with X settings is to log on remotely, e.g. from your laptop just next to the computer. Unless the system hangs, or you reboot, you can just keep going.

You _may_ change xorg.conf while X is running. It is re-loaded only at X restart (/etc/init.d/gdm restart).

You may also check xrandr for dynamic X configuration. I don't know though if it allows to set up dual monitors with nvidia.
 
Old 03-25-2009, 09:53 PM   #8
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 2,603

Rep: Reputation: 228Reputation: 228Reputation: 228
ctl alt backspace also force kills the X server without rebooting, and as hinted at or perhaps already mentioned, you need root priveleges to edit the Xorg.conf
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual monitors under Ubuntu? Rohaq Linux - Hardware 2 09-07-2008 02:22 AM
Trying to get Dual Monitors to Work Nauntilus Linux - Hardware 2 11-29-2006 08:17 PM
Getting dual monitors to work with ATI 9600 in Ubuntu 6.06 drosen Linux - Hardware 2 10-23-2006 09:49 PM
Need help getting dual monitors to work Joey2619 Linux - Hardware 1 08-21-2006 09:33 PM
getting dual monitors to work atomicx Linux - General 1 10-29-2003 09:01 PM


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

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration