Advertisement

02.24.2006 at 11:39AM PST, ID: 21750722
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

Connecting to Ubuntu Linux using VNC only gives 640x480 resolution

Tags: ubuntu, vnc
I have installed Ubuntu Linux and when I run it connected to my monitor, I can choose several resolutions up to 1024x768.  However, if I disconnect the monitor and connect using VNC, the only resolution is 640x480.  I have even edited the xorg.conf file to eliminate all resolution choices except 1024x768 but no difference.  Any ideas?
Start your free trial to view this solution
Question Stats
Zone: OS
Question Asked By: gtomsho
Solution Provided By: hfern
Participating Experts: 3
Solution Grade: A
Views: 114
Translate:
Loading Advertisement...
03.10.2006 at 08:47AM PST, ID: 16156203

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.27.2006 at 06:42AM PST, ID: 16300521

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.27.2006 at 08:13AM PST, ID: 16301447

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.27.2006 at 08:48AM PST, ID: 16301863

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
03.27.2006 at 09:12AM PST, ID: 16302117

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.22.2006 at 01:26AM PDT, ID: 16513994

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.23.2006 at 04:20PM PDT, ID: 16521099

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.23.2006 at 06:37PM PDT, ID: 16521563

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.24.2006 at 02:01AM PDT, ID: 16523124

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.24.2006 at 05:20AM PDT, ID: 16524319

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.24.2006 at 05:35AM PDT, ID: 16524406

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.24.2006 at 05:49AM PDT, ID: 16524495

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.24.2006 at 06:53AM PDT, ID: 16524996

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.24.2006 at 07:21AM PDT, ID: 16525295

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.24.2006 at 09:59AM PDT, ID: 16526830

Rank: Guru

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.24.2006 at 11:51AM PDT, ID: 16527962

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.25.2006 at 05:23AM PDT, ID: 16533518

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.25.2006 at 05:33AM PDT, ID: 16533585

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
04.26.2006 at 04:36AM PDT, ID: 16542655

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
Microsoft
  • Internet Protocols
  • Applications
  • Development
  • OS
  • Hardware
  • Windows Security
Apple
  • Operating Systems
  • Hardware
  • Programming
  • Networking
  • Software
Internet
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Spy / Ad Blockers
  • Web Browsers
  • New Net Users
  • Web Development
  • Chat / IM
  • Anti Spam
  • Web Servers
  • Anti-Virus
  • Email Clients
Gamers
  • Tips
  • Online / MMORPG
  • Puzzle
  • Emulators
  • Action / Adventure
  • Role Playing
  • Consoles
  • Game Programming
  • Strategy
  • Sports
  • Misc
  • Computer Games
Digital Living
  • Hardware
  • Automotive
  • New Net Users
  • New Users
  • Software
  • Digital Music
  • Gaming World
  • Home Security
  • Apple
  • Networking Hardware
Virus & Spyware
  • Vulnerabilities
  • IDS
  • Encryption
  • Anti-Virus
  • Operating Systems Security
  • Software Firewalls
  • WebApplications
  • Cell Phones
  • Operating Systems
  • Internet
  • Hardware Firewalls
Hardware
  • Displays / Monitors
  • Handhelds / PDAs
  • Components
  • Peripherals
  • Laptops/Notebooks
  • Servers
  • Misc
  • Apple
  • Embedded Hardware
  • Networking Hardware
  • Storage
  • Desktops
  • New Users
Software
  • System Utilities
  • Industry Specific
  • Network Management
  • Photos / Graphics
  • Page Layout
  • VMware
  • Misc
  • Web Development
  • OS
  • CYGWIN
  • Voice Recognition
  • Virtualization
  • Message Queue
  • Quality Assurance
  • Security
  • Firewalls
  • MultiMedia Applications
  • Development
  • Database
  • Office / Productivity
  • Business Management
  • OS/2 Apps
  • Server Software
  • Internet / Email
ITPro
  • OS
  • Storage
  • Encryption
  • Operating Systems Security
  • Apple Hardware
  • Laptops & Notebooks
  • Servers
  • Networking Hardware
  • Peripherals
  • Devices
  • Displays / Monitors
  • WebTrends / Stats
  • Search Engines
  • Firewalls
  • Web Computing
  • WebApplications
  • IDS
  • Vulnerabilities
  • Email Clients
  • File Sharing
  • Spy / Ad Blockers
  • Web Browsers
  • Web Servers
  • Networking
  • Anti-Virus
  • Consulting
  • Chat / IM
  • Anti Spam
Developer
  • Web Servers
  • Web Browsers
  • Game Programming
  • Dev Tools
  • Industry Specific
  • Office / Productivity
  • Database
  • CYGWIN
  • Web Development
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Programming
  • Content Management
  • Application Servers
  • Protocols
Storage
  • Removable Backup Media
  • Storage Technology
  • Servers
  • Grid
  • Remote Access
  • Backup / Restore
  • Misc
  • Hard Drives
OS
  • Miscellaneous
  • Security
  • Development
  • Linux
  • VMware
  • MainFrame OS
  • Unix
  • Apple
  • OS / 2
  • AS / 400
  • BeOS
  • Microsoft
  • VMS / OpenVMS
Database
  • Oracle
  • Miscellaneous
  • MySQL
  • Software
  • Sybase
  • Contact Management
  • PostgreSQL
  • Data Manipulation
  • Clarion
  • InterSystems Cache
  • Siebel
  • MUMPS
  • OLAP
  • SQLBase
  • SAS
  • GIS & GPS
  • 4GL
  • Berkeley DB
  • DB2
  • Informix
  • Interbase / Firebird
  • FoxPro
  • Reporting
  • LDAP
  • Filemaker Pro
  • MS SQL Server
  • dBase
  • MS Access
Security
  • Misc
  • Web Browsers
  • Software Firewalls
  • Operating Systems Security
  • File Sharing
  • Spy / Ad Blockers
  • Vulnerabilities
  • WebApplications
  • IDS
  • Anti-Virus
  • Encryption
  • Anti Spam
  • Email Clients
  • VPN
  • Chat / IM
Programming
  • Editors IDEs
  • Installation
  • Handhelds / PDAs
  • Multimedia Programming
  • System / Kernel
  • Automation
  • Algorithms
  • Game
  • Signal Processing
  • Project Management
  • Open Source
  • Database
  • Misc
  • Languages
  • Processor Platforms
  • Theory
Web Development
  • Scripting
  • Blogs
  • Web Servers
  • Software
  • Search Engines
  • Web Graphics
  • Web Services
  • Images
  • Internet Marketing
  • Images and Photos
  • Components
  • Document Imaging
  • Web Languages/Standards
  • Illustration
  • WebApplications
  • Fonts
  • WebTrends / Stats
  • Authoring
  • Digital Camera Software
  • Miscellaneous
Networking
  • Protocols
  • Apple Networking
  • Network Management
  • Message Queue
  • Application Servers
  • Content Management
  • File Servers
  • Email Servers
  • Misc
  • Java Editors & IDEs
  • Wireless
  • Networking Hardware
  • Backup / Restore
  • System Utilities
  • ISPs & Hosting
  • Web Servers
  • Storage Technology
  • Removable Backup Media
  • Servers
  • Web Computing
  • Broadband
  • Grid
  • OS / 2
  • Novell Netware
  • Unix Networking
  • Windows Networking
  • Security
  • Telecommunications
  • Operating Systems
  • Linux Networking
Other
  • Lounge
  • Business Travel
  • Community Support
  • New Net Users
  • Philosophy / Religion
  • Math / Science
  • Miscellaneous
  • URLs
  • Expert Lounge
  • Politics
  • Puzzles / Riddles
  • Automotive
Community Support
  • Suggestions
  • New to EE
  • New Topics
  • CleanUp
  • Announcements
  • General
  • Feedback
  • Input
  • EE Bugs
 
03.10.2006 at 08:47AM PST, ID: 16156203

Rank: Guru

xorg.conf has nothing to do with vnc! What has to do whict vnc is the Xvnc server (run on the Ubuntu side), which can (depending on parameters) limit the _virtual_display to a certain size, and the client (on some other host) which theoretically can manipulate what size viewport you have (few do though, most implementations aim at what UltraVNC does so nicely... scaling:-).

Unfortunately I've go limited experience with Ubuntu (I'm planning to start play with it the next few weeks... VMWare and PHB willing:-), but I imagine you need start looking at how Xvnc get spawned off (started)... Likely in /etc/init.d/vncserver or something similar... Usually the call is not directly to Xvnc, but rather to the vncserver conveniance script.

-- Glenn
 
03.27.2006 at 06:42AM PST, ID: 16300521
Actually, Ubuntu makes use of vino. Vino is a vncserver like program, but integrated in the gnome environment. This is different then vncserver in other Unix/Linux environments where additional screens are defined by vncserver. With vino it works more like on a single user machine (eg windows), where a remote user takes over the console desktop. BTW, there is amazingly little information on vino available..

So here is my guess: vino may take the screen resolution from the X-server on the console. If you disconnect the monitor then the X-server will probably be unable to determine the screen resolution and fall back to a save default of 640x480. Have you tried connecting to the system with the monitor still in place? Do you then have a higher resolution?
Accepted Solution
 
03.27.2006 at 08:13AM PST, ID: 16301447

Rank: Guru

... Perhaps:-)... My testing (on Breezy Badger, no less) isn't concluded yet, but you might start by editing /etc/vnc.conf and set "$geometry = 1024x768", then restart things and see what gives.
That file hold the defaults for the vnc server, so might be overruled by the users settings in $HOME/.vnc ... Or vinos settings (that probably reside in gconfd...).

But the thing is: vino only operates on a "per session" basis, wont start if not within a session AFAICS, so when you quit the session, the vino-server dies... And after a fresh boot, there simply is no vino server running before you've logged in... At which time it "defaults" to the resolution you happen to have on your screen (so that part is true;)... So for your theory to work hfern, gtomsho would need log in blind (without a screen attached)... Assuming the graphics adapter "wants to play" in such a setup).

So I'm wondering if gtomsho hasn't perhaps installed another vnc package, which perhaps honours the defaults in /etc/vnc.conf or $HOME/.vnc/*, and thus sort of "confusing the matter" just slightly:-). After all, it's very easy to add any of a whole slew of different servers (3.3.7,4.x,tight, krfb etc) via synaptic.

-- Glenn
Assisted Solution
 
03.27.2006 at 08:48AM PST, ID: 16301863
> you might start by editing /etc/vnc.conf and set "$geometry = 1024x768", then restart things and see what gives.
I actually tried something like this, also on Breezy: i have my screen connected at 1024x768 and changed $geometry to "640x480 in vnc.conf... No change..

> So for your theory to work hfern, gtomsho would need log in blind (without a screen attached)...
I actually logged out and guess what: there is no way how you can log into the system over vnc using vino. You indeed need to log in first on thje console and only then will vino let yousetup a connection Again, this is different then vncserver which defines a virtual X-terminal for you to log into.
I tried the blind login with my screen disconnected: on my system it still provides a 1024x768 screen over vino. This could be hardware related though, like Gns mentioned: 'Assuming the graphics adapter "wants to play" in such a setup'.

I'd be interested to learn what gtomsho's testing with the monitor stilll in place will yield.
Also, if gtomso reallly wants to leave the system without screen than this vino desktop sharing may not be the best solution. I would recommend a vncserver setup. This will give you all the flexibility to access the system remotely. Alternatively, connecting with an X-Terminal software package may be on option.
 
03.27.2006 at 09:12AM PST, ID: 16302117

Rank: Guru

>> you might start by editing /etc/vnc.conf and set "$geometry = 1024x768", then restart things and see what gives.
> I actually tried something like this, also on Breezy: i have my screen connected at 1024x768 and changed $geometry to "640x480 in vnc.conf... No change..
As expected, with vino;)

>> So for your theory to work hfern, gtomsho would need log in blind (without a screen attached)...
> I actually logged out and guess what: there is no way how you can log into the system over vnc using vino. You indeed need to log in first on thje console and only
> then will vino let yousetup a connection Again, this is different then vncserver which defines a virtual X-terminal for you to log into.
Yep, as stated:).

> I tried the blind login with my screen disconnected: on my system it still provides a 1024x768 screen over vino.
As expected... If the gfx adaper will work headless, it'll nog magically "downsize"... Unless it's a terminally stupid intel chipset gfx (I've not tested this, but those suckers poll the bios for available modes and might ... get confused...).

> This could be hardware related though, like Gns mentioned: 'Assuming the graphics adapter "wants to play" in such a setup'.
Perhaps, yes. But more likely SW, as a working hypothesis:-).

> I'd be interested to learn what gtomsho's testing with the monitor stilll in place will yield.
> Also, if gtomso reallly wants to leave the system without screen than this vino desktop sharing may not be the best solution. I would recommend a vncserver
> setup. This will give you all the flexibility to access the system remotely. Alternatively, connecting with an X-Terminal software package may be on option.

Yes, quite. Both on the recommendation to give us more info, and the recommendation to work with a real vnc (note: doesn't have to be RealVNC(tm):-) server setup... Which Ubuntu will gladly support.
You could even mix them, since the default setyup for any vncserver package is to provide a virtual screen at :1 (actually port 5901) while vino defaults to :0 (teh actual desktop.... on port 5900). "Best of both worlds":-).

As to determining what is up ... One has to check the .vnc directory (for any stray settings there) for the user Xvnc is running as, as well as the /etc/vnc.conf file...
Pretty much up to you now gtomsho, which way we go with this... Please work with us!

-- Glenn
 
04.22.2006 at 01:26AM PDT, ID: 16513994

Rank: Master

No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept hfern http:#16300521

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

gheist
EE Cleanup Volunteer
 
04.23.2006 at 04:20PM PDT, ID: 16521099

Rank: Guru

Beg to differ. Although I wasn't up to speed at the begining of the Q, I certainly contribute to the possible solutions. This should be a split, if anything.

-- Glenn
 
04.23.2006 at 06:37PM PDT, ID: 16521563
I think my initial comment gives the cause for the behavior seen by gtomsho. My second comment gives the solution to the problem, i.e. use vncserver for a setup like this or use an X-Terminal connection.

>I certainly contribute to the possible solutions.
What exactly was your contribution, Gns?
Your initial comment was not correct. You did not know that vino provides vnc type of services for Ubuntu.
You've given a few suggestions on which I followed up, but none of them yielded anything.

You have challlenged me on my solution, but you've not been able to proof that there is anything else going on then what is stated in the question and for which I provided the cause and the solution.
 
04.24.2006 at 02:01AM PDT, ID: 16523124

Rank: Guru

Read my second comment and note that it precedes your second comment. I'm not saying you shouldn't have any credit, nor that you shouldn't be credited with the "answer" as such, only that you are not the sole contributor to the probable solution.
You didn't exactly nail this one either, but we did perhaps do so together.

-- Glenn
 
04.24.2006 at 05:20AM PDT, ID: 16524319

Rank: Master

I will verify both solutions. No need to fight yet.
 
04.24.2006 at 05:35AM PDT, ID: 16524406
> I will verify both solutions
Again, what solution of yours are you going to verify? You have not represented any solution.

In your second comment, you've brought up the idea that another package might have been installed. There is nothing to prove that idea. It does not explain the behavior and you did not present it as a solution for the problem. I did that in my second comment.

 
04.24.2006 at 05:49AM PDT, ID: 16524495

Rank: Master

1) Yours - vino & desk resolutions
2) Gns's - maybe it runs just Xvnc from gdm as needed
3) Both can be applied,
...
99) Asker comes back and says which one worked.

 
04.24.2006 at 06:53AM PDT, ID: 16524996

Rank: Guru

Exactly my point Andrew... As I see it, there is no "true solution" as of yet, and there certainly cannot be one without point 99.
Hfern, your comments are valuable, knowledgeable and probably useful. But do they constitute a true answer? Using "definite" language doesn't mean much in this (I tend to be ... cautious(sp?)... in my formulations... Doesn't mean I don't think I'm right, just that I'm not adamant:-):-). Your second comment corroborates that this is probably not vino at all (which concurs with my testing), but rather Xvnc some way or other... And then we're probably not "detailed enough", any one of us (in which case it might be right to just delete the Q).
My tests on a machine with intel chipset gfx has not revealed the behaviour, but that just shows that that particular machine doesn't exhibit this (with vino).

The most relevant (common to us all) comment is the plea for interraction from gtomsho.
And I'm certainly not out to "fight", nor to "hog a Q"... I'm just announcing a difference of opinion as to the disposition of the Q.

-- Glenn
 
04.24.2006 at 07:21AM PDT, ID: 16525295
Let's just see what gheist or gstomsho will come up with.
 
04.24.2006 at 09:59AM PDT, ID: 16526830

Rank: Guru

Good suggestion. Who knows, it might still be HW.... Personally I hate these questions where one never reaches an "endpoint", regardless if I'm right or not.... (I've seen some things turn around on my reasoning, once the asker has taken the time to actually participate, more than once, to say the least:-).
We'll see, hopefully.

Cheers
-- Glenn
 
04.24.2006 at 11:51AM PDT, ID: 16527962

Rank: Master

That is the problem. Based on long exposure to KDE hfern's hint of default resolution without monitor seemed to be the very case.
Thanks for clearing my sight.
I will come back tomorrow with disposal suggestion.
 
04.25.2006 at 05:23AM PDT, ID: 16533518

Rank: Master

No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
I will leave the following recommendation for this question in the Cleanup topic area:

Split between hfern #16300521 and Gns #16301447

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

gheist
EE Cleanup Volunteer
 
04.25.2006 at 05:33AM PDT, ID: 16533585

Rank: Master

Either solution can apply in one or another situation.

I have installed 5.04 "Hoary Hedgehog"

Question is to blurry to strictly reject one or another solution.
Either "Xvnc" or "Remote Desktop aka vino" defaulted to 640x480 without monitor attached.
Provided solutions improved desktop resolution in respective cases.
 
04.26.2006 at 04:36AM PDT, ID: 16542655
Forced accept.

DarthMod
Community Support Moderator
 
 
20080236-EE-VQP-29