As usual, I'm coming to office and entering the server room and login to the portal to check in for my attendance system. But all of the sudden, the server is restart!!!! Oh my god! I was accidentally press the Ctrl+Alt+Delete!!! What I have done? Than, I tried to fix the problem. The solution that I can do is I need to disable the Ctrl+Alt+Delete key. I'm afraid that if anyone that accidentally press that key than everything will be horror. To disable that key is quiet simple actually. Below are the steps that I have done.
1. Backup the original etc/inittab file and named it as a inittab.ori
[root@localhost ~]# cp /etc/inittab /root/Desktop/backup/inittab.ori
2. Edit the original file in /etc/inittab
[root@localhost ~]#vi /etc/inittab
3. Find the the # Trap CTRL-ALT-DELETE line
You can see that there is a file that exactly look like this
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
4. Now edit that line such below
ca:12345:ctrlaltdel:/bin/echo "CTRL-ALT-DEL is disabled"
5. Save the file that you have edit and quit from VI
6. In order to activate the changes, you need to run this command
[root@localhost ~]# init q
7. After that to make sure it is effective or not, try to press the Ctrl+Alt+Del key. Your screen should appear "CTRL-ALT-DEL is disabled"
8. Done :-)
Second monitor no display after latest update - KDE-neon
-
After latest update as of Oct 3, 2023, my second monitor was undetected
with latest kernel (6.2.0-33-generic). If I boot with previous kernel, it
can be...
1 year ago
No comments:
Post a Comment