676
def get_graphics(vnc, vncport, vnclisten, nographics, sdl, keymap, guest):
740
def get_graphics(vnc, vncport, vnclisten, nographics, sdl, keymap,
677
744
if ((vnc and nographics) or
680
747
raise ValueError, _("Can't specify more than one of VNC, SDL, "
683
755
if not (vnc or nographics or sdl):
684
756
if "DISPLAY" in os.environ.keys():
685
757
logging.debug("DISPLAY is set: graphics defaulting to VNC.")