Find the answer to your Linux question:
Results 1 to 2 of 2
can you execute soffice in cli?i cant,but can in gui.why?it said' root@darkstar:~# /opt/openoffice.org2.0/program/soffice /opt/openoffice.org2.0/program/soffice.bin X11 error: Can't open display: Set DISPLAY environment variable, use -display option root or no root ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2006
    Posts
    2

    can you execute soffice in cli?


    can you execute soffice in cli?i cant,but can in gui.why?it said'

    root@darkstar:~# /opt/openoffice.org2.0/program/soffice
    /opt/openoffice.org2.0/program/soffice.bin X11 error: Can't open display:
    Set DISPLAY environment variable, use -display option

    root or no root user,same message as like above.

  2. #2
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    OpenOffice is a graphical-only program. You must have an X Server running to launch it. However, if you're in X Windows you can open the application from a terminal window if you know the proper command:

    Code:
    oowriter
    oocalc
    oobase
    oodraw
    I could be off on the names. All I ever use is oowriter.
    Registered Linux user #270181
    TechieMoe's Tech Rants

Posting Permissions

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