General :: Unable To Run Openoffice In Headless Mode?
Mar 18, 2010
I want to automoate some PPT -> PDF conversions, so I want to run openoffice in headless mode for scripting.
On my machine with X running I can start opemoffice in headless mode via
soffice -accept="socket,port=8100;urp;" -headless
This doesn't seem to work on a server with X not running.
$ soffice -accept="socket,port=8100;urp;" -headless
/usr/lib/openoffice/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)
$
The error doesnt seem to make sense as well, as the point of specifying -headless was so that I do not need X, while this command seems to look for X.
I'm trying to monitor the temperature of my GPUs (multiple ATI 5970) in my computation cluster. Problem is that the aticonfig tool does not work in headless mode
# /usr/bin/aticonfig --od-gettemperature No protocol specified ERROR - X needs to be running to perform ATI Overdrive(TM) commands
and even worse if I try to run aticonfig with my monitoring user (munin) it will ask to be executed as root. Is there a simple way to read the temperature of the GPUs without having to resort to X?
and it starts successfully and the CMS can use it. To start OO at boot time, I wrote a script called 'openofficeserver' and saved it to /etc/init.d. It looks as follows
i have installed latest skype-2.0.0.72-centos.i586.rpm from the skype website. i have installed it at a datacentre which runs in headless mode the procedure i followed to start skype is
it seems the skype not working as i was unable to see this user's status as logged in from another skype account on a different system the architecture is: CentOS release 5.3 (Final) uname -r : kernel- .6.18-128.1.6.el5 uname -a: Linux localhost.localdomain 2.6.18-128.1.6.el5 #1 SMP Wed Apr 1 09:19:18 EDT 2009 i686 i686 i386 GNU/Linux
I have a problem with regards to opening the open office. every time I open a document, I cannot view it. It says the application cannot be started. The user interface language cannot be determined. What's the possible cause on this? How will i correct this error?
I was using win-7. I tried to install RHEL 6 today. [dual boot]/ = 40000 MB and /boot = 1000 MBThe installation completed successfully.The problem is that it is not showing the graphical mode. Only the terminal mode is available. I tried chvt 1-7but I am unable to go to the graphical mode. It is not appearing.What should I do? System config:MSI CR420 Laptop.ntel core i3-350MEdited after following user76871's answer:There is no Xorg.0.log file in /var/log/, There is no xdm in /etc/init.d/, there is no kdm also.I tried startx that also didn't work. I tried system-config-display but the display is not available at system-config-
I am using a virtual pc software called VMWare workstation ver 7.1. platform win 7. I installed a redhat linux 5 in vmware. I am able to access graphical mode but unable to access the console mode (ctrl+alt+f1....f6).
I broke sudo when I wrongly edited a file in /etc/sudoers.d in vi(did not use visudo :-().I read that I could fix the same by rebooting into the 'Recovery Mode' by selecting the same from the grub menu.
However I'd earlier disabled the showing of the grub menu by editing /etc/default/grub. As a result I can't seem to go into recovery mode to fix my broken sudo.
Environment: A 32-bit kernel RHEL5.3 system running on a virtual machine. The root(/) filesystem is on an LV.
Issue: Unable to resize the FS after extending the root LV since it is mounted. After extending the LV, online resizing of the FS was not supported and the root filesystem could not be unmounted while it was in use. On rebooting, I got a kernel panic error. In runlevel 1, I couldn't run chroot, couldn't find the /etc/fstab, root FS could not be mounted, fsck did not run (tried block 31 for second copy of superblock using dd count=1 bs=4k skip=31 seek=1 if=/dev/sda2 of=/dev/sda2), couldn't find any rpm on installation media to install unix-utils rpm. On running commands in runlevel 1,
i cant seem to download openoffice for ubuntu 11.04.I have tried installing it from the software centre (i've tried reinstalling too), but the app finder can't find the openoffice suite, and when I locate the file through my home folder (/usr/share/app-install/desktop/ooo-meta.desktop), I try opening it, and the following error message appears: "Could not display "/usr/share/app-install/desktop/ooo-meta.desktop"
We have a headless linux server (Debian 5) we use for running integration tests of our web-page code. Among these tests are ones implemented using Selenium, which practically simulates a user browsing our pages and clicking on things. One of these tests is failing now, because it involves starting a flash-based audio player and checking to see whether the progress bar gets displayed properly. The reason this test fails is that there is no way to play the audio, and no sound card on the machine, which has simple webserver hardware.
So, my question would be: Is there a simple way of giving a program the impression that its audio output is being processed, and playback is taking place? I don't have to record the playback, or redirect it or anything like that, just a dummy soundcard, like the dummy X-server we are using, which actually does not need to display stuff.
I have tried using JACK, but it's too complicated, and the documentation does not even answer this very simple question. I also installed alsa on the server; it 'pretends' to run, but when a program tries to play audio, just spews error and debug information having to do with the non-existence of a soundcard.
I have a dual boot system (Linux and Windows) that I normally run headless and which boots by default into Linux (which is what I use mainly). This all works fine, except that on occasions when I want to boot Windows I have to plug in a keyboard and monitor just to select Windows in the initial grub boot screen. I'm wondering if there is an easier way to do this ? I don't mind if I have to boot Linux first, I just want to be able to reboot into Windows occasionally without having to plug in any peripherals.
I have installed fedora 14: Linux sunup 2.6.35.6-48.fc14.i686 #1 SMP Fri Oct 22 15:34:36 UTC 2010 i686 i686 i386 GNU/Linux
The problem I am having is that no matter which of the many ways I have found in the forum I can not satisfy the dependencies. For example from the directory that contains the files obtained from code...
I have an Ubuntu Desktop 11.04 virtual machine using VirtualBox on my Windows 7 system.
Up until now I have been doing all my development within the Ubuntu environment but unfortunately, I don't like it. I want to move back to Windows, which is much more familiar to me but I would still like to access the virtual box like a virtual server as it is already set up with Apache, PHP, Pear, Git etc...
How can I make the two work in harmony? I essentially want to be able to start the VM and connect to it as if it was a server machine somewhere on my network, without having to actually buy another machine to put on my network.
The document WNIOSEK O WPIS DO KRS has a CORS logo as an embedded graphic in row 2. The document opens in OpenOffice Writer but the logo is visible at the natural size only; as soon as I enlarge/reduce the picture, either by changing the view resolution or resizing the picture, it just disappears. It happens both in Edit mode and in Print PreviewI tried to export the graphic to a separate image but it did not work. There is a command Save graphics in the context-sensitive menu; it is undocumented either in the Customisation dialogue I used that command and the resulting image was blank. Copy/paste to GIMP via the X Clipboard gives the same blank result.
I want to generate HTML files in batch to show some gvim colorschemes in action. I took my current solution from the script at but this will open open a gvim window for each colorscheme I want to process. So far, the only way I have found to avoid the annoying new windows that pop up every second is to start a VNCserver and set the DISPLAY environment variable to that of the VNCserver so that all gvim windows are sent to the display within the VNC session.However, I would like to know if there is a way I can avoid the whole VNC setup and just run a headless gvim instance that does the conversion and exits, with no windows ever being actually displayed.
My linux workstation recently crashed. After rebooting, Linux (Red Hat 5.3) will not boot properly and automatically went into emergency mode or recovery mode i think. I can still see my /home/user/ and all the files inside.I boot from CD to rescue mode and tried mounting read-only the /dev/sd5 which contains the files in the crashed hard disk to try to copy out my files but mounting was unsuccessful (invalid argument). I checked the filesystem type using fsck -N /dev/sda5 and shows it to ext2. i tried to mount another known working hdd and was successful.
My question is why in emergency mode, the crashed hdd is able to be mounted automatically as read-only but cannot be done in rescue mode thru a bootable CD?Is there any special mount options used in emergency mode?I also cannot copy out in emergency mode booting from the crashed hard disk as everything is read only.
I'm trying to install a language-pack for my OpenOffice, but there seems to be a dependency-problem. Maybe someone has a suggestion. FC12, x64 OOo.x64 3.1.1
I have an nfs share that mounts automatically when kde starts.
Code:
wendy@DellNB:~$ cat .kde/Autostart/mountNAS.sh #!/bin/bash mount ~/TestShare #echo "NAS Mounted"
[code]...
Gimp works fine editing and saving photos from/to the nfs share. kWrite can do its thing and read/create files on the NAS. Files I create with vim are visible and editable under windows. OpenOffice however, when I try an open a file I get "file is locked by unknown user." I open as copy and try saving to the share with a different name... No Dice, error saving to share the file is created on the share but it is empty. I did some reading and found a post that said to comment a line from a file called soffice, which I cannot find.
I have a brand new Z97-PRO (Wifi/USB3.1 version) that I got to replace a Gryphon Z87, and it was working great for the first day. I had my Debian and Windows drives both working, and I was working on getting GRUB reinstalled on the Debian drive in no time. At some point I needed to restore my Windows MBR for the millionth time, but this time was different. The Windows logo popped up and froze there. I know this is a thing that sometimes happens, but every other time since I replaced my Gryphon this process only lasted seconds. I let it sit for hours and it didn't move.
I then tried my Debian live USB, which loaded into the main menu, but upon selecting rescue mode it black screened and hung. This was an issue I experienced when I first got the board, but it seemed to work itself out after a few reboots and remained flawless until it just came back. At this point, I'm unable to get in to any of my OSes and I can't seem to successfully boot any external media in order to fix it. My BIOS is totally stock save for secure boot, which is set to Other OS, and memory in XMP mode. I also tried using an Ubuntu Live USB, but ended up hanging with the exact same Q-Codes as in Debian. I am running the system on 1 stick of RAM while testing.
Q-Codes at hang: UEFI USB - AF (Exit Boot Services Event) Regular USB - F6 (Reserved for future AMI progress codes)
Specs: - 2 boot SSDs (OCZ for Windows, Kingston for Debian), 2 storage drives, and a DVD drive. - The boot SSDs occupy SATA ports 1 & 2, the DVD drive takes up 3, and the storage drives take up 5 & 6 - i7 4770K, 32GB (8GBx4) Corsair Dominator RAM, GTX780Ti - 750W Silverstone PSU
I'm trying to boot into emergency mode but i'm having no joy. I can boot to single user mode (by adding s or single at the end of the kernel line in grub) and I can also boot to init=/bin/sh mode by using the same method, but emergency is not working. I'm using RHEL6 x64
I installed lucid last week, and this morning installed some updates that appeared in update manager and then started having issues with permissions so I rebooted. Now when I try and log in I get the message Authentication Error Normally this wouldn't be a problem I would reboot again hit ESC just before loading Grub appeared and go into recovery mode and change the password for my master user. But I never get the chance to press ESC, and even I hold the key down from the time my BIOS flash screen is up, I never get the GRUB menu.
i wonder why my ubuntu 10.10 don't have hibernate mode, as i remember in my previous install ubuntu 10.10 (in sama notebook) it's available i already don't have hibernate mode since, i format my last install ubuntu because driver vga. so i think it's not because not compatible softwareif it's hidden by somethings or bug how to show it again?
I'm having difficulty switching from GUI to console mode. I use ctrl-alt-f1 and the screen goes blank and I see a flashing cursor but I'm unable to do anything. I can switch back into GUI mode using ctrl-alt-f7. Also at times I see the word Ubuntu with 4 dots and 2 of them are orange if that's of any use. Like the initial boot loading screen.
I've tried going back to the default display drivers and that hasn't solved it. I'm using a CRT that's connected up to my display card via a VGA > DVI converter. *I've just checked and I can't get into recovery mode either
I used Ubuntu Tweak on ubuntu 10.10 and i don't remember what stupid thing i did. Now, my ubuntu never logs on, neither in recovery mode. I have attached the Camera Screenshot of the error screen. And i am a beginner, and it feels bad when my ubuntu doesn't work.
im currently using a RHEL5 RIS server in my Lab to deploy rhel5 for all my systems. everything has been configured and installation works fine, but i am not able to run the installation in text interface mode. when i type "linux text", i get an error saying invalid kernel parameter. i'll paste my /etc/dhcpd.conf file here. please have a look and let me know what changes i should be making in order for my text interface installation to be working.
I have kubuntu 9.04 installed in my computer and I am normally using a Gnome environment desktop (though I get back to KDE or Xfce if I have any troubles with Gnome)
This afternoon I restarted my computer and since ever I am unable to log in. I press the on button, get to the partition page and select Ubuntu 9.04 and the computer shows the login page
however, once I type in my password, the computer tries to log in but then brings me back to the login page asking for the password again. I have tried to login as Xfce, Gnome, KDE, Failsafe mode and the result is the same. The only way to get through is to login through the terminal, but then I am unable to get back to the graphical mode.