Am 03.02.2017 um 08:12 schrieb Erik Starbäck:
Hi!
I really need to "sandbox" the user as much as possible.
I managed to rewrite the x2go client so the clipboard sharing is "none" whatever they select.
Why would you need to rewrite the client for that?
/etc/x2go/x2goagent.options *on the server* has:
# Enforce clipboard behaviour in X2Go sessions globally (for all connecting clients) # Possible values for the -clipboard option: both, server, client, none # If this option stays commented out, clients can choose the sessions' clipboard behaviour... #X2GO_NXAGENT_DEFAULT_OPTIONS+=" -clipboard both"
so setting
X2GO_NXAGENT_DEFAULT_OPTIONS+=" -clipboard none"
should do what you want.
But is it also possible to turn off the classic X (PRIMARY) cut and paste-model?
Ideally I want to keep it working "inside" the g2go-login, but I can live with a way to completely turn it off.
So what I whant to achive is this:
- No selection with mouse INSIDE the x2go-session should be middle-button-pasted outside the x2go-session
- No middle middle-button-paste inside the x2go-session should "grab" information from the outside system.
- All this must be activated on the server side -- but there it can be rather hard core fiddling...
If setting the above parameter doesn't help keeping copy/paste limited to the X2Go session, then it's not working correctly and you should file a bug.
May I ask what you are trying to achieve? Something like this, maybe? <http://wiki.x2go.org/doku.php/doc:success-stories:electronic-glovebox>
-Stefan
-- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243