From: Dave Mielke <dave@mielke.cc>
To: <blinux-list@redhat.com>
Subject: re: assistance required. can't open display message. (fwd)
Date: Sat, 12 Oct 2002 10:53:50 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.30.0210121042240.1018-100000@dave.private.mielke.cc> (raw)
In-Reply-To: <Pine.LNX.4.33.0210121705571.26354-100000@muscat.dns2go.com>
[quoted lines by mark muscat on October 12, 2002, at 17:06]
>I am getting the following error message ocasionally when I am trying to
>install package in particular the realplayer package.
>error: can't open display.
This error means that your DISPLAY environment variable isn't pointing to a
usable X server. There are a few ways you can resolve this.
You can use trplayer rather than realplay. It's a command-line version of the
Real Player.
You can install X and then point to it. Once X is running, you point to it by
doing:
export DISPLAY=:0
Note that, since you're not pointing to it from an X session, you must
authorize such access with the command:
xhost +localhost
This authorization must be done either from within an X session (probably
difficult) or from within an X session setup script, e.g.
"/etc/X11/xdm/Xsetup_0".
You can set up a pretend X server, attach it to some other (not 0) X server
number (I'll use 2), and point to it. You do this with the following commands:
Xvfb :2 -ac -screen 2 800x600x32 -fn 7x14
export DISPLAY=:2
Note that no xhost authorization is required if you do it this way.
--
Dave Mielke | 2213 Fox Crescent | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario | Word of God. Please contact me
EMail: dave@mielke.cc | Canada K2A 1H7 | if you're concerned about Hell.
http://familyradio.com
next prev parent reply other threads:[~ UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
mark muscat
` shaun_oliver
` Dave Mielke [this message]
Brian Tew
` John
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=Pine.LNX.4.30.0210121042240.1018-100000@dave.private.mielke.cc \
--to=dave@mielke.cc \
--cc=blinux-list@redhat.com \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).