Follow Instructions At:
https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-20-04
But set the .vnc/xstartup file to be:
#!/bin/bash
xrdb $HOME/.Xresources
unset SESSION_MANAGER
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <fcntl.h> | |
| #include <err.h> | |
| #include <unistd.h> | |
| #include <sys/types.h> | |
| #include <sys/socket.h> |
Follow Instructions At:
https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-20-04
But set the .vnc/xstartup file to be:
#!/bin/bash
xrdb $HOME/.Xresources
unset SESSION_MANAGER
| https://indiestack.com/feed/ | |
| Empty File | |
| sdf | |
| asdfsdf | |
| sd |
| This is the content of my new gist |
| Some content |
| latest | |
| test |
| ### Thisi s a big heaeder | |
| A LIST | |
| * sdf | |
| * sfasdf | |
| * j2 | |
| * asd | |
| * asdf | |
| * kl |
| #!/bin/bash | |
| # IMPORTANT: Don't forget to logout from your Apple ID in the settings before running it! | |
| # IMPORTANT: You will need to run this script from Recovery. In fact, macOS Catalina brings read-only filesystem which prevent this script from working from the main OS. | |
| # This script needs to be run from the volume you wish to use. | |
| # E.g. run it like this: cd /Volumes/Macintosh\ HD && sh /Volumes/Macintosh\ HD/Users/sabri/Desktop/disable.sh | |
| # Get active services: launchctl list | grep -v "\-\t0" | |
| # Find a service: grep -lR [service] /System/Library/Launch* /Library/Launch* ~/Library/LaunchAgents |
| # Useful to prevent Macbooks to go to sleep when closing the lid instead of running tools that requires a Kernel Extension (e.g. InsomniaX) and more | |
| sudo pmset -a sleep 0; sudo pmset -a hibernatemode 0; sudo pmset -a disablesleep 1; | |
| # And to go back to normal: | |
| sudo pmset -a sleep 1; sudo pmset -a hibernatemode 25; sudo pmset -a disablesleep 0; |