Web programming 的 研究筆記

2017年7月1日 星期六

Unable to open a connection to the X server Can't create OpenGL OffscreenView. Code: -1. Openscad

Ref : http://forum.openscad.org/Headless-OpenSCAD-td5187.html


安裝  openscad on centos 6.x

http://blog.chrysocome.net/2014/01/openscad-for-centos-6.html


先安裝xvfb

https://www.puritys.me/docs-blog/article-262-%E5%AE%89%E8%A3%9D-XVFB-%E5%81%9A-Selenium-%E6%B8%AC%E8%A9%A6.html


Xvfb :5 -screen 0 800x600x24 &
export DISPLAY=:5
openscad blah blah blah
張貼者: jacky_chi 於 清晨6:36
以電子郵件傳送這篇文章BlogThis!分享至 X分享至 Facebook分享到 Pinterest

沒有留言:

張貼留言

較新的文章 較舊的文章 首頁
訂閱: 張貼留言 (Atom)

關於我自己

我的相片
jacky_chi
檢視我的完整簡介

網誌存檔

  • ►  2018 (4)
    • ►  2月 (1)
    • ►  1月 (3)
  • ▼  2017 (101)
    • ►  12月 (8)
    • ►  10月 (6)
    • ►  9月 (1)
    • ►  8月 (11)
    • ▼  7月 (3)
      • 簡訊王 發送api
      • 拍照小秘寄
      • Unable to open a connection to the X server Can't ...
    • ►  6月 (13)
    • ►  5月 (9)
    • ►  4月 (1)
    • ►  3月 (6)
    • ►  2月 (11)
    • ►  1月 (32)
  • ►  2016 (135)
    • ►  12月 (23)
    • ►  11月 (36)
    • ►  10月 (24)
    • ►  9月 (13)
    • ►  8月 (1)
    • ►  3月 (3)
    • ►  2月 (35)
圖片視窗主題. 技術提供:Blogger.