Dave's Brain

Browse - Computer Tips - Old - How can I VNC to a headless Fedora box?

Date: 2014sep6
Distro: Fedora
Os: Linux
Warning: This didn't work in the end so I switched to X11

Q.  How can I VNC to a headless Fedora box?

A.  I installed tigervnc-server but then then when I
VNCed in I could not get past the login screen - seemed
like the <enter> key was being pressed.

I used a variant of the instructions here:
http://www.janbambas.cz/headless-fedora-20-and-vnc-with-autologin/

I installed

dnf install xorg-x11-drv-dummy
This is my /etc/X11/xorg.conf that worked:
Section "Device" Identifier "Dummy" Option "NoDDC" "true" Option "IgnoreEDID" "true" Driver "dummy" EndSection Section "Screen" DefaultDepth 24 Identifier "Screen0" Device "Dummy" EndSection
I did't mention anything about resolution. When I rebooted, VNCed to myhost:10 I entered the VNC password and withOUT the user login screen entered a Gnome session. I used auto-scaleing in UltraVNC for Windows. Oops, this only works after a fresh reboot. So after a boot I when into Settings > Privacy and disabled the lock screen. Not sure what to do for the odd times when I want to plugin a monitor and mouse.

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.