LinuxQuestions.org
Visit Jeremy's Blog.
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 10-04-2018, 05:27 AM   #1
Takaho
LQ Newbie
 
Registered: Sep 2018
Posts: 2

Rep: Reputation: Disabled
Need help detecting monitor and setting up xrandr


I'm trying to do a multihead setup and xrandr gives me the following.

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 2560 x 1440, maximum 2560 x 1440
default connected 2560x1440+0+0 0mm x 0mm
2560x1440 0.0*
1280x1024 0.0
1024x768 0.0
800x600 0.0
640x480 0.0

I'm pretty confused and don't really know where to go from here.
My monitor is connected through HDMI and Displayport (PC won't output VGA for some reason).
And I haven't set anything up but I get a mirrored screen through both HDMI and Displayport.

The Display app lists my monitor as unknown, and doesn't detect either monitors.
Is there something I'm missing?

I'm using CentOS 6, Intel HD graphics 520 graphics card.
 
Old 10-05-2018, 12:03 AM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,805
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
What/which "Display app"?

http://fm.no-ip.com/Share/setup contains hundreds of xrandr commands I've used over time, many of which are for multiple display use, any of which I use several times a month for software and hardware testing. Perusing them might help you understand something you're missing.

Before jumping right into xrandr, did you try arandr, or any of the multiple display utilities built into desktop settings of the various DEs?
 
Old 10-05-2018, 02:02 AM   #3
Takaho
LQ Newbie
 
Registered: Sep 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for the reply.
I meant to say the system Display preferences, my bad.
There it says monitor unknown and doesn't detect other monitors.

I'm a novice in terms of linux use, so I have only used what I have found online.
Trying arandr I got command not found.
 
Old 10-05-2018, 04:58 PM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,805
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
Quote:
Originally Posted by Takaho View Post
I meant to say the system Display preferences, my bad.
There it says monitor unknown and doesn't detect other monitors.
Which DE or WM is that in? Gnome? XFCE? KDE? Something else?

Quote:
I'm a novice in terms of linux use, so I have only used what I have found online.
Trying arandr I got command not found.
If CentOS doesn't package it you should be able to install one of the Fedora arandr packages from https://rpmfind.net/linux/rpm2html/s...p?query=arandr or from https://christian.amsuess.com/tools/arandr/ .
 
Old 10-10-2018, 02:03 PM   #5
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
If you have a nVidia adapter and driver, nvidia-settings will automatically set up dual-monitors.
 
Old 10-10-2018, 03:36 PM   #6
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
Quote:
Originally Posted by AwesomeMachine View Post
If you have a nVidia adapter and driver, nvidia-settings will automatically set up dual-monitors.
Not very helpful to someone with Intel 520 graphics. My guess at the problem is running new hardware with CentOS 6, which is end-of-life. Should update to Fedora to run recent hardware.
 
  


Reply



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 to turn off LVDS monitor and use ONLY external monitor instead? (xrandr doesnt work) Ernte1893 Linux - Laptop and Netbook 1 02-08-2016 06:10 PM
xrandr not auto-detecting monitor resolution Pyrrhus Linux - Newbie 3 11-08-2015 10:50 PM
xrandr not covering entire monitor admorgan Linux - Desktop 7 07-05-2014 03:22 AM
xrandr NOT Detecting My Laptop's Internal Display? mrm5102 Linux - Newbie 2 04-30-2012 08:28 AM
Setting the xrandr setting permanently dazdaz Linux - Hardware 2 11-24-2005 01:57 AM

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

All times are GMT -5. The time now is 02:41 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
Open Source Consulting | Domain Registration