Tiny Core Linux
Tiny Core Base => TCB Talk => Topic started by: Alatun on September 02, 2015, 01:26:00 AM
-
I've built a thin client boot environment using TC to start rdesktop and automatically connect to a Windows 2008 TS. This setup will be used with a dozen computers to do computer based training. To prevent participants doing bad things I'd like to get some kind of kiosk mode.
I already configured Xvesa with "-nozap" to prevent killing the X server, but it is still possible to do "ALT+F1" to switch to the first text console and do a "CTRL-C" to get to the linux shell. Any ideas how to prevent console switching? (I want to stay with Xvesa, because of the package size). I already searched the online docs, but was unsuccessful so far.
-
There's no support for that in tinyx currently, patches welcome. An alternative way is to grab the keys (alt, or all F-keys), which is done by screensavers, but then you can't use those keys in your other apps.
-
Ok. Hard coded keyboard bindings .... not good.
But thanks for the info.
-
Hi Alatun
Don't know if this would work, but what if you commented out the tty1 line in /etc/inittab? You would probably need to remaster
to make that change.
-
you could exit after running Xvesa in the background. then people can switch to vts but can't ctrl-c.
-
Thanks for you input guys.
@Rich - I also was thinking about this solution, but removing tty1 from inittab would disable any possibility for console access. This should still be possible for diagnosis.
@hiro - I will try this. This looks like a simple solution for my problem.
-
Hi!
Any solution for this?
-
Already disabled tty1 on /etc/inittab, but, hangs on boot.
-nozap option running fine for CTRL + ALT + BACKSPACE and CTRL + ALT + DEL, but i need to disable CTRL + ALT + F1 too.
Xorg is not an option.
-
Hi brunok
Install Xlibs.tcz. Then enter:
xmodmap -e "keycode 67 = F1 XF86Switch_VT_2 F1 XF86Switch_VT_2"
Now hit:
CTRL + ALT + F1
and let me know what happens.
-
Hi Rich,
Not solved. Same issue.
Changes are made, but not solve.
-
Hi brunok
OK, execute:
xmodmap -pke
and post the lines for keycodes 67 and 68.
-
Done. See attach.
-
Hi brunok
See if this works:
xmodmap -e "keycode 67 = F2 F12"
-
Hi brunok
See if this works:
xmodmap -e "keycode 67 = F2 F12"
YES! ;D
It's awesome, my custom Thinclient's SO (TinyCore) are finished (fast and secure)! 8) 8) 8)
Thanks!
-
Hi brunok
Glad to hear it worked, and thank you for participating in our little game of keycode shuffle. :)