Gtk-warning : cannot open display

For help and support with issues specific to Linux/Unix
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

Gtk-warning : cannot open display

Postby HaukeG » Tue May 05, 2009 5:53 pm

Hey everyone,

I heard about this project as I played around with FreeNas. Unfortunately FreeNas is not working very well, so I decided to switch to Debian Lenny. Well I installed it as a VM to test everything. Now everything works, only the media server isn't working very good. My PS3 rejects all kind of videos, so I tried to use PS3 Media Player, because that was the only thing that worked on FreeNas :-)

I just typed in:

apt-get install default-jre
apt-get install mplayer
apt-get install mencoder
apt-get install ffmpeg

Then I extracted pms-linux-1.10.5.tgz to /home/hauke/pms

Then
chmod 777 PMS.sh

After
./PMS.sh
(.:2418): Gtk-warning **: cannot open display



This mashine has no GUI or anything else. It's just a shell-based system.

Does anyone has any idea?

Best regards and many greetings and sorry for my bad English.
Hauke


PS(1) : I have tried as root and as user "hauke". I switched all files to
chmod 777 -R *
and I
apt-get install default-jdk

PS(2): I also
apt-get install xterm
But what do I have to use for "export DISPLAY=??.??.??.??:0.0"? Is that the own IP? I thought DISPLAY is to redirect the output
HaukeG
 
Posts: 2
Joined: Tue May 05, 2009 5:15 pm

Re: Gtk-warning : cannot open display

Postby shagrath » Wed May 06, 2009 12:22 am

if you want to export the display, you have to get the latest builds, and try the following

Code: Select all
PMS.sh noconsole


there's also:

Code: Select all
PMS.sh console


this one will launch the server without gui at all
shagrath
Project Lead
 
Posts: 2668
Joined: Wed Jan 14, 2009 1:39 pm

Re: Gtk-warning : cannot open display

Postby HaukeG » Wed May 06, 2009 3:20 pm

Hi.

Well I tried that as root and user "hauke" with the same result.

Do I have to "export DISPLAY=" something?
HaukeG
 
Posts: 2
Joined: Tue May 05, 2009 5:15 pm


Return to Linux/Unix Support

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests