Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #200480

Re: cannot open display: localhost:0.0

From The Wanderer <wanderer@fastmail.fm>
Newsgroups linux.debian.user
Subject Re: cannot open display: localhost:0.0
Date 2018-09-23 15:10 +0200
Message-ID <wBcj7-1fO-9@gated-at.bofh.it> (permalink)
References <wB9bz-7Ir-1@gated-at.bofh.it> <wB9XX-8cL-3@gated-at.bofh.it> <wBbGp-O1-1@gated-at.bofh.it>
Organization This space intentionally left blank.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 2018-09-23 at 10:24, Grzesiek Sójka wrote:

> On 9/23/18 10:30 AM, Étienne Mollier wrote:
>
>> On 9/23/18 1:48 PM, Grzegorz Sójka wrote:
>>
>>> Hi there,
>>>
>>> I need to allow remote applications to connect to xorg. Since I
>>> log in using lxdm i have tcp_listen=1 in /etc/lxdm/lxdm.conf.
>>> Thus Xorg is running without -nolisten tcp flag. Unfortunately:
>>> 
>>> $ xhost +localhost; DISPLAY=localhost:0.0 xterm
>>> localhost being added to access control list
>>> xterm: Xt error: Can't open display: localhost:0.0
>>>
>>> Any suggestions??
>>>
>> 
>> Maybe try:
>> 
>> 	xhost +LOCAL:
>> 	DISPLAY=localhost:0.0 xterm
> 
> It does not work:
> 
> # xhost +LOCAL; DISPLAY=localhost:0.0 xterm
> xhost:  bad hostname "LOCAL"

Did you try with '+LOCAL:' instead of '+LOCAL'?

The colon is important.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

cannot open display: localhost:0.0 Grzegorz Sójka <pld@sojka.co> - 2018-09-23 11:50 +0200
  Re: cannot open display: localhost:0.0 Étienne Mollier <etienne.mollier@mailoo.org> - 2018-09-23 12:40 +0200
    Re: cannot open display: localhost:0.0 Anders Andersson <pipatron@gmail.com> - 2018-09-23 14:30 +0200
      Re: cannot open display: localhost:0.0 Grzesiek Sójka <pld@sojka.co> - 2018-09-23 14:40 +0200
    Re: cannot open display: localhost:0.0 Grzesiek Sójka <pld@sojka.co> - 2018-09-23 14:30 +0200
      Re: cannot open display: localhost:0.0 Étienne Mollier <etienne.mollier@mailoo.org> - 2018-09-23 15:10 +0200
        Re: cannot open display: localhost:0.0 Grzesiek Sójka <pld@sojka.co> - 2018-09-23 15:20 +0200
          Re: cannot open display: localhost:0.0 Étienne Mollier <etienne.mollier@mailoo.org> - 2018-09-23 15:40 +0200
        Re: cannot open display: localhost:0.0 Nicolas George <george@nsup.org> - 2018-09-23 15:20 +0200
      Re: cannot open display: localhost:0.0 The Wanderer <wanderer@fastmail.fm> - 2018-09-23 15:10 +0200
        Re: cannot open display: localhost:0.0 Grzesiek Sójka <pld@sojka.co> - 2018-09-23 15:10 +0200
          Re: cannot open display: localhost:0.0 Étienne Mollier <etienne.mollier@mailoo.org> - 2018-09-23 15:30 +0200
            Re: cannot open display: localhost:0.0 Gene Heskett <gheskett@shentel.net> - 2018-09-23 17:50 +0200
    Re: cannot open display: localhost:0.0 Gene Heskett <gheskett@shentel.net> - 2018-09-23 16:10 +0200
      Re: cannot open display: localhost:0.0 Étienne Mollier <etienne.mollier@mailoo.org> - 2018-09-23 18:00 +0200
  Re: cannot open display: localhost:0.0 Rob van der Putten <rob@sput.nl> - 2018-09-23 16:40 +0200
    Re: cannot open display: localhost:0.0 Gene Heskett <gheskett@shentel.net> - 2018-09-23 18:00 +0200
      Re: cannot open display: localhost:0.0 Greg Wooledge <wooledg@eeg.ccf.org> - 2018-09-24 15:40 +0200
    Re: cannot open display: localhost:0.0 [solved] Grzesiek Sójka <pld@sojka.co> - 2018-09-23 18:10 +0200
      Re: cannot open display: localhost:0.0 [solved] Rob van der Putten <rob@sput.nl> - 2018-09-23 23:20 +0200

csiph-web