![]() ![]() Do not open 5901 to 0.0.0.0/0, VNC server is weak against brute force attack and it will crash. ![]() Remember to white list the port number at security group. #!/bin/sh export XKL_XMODMAP_DISABLE=1 unset SESSION_MANAGER unset DBUS_SESSION_BUS_ADDRESS & exec /etc/vnc/xstartup & xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & gnome-panel & gnome-settings-daemon & metacity & nautilus & gnome-terminal & vncserver :1Īnd edit the content to be similar like below, save and exit. Once installation completed, start the VNC server to initialize the config file. A full control password and a view only password. You can setup 2 different passwords for different access. sudo apt update sudo apt install ubuntu-desktop sudo apt install tightvncserver sudo apt install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal First you need to setup TightVNC on Ubuntu Server. It is not possible to run PyAutoGUI headless. The workaround I found was to install a real browser and run keyboard macro to scrape the content I needed with PyAutoGUI. I’ve tried impersonating all the header on a real browser in wget to get the same content but with no success. These days scraper faced with higher security where CDN blocks puppeteer, wget or curl. Launching an Ubuntu 20.04 EC2 in AWS is a server edition with no GUI.
0 Comments
Leave a Reply. |