add console dialog when no gui
Fixed su exec fail and do su root check before exec