#!/bin/sh

Xfbdev -dumb -s 0 -v -noreset -ac -dpms -nolisten tcp -softCursor -fb /dev/fb0 -mouse mouse,,device=/dev/input/mice,protocol=ps/2 &          
                                                                                                                                             
while ( ! xdpyinfo -display :0 > /dev/null 2>&1 )                                                                                            
do                                                                                                                                           
        usleep 200000                                                                                                                        
done                                                                                                                                         
                                                                                                                                             
skill -HUP Xfbdev

