assetskasce.blogg.se

Online screen sharing ubuntu
Online screen sharing ubuntu






We can encode the password, 1234 with the base64 tool like this: echo -n 1234 | base64 Let's test this with simple base64 encoded password, 1234.

Online screen sharing ubuntu password#

While reading more on it I found this: where it say the password is base64 encoded. This doesn't work as well nor " without \ and just the text 1234.

online screen sharing ubuntu

Let's encode the password with and " and escape the " with \: sudo su $USER -s /bin/bash -c 'XDG_RUNTIME_DIR=/run/user/$UID DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$UID/bus gsettings set vnc-password \"1234\"' Maybe we confues the command with nesed ' and the begaining of the password with ' ended the command and took a empty password. 🤦‍♂️ So this somewhat works but need more work. The commands above has changed the Screen Share setting to put a check mark on Allow connections to control the screen and toggled the radio button from New connections must ask for access to Require a password but the password field is empty. Yes! We can change the setting from terminal over SSH. To fix the error in the 4th command do: sudo su $USER -s /bin/bash -c 'XDG_RUNTIME_DIR=/run/user/$UID DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$UID/bus gsettings set authentication-methods ' Sudo su $USER -s /bin/bash -c 'XDG_RUNTIME_DIR=/run/user/$UID DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$UID/bus gsettings set vnc-password '1234''

online screen sharing ubuntu

Sudo su $USER -s /bin/bash -c 'XDG_RUNTIME_DIR=/run/user/$UID DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$UID/bus gsettings set authentication-methods ""' //errors out Sudo su $USER -s /bin/bash -c 'XDG_RUNTIME_DIR=/run/user/$UID DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$UID/bus gsettings set prompt-enabled false' Sudo su $USER -s /bin/bash -c 'XDG_RUNTIME_DIR=/run/user/$UID DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$UID/bus gsettings set view-only false' work around!?: sudo su $USER -s /bin/bash -c 'XDG_RUNTIME_DIR=/run/user/$UID DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$UID/bus gsettings set notify-on-connect false' It doesn't change the settings, more over gsettings over ssh don't work. Sudo gsettings set authentication-methods "" So in theory to enable we need to do the following: sudo gsettings set notify-on-connect false Let's find the difference with diff between disabled enabled: 7,8c7,8 In enabled state: notify-on-connect true If we check the disabled state: notify-on-connect true Let's try that and see desktop share (Vino) status: sudo gsettings list-recursively






Online screen sharing ubuntu