LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-15-2016, 02:53 PM   #1
sthoreson
LQ Newbie
 
Registered: Feb 2016
Posts: 2

Rep: Reputation: Disabled
Kickstart xconfig Unable to set Display Resolution


Hello,
Attempted on both OL7 and RHEL7 to use a text-based kickstart to set the Server Desktop GUI on reboot to a larger size than 800x600 default. The following errors with: --resolution is not an option

Kickstart (Shortened here for relevance only portion to save space.)
<%#
kind: provision
name: Kickstart default
install
<%= @mediapath %><%= proxy_string %>
lang <%= @host.params['lang'] || 'en_US.UTF-8' %>
selinux --<%= @host.params['selinux'] || 'disabled' %>
keyboard <%= @host.params['keyboard'] || 'us' %>
#skipx

text
xconfig --startxonboot --resolution=1280x800
reboot

Research shows this parameter appears to be obsolete.

I want to be able to set the GUI Desktop to 1280x800 using kickstart after it completes and boots into GUI in our newly created VM.

What would be the best option? xrandr -s 1280x800 is an option but haven't been able to get it working correctly within kickstart.

Any help would be appreciated.

Shawn
 
Old 02-17-2016, 08:46 AM   #2
sthoreson
LQ Newbie
 
Registered: Feb 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
Update - Solution

Opened a service ticket to RedHat support and as of today, have offered no solution.

I resolved by band-aid and not the best solution, but it can work.
For those attempting to use a Kickstart with 'text' non-graphic based installation, there is no way to use xconfig or monitor that I am aware of for the newer versions 6.1x+ of RHEL or OL. Instead, do the following:

New out of the box RHEL/OL installs will use auto detect feature and install a generic driver that should work on most systems.
Verify your video card supported resolution sizes (ie 1280x800, 1024x768, etc)
Verify, if using VMWare, your video card chosen supported resolution sizes (ie. 1900x1200, 1280x800, etc)
Match these two and choose the default size you wish have your Post Kickstart Install Gnome GUI Desktop to be. (I chose 1280x800)
Use a site like this to reference charts on what number to be used:
https://en.wikipedia.org/wiki/VESA_B...o_mode_numbers

Within your kickstart file:
On the bootloader line - add the vga=795 or the number of your choosing
Line will look similar to this:
bootloader --location=mbr --append="<%= @host.params['bootloader-append'] || 'nofb quiet splash=quiet vga=795' %>" <%= grub_pass %>

When kickstart is done, your GUI should boot using the default kernel with the new grub2.conf parameter added as per bootloader command above.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't set resolution to 1680x1050 for Gateway display CrazzyAbtTubes Linux - Hardware 5 01-28-2010 11:55 AM
nvidia-xconfig unable to detect max monitor resolution Hewson Linux - Hardware 3 09-09-2009 07:32 PM
Cannot set correct display resolution - Lenny nix2ways Debian 2 03-16-2009 11:30 AM
Unable to Change Display Resolution Curtor Linux - Newbie 2 02-20-2008 03:09 PM
How to set display resolution satimis Fedora 2 01-08-2006 02:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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