setup vncserver (you will be asked to provide a password for the vncserver) vncserver Sudo apt-get install xorg lxde vnc4serverĤ. install the necessary packages sudo apt update & sudo apt upgrade connect to your instance using google cloud shell gcloud compute -project "project_name" ssh -zone "project_zone" "instance_name"ģ. Build a new Ubuntu VM instance using the GCP Console 2. These instructions are for setting up Ubuntu 16.04 LTS with LXDE (I use SSH port forwarding instead of opening port 5901 in the VM instance firewall) 1. You can enable this for a single connection by using the -Y argument in place of the -X argument. You can enable this permanently by using ForwardX11Trusted yes in the ~/.ssh/config file. You may wish to enable trusted forwarding if applications have trouble with untrusted forwarding. Restart the ssh daemon if you change the settings: $ sudo /etc/init.d/sshd restartĮnsure that ForwardX11 yes is present for the host. Since I have needed to do this recently, I am going to briefly write up the required changes here:Ĭonfigure the Server $ sudo vim /etc/ssh/sshd_configĮnsure that X11Forwarding yes is present. You can do that by following the instructions here: Since you are connecting to a server that is expected to run compute tasks there may well be no X11 server installed on it. This has been covered in the Unix and Linux stack site before: What will you do? Will you turn it on or off? Share your experience with us in the comments.You need to forward the X11 session from the VM to your local machine. But, just because the feature is available, it doesn’t mean that you have to use it. Google Sync is a useful feature, and it can save you some valuable time. If you only want to enable specific options, make sure to turn off “ Sync everything“so the rest of the option can turn blue. Select the “ Manage sync” option, and you can toggle the “ Sync everything” option at the top right. Go back to settings and select the “ Sync and Google services” drop-down menu. Google Chrome also has an option for you to manage Sync. To finalize things, disable the apps you don’t want the Sync enabled for. Tap the account you want to make the changes to and choose “Account Sync“. To turn off sync on your Android device, go to “ Settings” > “ Accounts or Users & accounts“. Go to “ Settings” and the “ Turn Off sync” button will be right at the top. To turn off sync on your computer, open Chrome and select at the top right. Turn Off Google Sync on Desktop and Android Once you’ve found it, browse through the option to see if there is an option to sync. Look for the app you want to change, but if you don’t see it select “ App info” or “ See all apps“. To do this, go to your device’s “ Settings” and then to “ Apps and Notifications“. But, what about non-Google apps? To sync non-Google apps, you’ll need to change the app’s settings. Google apps are supposed to sync automatically, but just in case they don’t, know you know how to set it up, only in case. Once it’s open tap “ Account sync“, then toggle off the options you don’t want to sync. The following applies whether you are using Oreo or another Android version. If there are certain things of an app you can to unSync, you can.įor example, if you don’t want to sync your calendar or docs in Google, tap on the Google account, you want to modify in “ Users and accounts“. Swipe down and toggle on “ Automatically sync data“. Go to “ Settings” > “ Users and accounts“. If your Android device is running on Android Oreo, the steps to enable Google Sync are the following. Select “ More” at the top right and tap on the “ Sync all” option to sync that specific app. If it’s off, it will say so as soon as you open it. To check if an account you’ve added is synced, tap on that specific account. If it’s on it should say “ Turn off auto sync“, if it’s not that’s where you can turn it on. You will see a list of all of your accounts, but to check if sync is on tap on the “ More” button at the top right. Once you’re in Settings, swipe down and select “ Accounts“. To check if Google Sync is on your Android device swipe down from the top of your display and tap on the cog wheel. You will also need to add a passphrase to encrypt your data. You can also select the “ Sync everything” option if that’s what you need. Sign into your account and choose the settings you want to sync. Select the at the top right of the browser and select the “ Sign into Chrome” button. Turning on Google Sync is quick and easy.
0 Comments
Leave a Reply. |