vncserver.sh 223 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
#!/bin/bash
vncserver -kill :1
vncserver -geometry 960x720
command -v kdialog || {
    command -v zenity || { echo 'VNC started'; exit 1 ; }
    zenity --info --text="VNC started"
    exit 1
}
kdialog -msgbox 'VNC started'