Path: csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod From: =?UTF-8?Q?Grzesiek_S=c3=b3jka?= Newsgroups: linux.debian.user Subject: Re: cannot open display: localhost:0.0 Date: Sun, 23 Sep 2018 14:40:01 +0200 Message-ID: References: X-Original-To: debian-user@lists.debian.org X-Mailbox-Line: From debian-user-request@lists.debian.org Sun Sep 23 12:33:22 2018 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate:hard: -6.1 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Mailing-List: archive/latest/740427 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/46fb426e-baa7-6c3a-f52b-be4bbd299651@sojka.co Approved: robomod@news.nic.it Lines: 42 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 23 Sep 2018 14:33:12 +0000 X-Original-Message-ID: <46fb426e-baa7-6c3a-f52b-be4bbd299651@sojka.co> X-Original-References: <440275d0-f768-4db4-fd3f-0b0b75a24fdb@sojka.co> <20e419b5-17af-4228-125c-1da76721ea7a@mailoo.org> <4562cc43-26fe-dd3e-2c44-214a77f11b02@sojka.co> Xref: csiph.com linux.debian.user:200477 On 9/23/18 12:27 PM, Anders Andersson wrote: > On Sun, Sep 23, 2018 at 4:24 PM, 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" >> xterm: Xt error: Can't open display: localhost:0.0 > > Are you using Wayland? If you're using debian testing you probably use wayland. Forgot to mention, I use Sid and xfce4. If i'm not wrong xfce does not support Wayland. -- Pozdrawiam Grzesiek Wysłane z kompa wolnego od wirusów Billa Gatesa.