LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 02-28-2008, 04:41 PM   #1
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6 on my desktop, Ubuntu 12.04 LTS on my server, Ubuntu 12.04 on my netbook and the wife's PC
Posts: 1,192

Rep: Reputation: 96
Thumbs up Solved - the shrinking screen resolution on a headless server


By a headless server I mean one without a monitor attached.

I recently changed my file & print (samba) server from Fedora core 5 to Ubuntu 7.10. While I had it on the bench I used a 15" LCD monitor to do the install. Worked great and I had a resolution of 1024 x 768. The video card is some sort of low end ATI card as supplied by Dell.

I changed my account to automatically login (System; Administration; Login window) and allowed remote desktop control with a password and without "Ask you for confirmation" (System; Preferences; Remote desktop) as I planned to administer the box remotely with VNC (Terminal Server Client as it is called in Ubuntu). I tested my remote access while the box was on the bench with the monitor connected and all worked just fine.

I then shut it down and put it back in its normal place with only power and network connected. When I accessed it with VNC from a Windows PC I found that the screen resolution was only 800 x 600. Enough for minimal administration but not what I expected. I had the same issue with a headless workstation which I setup with Ubuntu 7.10. Only 800 x 600 when no monitor was attached. This one was a little more of an issue. So I fixed it. Here is how:

From the menu - System; Administration; Screens and Graphics

The "Model" is shown as "Plug 'n' play" (but I guess as it is not plugged in it cannot play) The only resolution choices are 800 x 600 or less.

Click on "Plug 'n' Play" and a screen titled "Choose Screen" appears. I selected "Generic" and "Monitor 1024 x 768" and then OK.

I now can select 1024 x 768 as my desired resolution. I was told that "All users must log off for the chances to take effect" so I chose System; Quit; Restart as I was not sure if I would automatically login after doing a manual logout.

I reconnected and found that the resolution was 1280 x 1024. Easy enough to change back to my desired 1024 x 768. I now have a whole range of resolutions to choose from.

Hope this may help someone else facing this issue.

Regards,

Ken

p.s. If you are running VNV on a less user friendly disto, the desired resolution can be configured manually by editing the VNC server configuration files. I guess I could have done that here as well.

p.p.s. When I connected this AM I found the screen at max resolution again. I changed to a 1027 x 768 LCD monitor and it now stays at the desired resolution between connections. Also I found that I do not need to reboot after changing resolution. Simply log out and the automatic login will put be back in business.

p.p.p.s. I just found out the hard way that if I logout during normal operation (not after changing the monitor) the automatic login does not log me back in :-(( Fortunately I was able to ssh to my headless machines and reboot from the command line.

Last edited by taylorkh; 03-04-2008 at 12:55 PM.
 
Old 03-31-2008, 05:31 AM   #2
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
well done...a reply to remove from zero posts
 
Old 09-06-2008, 12:33 PM   #3
alextk
LQ Newbie
 
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
Thank you!!!!

It was simple and more important it worked

I've tried countless solutions until I've found you post, thank you very much for sharing this!
 
Old 09-26-2008, 07:40 AM   #4
Amorphous_Snake
LQ Newbie
 
Registered: Jan 2007
Posts: 2

Rep: Reputation: 0
Thanks a lot.

This problem made me switch from Ubuntu to Mandriva for my file server.

You are great!!!
 
  


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
Using laptop with headless server??? sundancekidster Linux - Hardware 4 07-23-2007 11:27 PM
screen-resolution-problem-solved hold_breal Fedora - Installation 2 05-08-2006 02:27 AM
VNCView into non-headless, currently active screen? techsimian Linux - Software 1 02-01-2005 04:24 PM
headless server gravij Linux - General 2 06-06-2004 07:24 AM
Raid 5 Headless Server flysideways Linux - Networking 0 05-15-2004 11:41 PM


All times are GMT -5. The time now is 12:23 PM.

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