I run a small computer lab for students, consisting of 8 computers running Ubuntu 16.04.4.
The students are not used to Linux, so they often confuse Logout with Restart and Shutdown, effectively disrupting the Lab's work flow (some work is done remotely).
I tried following the instructions in this post, but I have to repeat it using DConf Editor via the GUI for each and every user.
Executing the gsettings
commands via SSH spits out the following error:
dconf-WARNING **: failed to commit changes to dconf:Cannot autolaunch D-Bus without X11 $DISPLAY
I plan to implement the solution by running a Bash script via SSH on each of the computers.
What's the best way to approach this?
0 Answers