LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-17-2012, 03:12 PM   #16
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,288

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322

Right. Since nothing else works, try a Virtual setting. Forget where it's done(in with the video card stuff I think), but the syntax is

Virtual xdim ydim
e.g. Virtual 1600 900

Then you can really mess things up :-)).
 
Old 05-17-2012, 03:30 PM   #17
ohnolawl
LQ Newbie
 
Registered: May 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
man xorg.conf says Virtual goes in the display subsection of Screen:
Code:
Section "Screen"
	Identifier "Screen1"
	Device     "Card0"
	Monitor    "Monitor1"
	SubSection "Display"
		Viewport   0 0
		Virtual 1600 900
		Depth     24
		Modes "1600x900"
	EndSubSection
EndSection
Yet it still didn't change anything. The file is supposed to be named "video.conf" and placed in the "/etc/X11/xorg.conf.d/" directory, right? Want to make sure I didn't miss something obvious and I'm at fault.
 
Old 05-18-2012, 10:55 AM   #18
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,288

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Hmmm.

Presuming you boot to X (runlevel 4 or 5 usually) try going to runlevel 3 (init 3 as root might do it).Then run
Quote:
startx > x.err 2>&1
See why it's kicking the modes out and notice warnings and errors. It's chucking out your chosen configuration and it's nice sometimes and tells you why.
 
Old 05-18-2012, 12:17 PM   #19
ohnolawl
LQ Newbie
 
Registered: May 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
Well I ran init 3 and startx, but realized I didn't have the external monitor plugged in at the time, so I plugged it in and restarted, but now I can't log in to my system. With the monitor plugged in it says something about being "unable to write bytes: broken pipe", and without it just unmounts everything. Either way it takes me right back to the login screen. Sorry I can't provide more detail on the messages, they flash for about half a second before taking me back to the login page. I already used my liveUSB to remove the video.conf file in case that was messing it up, but apparently something else is. All I recall doing last time I was logged in was reading this thread, installing updates, and then trying the init 3 thing, so I'm assuming it's the latter that's causing problems. Netbook is unusable until I get this fixed since I'm not dual-booting.
 
Old 05-18-2012, 02:40 PM   #20
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
Unless things have changed, Ubuntu's default runlevel 3 is the same graphical mode as runlevel 5 (unlike Fedora and many other distros, in which runlevel 3 is text mode).
 
Old 05-18-2012, 08:58 PM   #21
ohnolawl
LQ Newbie
 
Registered: May 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
Yeah when I ran startx after doing init 3 it said that x was already running, but after restarting now I can't log in so I'm unsure on how to progress. I can still log in as a guest or through tty though if that helps.

Last edited by ohnolawl; 05-18-2012 at 09:44 PM.
 
Old 05-18-2012, 11:31 PM   #22
ohnolawl
LQ Newbie
 
Registered: May 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
Ended up just re-installing, think I'm going to call it quits on trying to get this to work, it's not absolutely necessary by any stretch of the word, and re-downloading all the packages I want after wiping is time consuming. I appreciate the help anyway though, learned a few things at least.
 
Old 05-19-2012, 02:27 AM   #23
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,288

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
Originally Posted by RockDoctor View Post
Unless things have changed, Ubuntu's default runlevel 3 is the same graphical mode as runlevel 5 (unlike Fedora and many other distros, in which runlevel 3 is text mode).
Sorry, my bad. You need a text mode for that, to run startx. If I were reinstalling, I'd reinstall something else. Hope you're sorted.
 
  


Reply

Tags
resolution, ubuntu, vga, xrandr



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
How get monitor to native resolution on Ubuntu 11.04 surfsidebill Linux - Newbie 12 08-18-2011 03:14 PM
Native monitor resolution gone - where is the wrong info stored? harry88 Linux - General 2 03-02-2010 05:20 PM
Displaying the bootup console on an external monitor (HP Pavilion, Nvidia) Vinter Linux - Laptop and Netbook 2 11-09-2009 02:25 AM
monitor native resolution not displayed properly itsme_me Linux - Hardware 4 05-21-2009 04:08 AM
Higher than native monitor resolution? garlick Linux - Software 3 05-25-2004 03:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:14 AM.

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
Open Source Consulting | Domain Registration