DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 3rd March 2016
jjstorm jjstorm is offline
Package Pilot
 
Join Date: Nov 2014
Location: Buenos Aires, AR
Posts: 144
Default firefox

I installed firefox but when I run it, I am getting a no display specified error. Running 5.8 stable. X is working well. How do I specify display?
Reply With Quote
  #2   (View Single Post)  
Old 3rd March 2016
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

If X is working well, when you issue $ echo $DISPLAY you should get a response containing :0 or a similar X display device setting. If you do not have a value for the environment variable $DISPLAY, you may be trying to start Firefox from a console terminal (ttyC*) rather than an X terminal window from within X.

Without more information, of course, all I can do is guess.
Reply With Quote
  #3   (View Single Post)  
Old 3rd March 2016
jjstorm jjstorm is offline
Package Pilot
 
Join Date: Nov 2014
Location: Buenos Aires, AR
Posts: 144
Default

Figured it out from your response. I was trying to start it from shell, when I needed to be starting it from x.

thanks
Reply With Quote
  #4   (View Single Post)  
Old 4th March 2016
e1-531g e1-531g is offline
ISO Quartermaster
 
Join Date: Mar 2014
Posts: 628
Default

I have started GUI apps from shell also several times.
You can do something like that:
Code:
DISPLAY=":0" /usr/local/bin/firefox
Of course X display can have different number or yours X authentication&authorization can block access.
Actually firefox has also command line argument for specifying X display:
Code:
firefox --display :0
You can disable authorization by:
Code:
xhost +
but do this only if you are sure that no one will connect through network (block incoming connections on firewall/pf) and there are no users who should have no access to X. It has security risk.

Last edited by e1-531g; 4th March 2016 at 01:08 AM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox 4 classicmanpro General software and network 14 3rd April 2011 01:50 PM
How to Start FireFox rtwingfield FreeBSD Ports and Packages 10 23rd June 2009 03:09 PM
install firefox 3 milo974 OpenBSD Packages and Ports 2 1st August 2008 08:43 AM
firefox darken FreeBSD General 5 27th July 2008 11:01 PM
Upgrading firefox to firefox 3 -keeping plugins+bookmarks kasse FreeBSD Ports and Packages 11 5th July 2008 01:34 PM


All times are GMT. The time now is 06:29 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick