On Mon, Apr 30, 2001 at 04:58:32AM +0100, John P. Looney came forth with:
> On Mon, Apr 30, 2001 at 04:22:47AM +0100, hrishy samant mentioned:
> > while starting zzplayer i get the following message
> > Xvalib error display not set .where is the file to
> > configure the environment variables like display.when
> > i say $env it lists all the environment variables i
> > have looked into bash and bash_history,but without
> > luck.could anbody help.
>> It most likely should be in in .bashrc - stick it in yourself, with;
>> export DISPLAY=hostname:0
>> Where "hostname" is the name of the machine with the video card in it.
Hmm.. this is in general a bad thing unless you know what you're doing.
If you are trying to make something appear on a different screen, then you
need to set DISPLAY to something (as Kate said).
If however, X is running on the machine, and you're telnetted in or something
like that, and DISPLAY isn't set, then it's a different story. You can't
just set DISPLAY to something and hope it works, because X uses authentication
and MIT-COOKIEs to make the magic happen.
Make sure you're logged in on the console X session, and then things should
play ball.
L.
--
Liam Bedford | Four thousand holes in Blackburn, Lancashire
Software Engineer | And though the holes were rather small
WBT Systems, Block 2, | They had to count them all
Harcourt Centre, Harcourt St. | Now they know how many holes it takes to fill
01-4170100 | The Albert Hall
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!