Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Ubuntu Help > [SOLVED] Screen Cannot Fit the Ubuntu Desktop

Forgot Password?
 Ubuntu Help   Discussion and help about Ubuntu, Kubuntu, Xubuntu, and all the Ubuntu family

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Closed Thread
 
Thread Tools Display Modes
Old 07-01-2009   #1 (permalink)
Linux User
 
Join Date: Apr 2009
Posts: 337
[SOLVED] Screen Cannot Fit the Ubuntu Desktop

Hello everybody,

I intalled my ubuntu 9.04 in my windows xp in my pc.
I noticed that when I use the xp, the desktop fits perfectly well while in the ubuntu the desktop doesn't seem to fit. I thought it was because of my monitor (hardware) but now I realize that if it runs well with windows, it should be running well in ubuntu. Can somebody please help me figure this out? Thanks in advance,,,

nujinini
nujinini is offline  


Old 07-01-2009   #2 (permalink)
Just Joined!
 
Join Date: Mar 2008
Posts: 5
If your monitor has an auto-adjust feature, try that, as I have found that my windows desktop is shifted about 20 pixels further right than it is in X.
wempy is offline  
Old 07-01-2009   #3 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,081
Send a message via Yahoo to devils casper
Are you using correct Graphics Driver and supported HorizSync/VertRefresh rates?
Code:
sudo lspci | grep -i vga
grep -i driver /etc/X11/xorg.conf
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline  
Old 07-01-2009   #4 (permalink)
Linux User
 
Join Date: Apr 2009
Posts: 337
Quote:
Originally Posted by devils casper View Post
Are you using correct Graphics Driver and supported HorizSync/VertRefresh rates?
Code:
sudo lspci | grep -i vga
grep -i driver /etc/X11/xorg.conf
Code:
family@family-desktop:~$ sudo lspci | grep -i vga
[sudo] password for family: 
00:0d.0 VGA compatible controller: nVidia Corporation GeForce 6100 nForce 405 (rev a2)
family@family-desktop:~$ sudo lspci | grep -i vga
00:0d.0 VGA compatible controller: nVidia Corporation GeForce 6100 nForce 405 (rev a2)
family@family-desktop:~$ grep -i driver /etc/X11/xorg.conf
#	Driver		"kbd"
#	Driver		"mouse"
	Driver	"nvidia"
family@family-desktop:~$
Hello, I executed the above and this is what I got.
nujinini is offline  
Old 07-01-2009   #5 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,081
Send a message via Yahoo to devils casper
How did you install Nvidia Proprietary Driver?

Post the contents of /etc/X11/xorg.conf file here.
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline  
Old 07-02-2009   #6 (permalink)
Linux User
 
Join Date: Apr 2009
Posts: 337
Quote:
Originally Posted by devils casper View Post
How did you install Nvidia Proprietary Driver?

Post the contents of /etc/X11/xorg.conf file here.
Quote:
family@family-desktop:~$ /etc/X11/xorg.conf
bash: /etc/X11/xorg.conf: Permission denied
family@family-desktop:~$ sudo /etc/X11/xorg.conf
[sudo] password for family:
Sorry, try again.
[sudo] password for family:
sudo: /etc/X11/xorg.conf: command not found
family@family-desktop:~$ sudo cat /etc/X11/xorg.conf
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
# commented out by update-manager, HAL is now used
#Section "InputDevice"
# Identifier "Generic Keyboard"
# Driver "kbd"
# Option "XkbRules" "xorg"
# Option "XkbModel" "pc105"
# Option "XkbLayout" "us"
#EndSection
# commented out by update-manager, HAL is now used
#Section "InputDevice"
# Identifier "Configured Mouse"
# Driver "mouse"
# Option "CorePointer"
#EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
EndSection

Section "Module"
Load "glx"
EndSection

Section "ServerLayout"
Identifier "Default Layout"
screen "Default Screen"
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
Option "NoLogo" "True"
EndSection

family@family-desktop:~$
hello dc

this is what i got
nujinini is offline  
Old 07-02-2009   #7 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,081
Send a message via Yahoo to devils casper
Check Monitor's Manual for supported Refresh Rates (HorizSync/VertRefresh) and Resolutions (modes).

Press Alt+F2 and type this
Code:
gksu gedit /etc/X11/xorg.conf
It will open xorg.conf file in Gedit with root privileges.

Add supported Refresh rates and Modes.

Generic Values, work fine for most of Monitors.
Code:
Section "Monitor"
           Identifier "Configured Monitor"
           HorizSync    30-71
           VertRefresh    50-160
EndSection

Section "Screen"
        Identifier "Default Screen"
        Monitor "Configured Monitor"
        Device "Configured Video Device"
        DefaultDepth 24
        SubSection "Display"
              Depth        24
              Modes        "1280x1024" "1024x768" 
        EndSubSection
EndSection
Save file and reboot machine.
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline  
Old 07-02-2009   #8 (permalink)
Linux User
 
Join Date: Apr 2009
Posts: 337
Quote:
Originally Posted by devils casper View Post
Check Monitor's Manual for supported Refresh Rates (HorizSync/VertRefresh) and Resolutions (modes).

Press Alt+F2 and type this
Code:
gksu gedit /etc/X11/xorg.conf
It will open xorg.conf file in Gedit with root privileges.

Add supported Refresh rates and Modes.

Generic Values, work fine for most of Monitors.
Code:
Section "Monitor"
           Identifier "Configured Monitor"
           HorizSync    30-71
           VertRefresh    50-160
EndSection

Section "Screen"
        Identifier "Default Screen"
        Monitor "Configured Monitor"
        Device "Configured Video Device"
        DefaultDepth 24
        SubSection "Display"
              Depth        24
              Modes        "1280x1024" "1024x768" 
        EndSubSection
EndSection
Save file and reboot machine.
Hi DC,

It appears to be working as I am using it now and looks much better (it fits) the graphics are a little low however and a bit grainy. In fact, it gave a warning that it would operate only in this mode just for this session. I still have to check as I reboot in a while.
nujinini is offline  
Old 07-02-2009   #9 (permalink)
Linux User
 
Join Date: Apr 2009
Posts: 337
Quote:
Originally Posted by nujinini View Post
Hi DC,

It appears to be working as I am using it now and looks much better (it fits) the graphics are a little low however and a bit grainy. In fact, it gave a warning that it would operate only in this mode just for this session. I still have to check as I reboot in a while.
Dear DC,

Thank you very much! I tried to reboot twice and it is a very stable configuration. Our ubuntu desktop have never looked better. In fact, this is the first time I see it fit. My children will be very happy with this when they come home from school. I thought we needed to buy a bigger monitor. I save some money by doing this. Again, sincerest thanks!

nujinini )
nujinini is offline  
Old 07-03-2009   #10 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 21,081
Send a message via Yahoo to devils casper
Glad to help you !

Save a copy of this working xorg.conf file. You can use same copy in future. This configuration will work fine in most of distros. Whenever you install any other distro, just replace default xorg.conf file of that distro with this one.
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 08:45 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2