title: Unable to open X display when trying to run google-chrome on Centos (Rhel 7.5)
body: <p>I need to run Google Chrome remotely on a virtual machine using SSH. I do not want xforwarding - I want to utilize the GPU available on the vm. When I try running  <code>google-chrome</code> I get following error:</p>
  
  <pre><code>[19615:19615:0219/152933.751028:ERROR:browser_main_loop.cc(1512)] Unable to open X display.
  </code></pre>
  
  <p>I've tried to setting my DISPLAY env value to various values:</p>
  
  <pre><code>export DISPLAY=localhost:0.0
  export DISPLAY=127.0.0.1:0.0
  export DISPLAY=:0.0
  </code></pre>
  
  <p>I've also tried replacing 0.0 in abowe examples with different values.</p>
  
  <p>I have <code>ForwardX11 no</code> in /etc/ssh/sshd_config
  I tried setting up target like this: </p>
  
  <pre><code>systemctl isolate multi-user.target
  </code></pre>
  
  <p>When I try to run <code>sudo lshw -C display</code> i get folowing output:</p>
  
  <pre><code>   *-display
         description: VGA compatible controller
         product: Hyper-V virtual VGA
         vendor: Microsoft Corporation
         physical id: 8
         bus info: pci@0000:00:08.0
         version: 00
         width: 32 bits
         clock: 33MHz
         capabilities: vga_controller bus_master rom
         configuration: driver=hyperv_fb latency=0
         resources: irq:11 memory:f8000000-fbffffff
    *-display UNCLAIMED
         description: VGA compatible controller
         product: GM204GL [Tesla M60]
         vendor: NVIDIA Corporation
         physical id: 1
         version: a1
         width: 64 bits
         clock: 33MHz
         capabilities: pm msi pciexpress vga_controller bus_master cap_list
         configuration: latency=0
         resources: iomemory:f0-ef iomemory:f0-ef memory:41000000-41ffffff memory:fe0000000-fefffffff memory:ff0000000-ff1ffffff
  </code></pre>
  
  <p>I've tried to update my gpu drivers by:</p>
  
  <pre><code>wget https://www.nvidia.com/content/DriverDownload-March2009/confirmation.php?url=/tesla/375.66/nvidia-diag-driver-local-repo-rhel7-375.66-1.x86_64.rpm
  yum -y install nvidia-diag-driver-local-repo-rhel7-375.66-1.x86_64.rpm
  </code></pre>
  
  <p>But after that I still see <code>UNCLIMED</code> next to my NVIDIA gpu. 
  Aby ideas?</p>