Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a single HDTV attached to a single video card by two connections - VGA and HDMI through a receiver. HDMI is preferential for convenience. I only need VGA occasionally as it matches the native resolution.

Both outputs work, and HDMI (rather, what Displays sees as 'Onkyo') is set to primary with VGA ('Samsung TV') off. This works correctly at boot and most of the time.

However, if Ubuntu locks/turns off the display after turning off the tuner and TV, the login screen and post-login output will go over VGA instead of HDMI. If the display/screen lock does not kick-in then this does not happen. The problem appears to be independent of the order in which they are switched on again. Simply running xrandr without arguments appears to fix the issue, as if the HDMI connection is not properly detected.

I am running 13.04 with an ATI Radeon HD 4850, open source drivers. How can I make sure the HDMI connection is selected as primary again all the time?

share|improve this question
This also applies on 13.10. – Sam Brightman Oct 27 '13 at 8:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.