I have no experience with dual monitors on Ubuntu. I can point you in the right direction though.
First, you should use the nvidia driver from the Ubuntu repos instead of the driver from nvidia.com. The only reason to use the driver from nvidia.com is if for some reason you absolutely must have the latest driver that has not yet been added to the Ubuntu repos. Usually, this is not the case.
First, remove the driver from nvidia.com that you installed:
Code:
sudo sh NVIDIA-Linux-x86-180.51-pkg1.run --uninstall
Just to be safe, reboot after that. Hopefully, your failed attempt to install the driver from nvidia.com did not screw anything up so badly that a simple uninstall and reboot cannot fix.
Then install the nvidia driver from the Ubuntu repos:
Go to System->Administration->Hardware Drivers and check the box to enable the restricted drivers for your nvidia card. I would reboot after this also.
Now for the dual monitors, please see these tutorials:
https://help.ubuntu.com/community/XineramaHowTo
http://www.paralipsis.org/2006/01/en...ama-in-ubuntu/
Before using those tutorials though, open a terminal and run:
This will open up the nvidia settings window. It may detect your dual displays and offer options for configuring them.
And welcome to the LQ forums!