[MacPorts] #14179: gtk2: cannot open display: (RuntimeError)

MacPorts trac at macosforge.org
Mon Feb 4 12:06:34 PST 2008


#14179: gtk2: cannot open display:  (RuntimeError)
--------------------------------+-------------------------------------------
 Reporter:  gjznituv at gmail.com  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  1.6.0                                
 Keywords:                      |  
--------------------------------+-------------------------------------------
 After installing gtk2 for ruby (rb-gnome), I'm trying to run a script that
 tries to open the display - e.g. rsqlitegui.rb
 ([http://rsqlitegui.rubyforge.org/])
 or simply run:

 {{{
 [~] ruby -e "require 'gtk2'"
 }}}

 I then get the same error every time:

 {{{
 /opt/local/lib/ruby/vendor_ruby/1.8/gtk2.rb:13:in `init': cannot open
 display:  (RuntimeError)
 }}}

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14179>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list