I just bought a Google Pixel 2 (Android 8.0.0) and tried to connect it to my PC (Ubuntu 16.04).
I tried in developer mode and changed to USB connection setting as MTP (Media Transfer Protocol), however, when the two devices connected to each other, it only showed that Google Pixel 2 is charging but never got recognised by Ubuntu.
Any suggestions on how can I connect Pixel to my PC and transfer files between the two devices. BTW, I connect Pixel and my PC using USB c cable that comes with the phone and I tried using USB 2.0 adaptor and a third party USB 2.0 cable, it does not even show its charging.