ubuntu:
gnome-session-save --kill --silent
solaris cde:
kill `ps -ef | grep dtsession | grep -v grep | awk '$1=="'$user'" {print $2}' `
ubuntu:
gnome-session-save --kill --silent
solaris cde:
kill `ps -ef | grep dtsession | grep -v grep | awk '$1=="'$user'" {print $2}' `