Find the answer to your Linux question:
Results 1 to 2 of 2
I've just installed what I think is open-office ... (on remote centos4.7 server) ... Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: compat-libstdc++-33 ####################### [ 1/14] Installing: startup-notification ####################### ...
  1. #1
    Just Joined!
    Join Date
    Feb 2009
    Posts
    2

    Question OpenOffice in Centos4.7

    I've just installed what I think is open-office ... (on remote centos4.7 server)

    ...
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Installing: compat-libstdc++-33 ####################### [ 1/14]
    Installing: startup-notification ####################### [ 2/14]
    Installing: shared-mime-info ####################### [ 3/14]
    Installing: libIDL ####################### [ 4/14]
    Installing: ORBit2 ####################### [ 5/14]
    Installing: libbonobo ####################### [ 6/14]
    Installing: GConf2 ####################### [ 7/14]
    Installing: gnome-mime-data ####################### [ 8/14]
    Installing: gnome-vfs2 ####################### [ 9/14]
    Installing: redhat-logos ####################### [10/14]
    Installing: redhat-artwork ####################### [11/14]
    Installing: openoffice.org ####################### [12/14]
    Installing: openoffice.org-i18n ####################### [13/14]
    Installing: openoffice.org-libs ####################### [14/14]

    Installed: openoffice.org-i18n.i386 0:1.1.5-10.6.0.7.EL4
    Dependency Installed: GConf2.i386 0:2.8.1-2.el4 ORBit2.i386 0:2.12.0-3 compat-libstdc++-33.i386 0:3.2.3-47.3 gnome-mime-data.i386 0:2.4.1-5 gnome-vfs2.i386 0:2.8.2-8.7.el4_7.2 libIDL.i386 0:0.8.4-1.centos4 libbonobo.i386 0:2.8.0-2 openoffice.org.i386 0:1.1.5-10.6.0.7.EL4 openoffice.org-libs.i386 0:1.1.5-10.6.0.7.EL4 redhat-artwork.i386 0:0.120.1-2.1E.centos4 redhat-logos.noarch 0:1.1.26-1.centos4.4 shared-mime-info.i386 0:0.15-10.1.el4 startup-notification.i386 0:0.7-1
    Complete!
    I need to run openoffice in headless mode, in order to run JODConverter, but when I try and do that, I get the following:

    [17:12:25][root@host:~/java]# ooffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard
    /usr/lib/ooo-1.1/program/soffice.bin X11 error: Can't open display:
    Set DISPLAY environment variable, use -display option
    or check permissions of your X-Server
    (See "man X" resp. "man xhost" for details)
    I haven't found any open-office.org-headless packages using yum on this Centos4.7 server ... if someone knows where to find them or has some advice on this problem, would be much appreciated !

    gvanto
    centos newbie

  2. #2
    Just Joined!
    Join Date
    Mar 2009
    Posts
    1

    try Xvfb

    Hi - don't know if you've solved this problem already or not.

    For running Xwindows-based GUI applications, I have used a program Xvfb, which is part of the core X11 package. It gives you a "Virtual display Frame Buffer" at the display number you specify (you should pick one not in use, we generally use 1000+). Then set and export your DISPLAY variable accordingly (eg. "setenv DISPLAY localhost:1001" )

    I think if you search on Xvfb you can find more details.

    Good luck.
    DT

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...