Skip to content

Instantly share code, notes, and snippets.

View hoshang8282's full-sized avatar
๐ŸŽ“

SM hoshang8282

๐ŸŽ“
  • Essen / Germany
View GitHub Profile
@subfuzion
subfuzion / README.md
Last active October 1, 2024 07:58
Enable VNC on Ubuntu 23.04 from the command line

Unfortunately, Ubuntu 23.04 no longer supports VNC out of the box, only RDP.

Previous support was based on vino. You can enable this from the command line with the following instructions.

Create a password that you want to use for logging into vnc and save it in a variable:

password=$(echo "some-password" | base64)
@dploeger
dploeger / htpasswd.erb
Created September 19, 2018 13:06
HTPasswd management using Puppet
<% @accounts.each do |user, password| -%>
<%= user %>:<%= scope.call_function('apache_pw_hash', [password]) %>
<% end -%>