On 09/08/2018 21:06, Helge Kreutzmann wrote:
+Use a separate X display (e.g. "Switch User" in GNOME, or the equivalent
fast-user-switching feature in other desktop environments),
here probably it is better to say that the user can switch from one to
other user with the Ctrl-Alt-Fx keys
+Use ssh, e.g. "ssh -X -oForwardX11Trusted=no otheruser@localhost".
and here, I think it is better to write somethings like:
+Use ssh, e.g. "ssh -X -oForwardX11Trusted=no $OTHERUSER@$LOCALHOST".
+Where $OTHERUSER is the user you want to use to execute commands
+and $LOCALHOST is your localhost (it can be: localhost, 127.0.0.1, ...)
and probably it is better to mention that you need sshd process active
in your system (you must install openssh-server).
I don't know if it is better to evidence that with this solution you can
have performance problems and not all can work correctly as you expected.
+Allow \fBsu\fR explicit display access by issuing "xhost
+si:localuser:otheruser" in
and here, I think it is better to write somethings like:
+explicit display access by issuing "xhost +si:localuser:$OTHERUSER"
...
+the originating X session and "DISPLAY=:0 command" under \fBsu\fR.
and here
+the originating X session and "DISPLAY=:0 $COMMAND" under \fBsu\fR.
+or export the DISPLAY variable as "export DISPLAY=:0"
+and then execute all the commands with GUI you like: "$COMMAND &"
+where $COMMAND is the GUI command you like to exec (eg: qcalculate &)
Probably it is better to put some link to documentation
man sshd
man ssh_config
man sshd_config
man xhost
...
Ciao
Davide
--
Dizionari: http://linguistico.sourceforge.net/wiki
Motivi per non comprare/usare ms-windows-vista:
http://badvista.fsf.org/
Non autorizzo la memorizzazione del mio indirizzo su outlook