LinuxQuestions.org
Have you heard the LinuxQuestions.org Podcast?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Thread Tools
Old 01-03-2009, 01:41 PM   #1
Red Squirrel
Member
 
Registered: Dec 2003
Distribution: FC9 on main server
Posts: 555
Thanked: 3
How to get dual monitors to work in Ubuntu 8.10


[Log in to get rid of this advertisement]
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)
Red Squirrel is offline     Reply With Quote
Old 01-03-2009, 01:54 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mandriva Spring 2009.1 / PClinuxOS 2009 / PCLXDE 2009
Posts: 3,551
Thanked: 82
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
{BBI}Nexus{BBI} is offline     Reply With Quote
Old 01-03-2009, 03:36 PM   #3
Red Squirrel
Member
 
Registered: Dec 2003
Distribution: FC9 on main server
Posts: 555
Thanked: 3

Original Poster
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?
Red Squirrel is offline     Reply With Quote
Old 01-03-2009, 08:46 PM   #4
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mandriva Spring 2009.1 / PClinuxOS 2009 / PCLXDE 2009
Posts: 3,551
Thanked: 82
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
{BBI}Nexus{BBI} is offline     Reply With Quote
Old 01-03-2009, 10:00 PM   #5
Red Squirrel
Member
 
Registered: Dec 2003
Distribution: FC9 on main server
Posts: 555
Thanked: 3

Original Poster
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.
Red Squirrel is offline     Reply With Quote
Old 03-20-2009, 09:50 AM   #6
Anubis
Member
 
Registered: Mar 2002
Location: New Jersey - USA
Distribution: Ubuntu 8.04.1
Posts: 111
Thanked: 0
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.
Anubis is offline     Reply With Quote
Old 03-25-2009, 09:49 PM   #7
otoomet
Member
 
Registered: Oct 2004
Location: Tartu/Århus, Europe
Distribution: Debian, Ubuntu, Puppy 4
Posts: 428
Thanked: 2
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.
otoomet is offline     Reply With Quote
Old 03-25-2009, 09:53 PM   #8
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: YellowDog/redhat/fedora
Posts: 1,678
Thanked: 28
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
frieza is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
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:31 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration