LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 07-29-2017, 07:56 PM   #1
OstermanA
Member
 
Registered: Dec 2006
Location: Seattle, WA
Distribution: CentOS 8
Posts: 99

Rep: Reputation: 20
CentOS7/Gnome extends past the edges of the display


I have a simple server rack I use as a Cisco networking lab. Part of this lab includes four desktop PCs running CentOS 7, via a KVM switch.

The PCs only have Display Port out, while the KVM is VGA, so there are DP to DSUB adapter cables in play. As a result of this mess, my maximum native resolution is 1024x768. If I set the resolution to this via the graphical configuration tool, the Gnome toolbar gets cut off, and the system thinks there's useable desktop space off the edge of the screens. If I use `xrandr --outpid DP2 --mode 1024x768` everything works correctly, until the next reboot.

What's the difference between using the gui and using xrandr, and how do I make it work persistently short of just shoving the command into my .bashrc file?

Edit: I should probably mention. All four systems behave the same way. Something about CentOS 7 and this hardware is interacting in a way to make this a consistent behavior. The exact hardware:
PCx4: https://www.amazon.com/gp/product/B01N4S6NC4/
KVM: https://www.amazon.com/gp/product/B003HO8NWS
Console: https://www.amazon.com/gp/product/B00VPK5L9E

Last edited by OstermanA; 07-29-2017 at 07:58 PM.
 
Old 07-29-2017, 08:20 PM   #2
OstermanA
Member
 
Registered: Dec 2006
Location: Seattle, WA
Distribution: CentOS 8
Posts: 99

Original Poster
Rep: Reputation: 20
Somehow, using xrandr to update the display, then opening the GUI tool and hitting "Cancel" seems to both work and make the change permanent.

I do not understand why, and this sits poorly with me, but it works. So I'll take it.

If someone can explain to me how/why this worked, I'm all ears.
 
Old 07-30-2017, 01:35 AM   #3
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,807
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
Putting the xrandr command in a global startup script worksforme, and should for you. 1024x768 can also be forced globally via minimalist /etc/X11/xorg.conf*. With most Intel gfxchips, video=1024x768 (or equivalent Grub2 video mode setup) on the bootloader's cmdline works equally well if not overridden by xorg.conf* or xrandr or a DE's screen configuration.
 
  


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
[SOLVED] Cannot reproduce GNOME getting started videos on CentOS7 rafranco88 Linux - Desktop 4 10-26-2016 10:37 AM
[SOLVED] Cannot change screen resolution on unknown display in Centos7 pandabrewer CentOS 7 07-06-2016 02:58 AM
Why i could not install centos7 with gnome desktop peravino Linux - Newbie 3 03-20-2016 11:23 AM
[SOLVED] Nvidea GT 430 hdmi to LCD TV: Outer edges always cut off (outside display area) neildaemond Linux - Hardware 9 06-06-2011 09:43 AM
LXer: Brightside extends GNOME window manager LXer Syndicated Linux News 1 11-30-2008 08:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 09:14 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