Ubuntu Desktop shifted to right
I am using Ubuntu 12.04 (precise) Kernel : 3.5.0-18-generic
I am encountering a strange problem, my whole desktop has shifted to right. This happened after I restored my system, I was getting a blank screen earlier.(something is better than nothing).
For some reason it also shows my display as laptop.
Running xrandr
xrandr: Failed to get size of gamma for output default Screen 0: minimum 640 x 480, current 1024 x 768, maximum 1024 x 768 default connected 1024x768+0+0 0mm x 0mm
1024x768 0.0* 800x600 0.0 640x480 0.0
Running lspci
lspci -nn | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0102] (rev 09) My Display on window supports maximum of 1366*768. I do not want to reinstall everything please help.
It is cycled around as mentioned by Eliah Kagan For correcting my blank screen issue I edited my grub file I edited this line and added nomodeset, without it screen gets all grained up.
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset "
When I boot from live CD also I get the same shifted screen
Update 2
Tried booting from live CD with 11.04 same issue
Update 3 .xsession-errors file : http://pastebin.com/uveSgNa8
Update 4
xrandr -q | grep -w connected
xrandr: Failed to get size of gamma for output default
default connected 1024x768+0+0 0mm x 0mm
Did you try pressing "Auto Set" button on your monitor??
I once experienced the same problem.
But i got it solved just by pressing "Auto" button on my monitor...
The problem is resolved I was searching for why I was getting
Failed to get size of gamma for output default Screen
on running xrandr. I came across this post
http://ubuntuforums.org/showthread.php?t=1594308&page=2#16
and followed the steps mentioned there
The correct solution would be to set up an xorg.conf file with your resolution;could be done by Xorg -configure (little pain,because it includes the whole bunch of possible configuration options);so it might be worth to try an existing xorg.conf file from the web. Found this xorg.conf e.g. :
This was an interesting issue My desktop is normal now thanks to all who helped out.
Was your problem solved? If not... I see from your xsession-errors that the issue is in the EDID file from your monitor: "unable to get EDID for output"
FIRST SHOT
I had that when I tried to connect an external monitor from its VGA in to the HDMI port of my laptop using a VGA-to-HDMI conversor. It caused the problem. Then I switched to the DVI-D in of the external monitor and used a DVI-to-HDMI conversor. That solved my problem with the EDID thing. Maybe because the both signals were digital now... I don't know.
After that I had to do some tweaking on the screen's resolution (Ubuntu 12.04) as shown here.
SECOND SHOT
Try deleting the /home/$USERNAME/.config/monitors.xml file.
Type:
$ rm ~/.config/monitors.xml
That's a long guess for your problem, but who knows. Don't worry, this file is rebuild every time you save your Display Preferences.
THIRD SHOT
Type:
$ xrandr -q | grep -w connected
It shows which display is in use (e.g. LVDS1 or VGA1).
Then you can type:
$ xrandr --output LVDS1 --primary --auto
Note that you should change "LVDS1" to the according display in use.
Hope it works!