How to set DisallowTCP=false in Ubuntu 16.04

when I give the command


I get the error

Error: Can't open display: hostname:0.0  

In the following page

the solution given for redhat linux is

Modify the file /etc/X11/gdm/gdm.conf and set DisallowTCP=false. Then restart X. This will enable the X server to receive network connections. You will also need to make a hole in the firewall to allow connections to the X server port (6000 IIRC).

However I cannot find /etc/X11/gdm in Ubuntu

What to do?


Category: 16.04 Time: 2016-07-29 Views: 0

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C), All Rights Reserved.

processed in 0.131 (s). 12 q(s)