Dear Friends
I am working on a script which logs out the system but I didnot find any command which will logs out a user from system graphically
How I am Doing. ?
I used the following commands.
exit
gnome-session-quit ( and other gnome commands)
kill -u username
etc.
please guide how could i logout via script keep in mind that Scipt will run on sudo privileges
thanking you
I am working on a script which logs out the system but I didnot find any command which will logs out a user from system graphically
How I am Doing. ?
I used the following commands.
exit
gnome-session-quit ( and other gnome commands)
kill -u username
etc.
please guide how could i logout via script keep in mind that Scipt will run on sudo privileges
thanking you
Comment