WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: how to disable ctrl alt delete from closing GUI?  (Read 2999 times)

Offline SJOGLwilson

  • Newbie
  • *
  • Posts: 12
how to disable ctrl alt delete from closing GUI?
« on: June 02, 2016, 11:03:51 AM »
Hi all

I've been installing Tiny Core on my thin clients with RDP, which works perfectly, I have it set so RDP auto starts, keyboard is changed to English it connects and works fine with my server farm.

The only bit I'm stuck with is disabling CTRL ALT DELETE from closing the GUI and opening the command prompt. I have edited the inittab which stopped ctrl alt delete from rebooting but it still opens the black screen command line.

I'm begging if someone knows how I can resolve this I would be forever grateful.

Kindest Regards
Lee


Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: how to disable ctrl alt delete from closing GUI?
« Reply #1 on: June 02, 2016, 11:41:52 AM »
Use Xorg.

Offline SJOGLwilson

  • Newbie
  • *
  • Posts: 12
Re: how to disable ctrl alt delete from closing GUI?
« Reply #2 on: June 02, 2016, 02:09:38 PM »
Hi mate

I have installed Xorg but it resets my keyboard back to American and I need it to be UK, ive tried creating /etc/x11/xorg.cofg but I get access denied even when doing as sudo.

Do you know where I'm going wrong ?

Thanks
Lee

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: how to disable ctrl alt delete from closing GUI?
« Reply #3 on: June 02, 2016, 02:55:51 PM »
/usr/local/share/X11/xorg.conf.d/10-keyboard.conf
Code: [Select]
Section "InputClass"
Identifier       "Keyboard Defaults"
MatchIsKeyboard  "on"
        Option           "xkb_model" "pc105"
Option           "XkbLayout"   "uk"
#Option           "XkbOptions"  "terminate:ctrl_alt_bksp"
EndSection


Note, "XkbOptions" is commented out.
Download a copy and keep it handy: Core book ;)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: how to disable ctrl alt delete from closing GUI?
« Reply #4 on: June 02, 2016, 03:07:13 PM »
..or you can add -nozap to your Xvesa startup line in .xsession.
The only barriers that can stop you are the ones you create yourself.

Offline SJOGLwilson

  • Newbie
  • *
  • Posts: 12
Re: how to disable ctrl alt delete from closing GUI?
« Reply #5 on: June 02, 2016, 03:18:00 PM »
Hey

I was just struggling actually making the directory for the config file, i didn't realize you had use Mkdir which i've done now, also used what you have supplied and its working perfectly.

Thanks you very much for your help....... you have no idea how big of a Smile i have on my face right now  ;D ;D ;D ;D