#!/bin/sh # Use with GDM (SuSE, Ubuntu, RHEL, CentOS) # place into /etc/gdm/Init/ if [ -x /usr/local/sbin/console_vnc ] ; then /usr/local/sbin/console_vnc else echo warning: /usr/local/sbin/console_vnc not found fi exec /etc/gdm/Init/Default