How to set DisallowTCP=false in Ubuntu 16.04

when I give the command

xclock 

I get the error

Error: Can't open display: hostname:0.0  

In the following page

https://www.redhat.com/archives/redhat-list/2007-April/msg00299.html

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?

Replay

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

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

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