Tiny Core Linux
Tiny Core Base => TCB Bugs => Topic started by: ibug on February 03, 2012, 10:31:18 PM
-
under TC-4.2.1 under x
sometimes when run many things
ctrl+alt+del stop working
even if all GUI's close it do not work
so is this command to exit Xvesa server good
#################
kill `ps | grep Xvesa | cut -f 1 -d " "`
#################
or it can damage something
which command is executed under x
and under text mode if ctrl+alt+del is hit
-
Hi ibug
kill `ps | grep Xvesa | cut -f 1 -d " "`
The PID returned by ps may or may not contain a leading blank so that command is not reliable.
This is probably a better choice:
kill `ps | grep Xvesa | grep -v grep | cut -c1-5`No, it will not damage anything.
-
use kill `ps|awk '/Xvesa/ && !/awk/ {print $1}'`
also look in the file /etc/inittab