From: "Miguel González Castaños" <mgc@tid.es>
To: linux-admin@vger.kernel.org
Subject: connection problem to the X server
Date: Thu, 22 Apr 2004 09:37:12 +0200 [thread overview]
Message-ID: <40877628.3090700@tid.es> (raw)
Dear all,
I have a web application developed using JSPs, that needs to connect to
a X server to show a statistics graphic. The logs when I issue an "xhost
+ localhost" of Tomcat gives this :
Xlib: connection to "localhost:0.0" refused by server
Xlib: No protocol specified
xhost: unable to open display "localhost:0.0"
When I issue a xhost to a different box, it doesnt fail. I have been
googling a bit, I got the impression that using xhost is not safe, and
it is better to use xauth. Anyway I still dont know how to fix this.
Regards and sorry for my english
Miguel
next reply other threads:[~2004-04-22 7:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-22 7:37 Miguel González Castaños [this message]
2004-04-22 11:32 ` connection problem to the X server Glynn Clements
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40877628.3090700@tid.es \
--to=mgc@tid.es \
--cc=linux-admin@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).