I'm making an online exam using PHP and I was wondering if there is a way for me to lock the user's PC onto the browser only. The system will not allow the PC to load and/or open other apps/tabs while the exam is running or should prompt if the system detects that you left the page.
Related
There are some cool pieces of software out there, like Deckboard or Macrodeck that allow users to control their computer (and streaming software) remotely.
As an example it is possible to press a button in order to open OBS, switch to the scene dedicated to streaming CS:GO and then open CS:GO and Spotify.
Is there any way to execute macros on a computer by using a website hosted on it (using NodeJS if possible)?
I would like to perform my database backup inside google drive. That's why I was trying to sync google drive on my VM(ubuntu) using the command-line interface. The way I have found so far is the rclone. But at a certain step, it's waiting for the browser response that's where I stuck to as I don't have any graphical interface to respond.
Is there any way to do that without any sort of graphical interaction?
Just to preface I'm not looking for specifics on what caused my particular systems instability - just seeking to understand how it could be possible since in my mind there are a multitude of layers between a function being called in response to a browser responding to a mouse click and whatever is at the hardware level that could cause an instant hardware reboot (no 'the system is shutting down' or any such).
Just to give some context, just before my system rebooted to write this I had 12 tabs open on Firefox on Mint Linux - one of those was a youtube page video. I swapped to another to check something clicked on the following url in a link (http://kripken.github.io/mloc_emscripten_talk/#/) - a slide-show which causes no ill effects now that I'm visiting it. But the instant I clicked the link BAM all lights out on a laptop with full battery and power cord connected.
So my question is what sort of error could spill over between an application running in user space and whatever space that is required to take down the entire system?
Lot many times userspace processes , would access kernel via system call interfaces.
For ex, playing video can use system calls related to video interfaces.
Suppose these interfaces has got a bug ( which can be driver specific) , then there is obvious chances of it to reboot the system
I want to make a system which would get input from USB barcode scanner, validate it on remote server and display an answer (text and images).
I would use JavaFX or in-browser JS web application to grab scanner input somehow.
I'm planning to run this application on Raspberry Pi or plain PC.
Is there a way (or a special linux distribution) to ensure that system always loads the same way and starts JavaFX app or opens particular web page in browser?
e.g. no login page, NO update or other popups are shown.
Any other ideas? Thanks
...
Found an interesting solution here, where JavaFX GUI app is started from command line, without X-Server(linux graphical interface) at all.
I have recently done something similar, and it's not too hard. Obviously working on the Pi, you will want to use something like Linux and having limited hardware will mean that you should be minimising what you are running. Due to this, I would recomend that you run a light weight distro. Something like arch (which is what I used) allows you to build only what you want from the ground up without the need to find and compile everything like you do for LFS or Gentoo.
As for booting, the following two wikis will give you the details of starting the Gui without manual login:
https://wiki.archlinux.org/index.php/Automatic_login_to_virtual_console
https://wiki.archlinux.org/index.php/Start_X_at_Login
After that, it is simply a matter of putting the command to launch your program in .xinitrc.
I am programming a simple app to display data on a small display connected to a raspberry pi via its RCA adapter. On start-up it goes to the standard Linux login prompt. I do not have a keyboard attached to the device.
Since the resolution is really bad, I would like a way to write to the login prompt that comes up on the monitor when it starts up via SSH to login, or hijack the process that shows the login prompt to write raw text to it.
Is there a simple way to do this? Sorry if I am being unclear, unsure of the proper verbiage to ask this question.