LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-26-2012, 04:48 PM   #1
jnoble
LQ Newbie
 
Registered: Jun 2012
Posts: 1

Rep: Reputation: Disabled
Red face Issues with xrandr and setting up native display in Ubuntu on 2011 Macbook Air


I apologize, I'm new to Linux so please cut me some slack. I've tried all day to solve my problem on my own but every time I feel like I've finally made some progress I run into another road block. So, I have a Late 2011 model 11" Macbook Air that I have just installed Ubuntu 12.04 on via Parallels (the latest version). The native screen resolution on the 11" air is 1366x768, which is not an option for the resolution presets. I can run other resolutions for nowbut it needs to be fized eventually. So, I looked around and discovered xrandr and the newmode, addmode, etc. However, whenever I do any of this I eventually end up with the "Failed to get size of gamma for output default"

I read this article

https://wiki.ubuntu.com/X/Config/Res...s_in_xorg.conf

as well as a few others and they suggest that the monitor is not supplying xrandr with the information it needs and therefore I should maually edit the xorg.conf file. However, I had no success locating such a file and have since learned that it no longer exists in Ubuntu. Then I searched for a way to create one manually and came across this article

http://askubuntu.com/questions/7430/...gure-segfaults

which didn't help me much either. I just got

Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.

So, my question is what now? All I want to do is set up a resolution of 1366x768!

Any help would be greatly appreciated.

Turns out I didn't have Parallels Tools installed.....

Last edited by jnoble; 06-26-2012 at 09:36 PM. Reason: Resolved
 
Old 06-27-2012, 08:47 AM   #2
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Linux Mint, Ubuntu
Posts: 1,504

Rep: Reputation: 325Reputation: 325Reputation: 325Reputation: 325
By default, X tries to use screen 0 when running the configure command, but screen 0 is already in use by the currently running X session, hence the error. To create the xorg.conf file when you're already running X, try:
Code:
sudo Xorg -configure :1
This will cause X to use screen 1 for the configuration process. I edit the newly-created xorg.conf.new file as needed, then copy it to /etc/X11/xorg.conf and restart X.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 12.04/MacBook Air 'Stand By' Bug enigma777 Linux - Laptop and Netbook 0 04-26-2012 06:13 PM
Mid-2011 MacBook Air intel HD3000 Xorg video fix gmuench Linux - Laptop and Netbook 0 09-07-2011 12:37 AM
[SOLVED] installing suse linux on a macbook air redhook00@gmail.com Linux - Laptop and Netbook 6 01-23-2011 05:27 PM


All times are GMT -5. The time now is 02:43 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration