CentOS 5 :: Start OpenOffice At Boot-time Headless?
Dec 6, 2010
I try to start openoffice in server mode so a CMS can use it to convert documents. In a shell I can call
/usr/lib/openoffice.org3/program/soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard -display:1 &
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
[Code]...
View 5 Replies
ADVERTISEMENT
Nov 13, 2010
Does anyone Know how to set up Openoffice headless server on openSuse 11.3 ?
View 9 Replies
View Related
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.
View 2 Replies
View Related
Jul 18, 2011
I have installed "open-SUSE 11.4" on a "500GB Free Agent External Hard Drive". I didn't have any problem in booting since last week that I booted it from my laptop. Also I did it before several times from then when I try to boot it e.g. from an "Intel(R) Core(TM)2 Quad CPU Q9400 @ 2.66GHz" PC the time between loading INITRD and starting boot sequence messages lasts nearly 30 minutes!(i didn't actually measure it but it take a long time in the same order). after starting boot sequence which is showed on monitor everything looks normal. e.g copy of files would be done by speeds between 2MB/s to 30 MB/s depending on the targets.I used to use the external hard derive to boot from different laptops and PC's from start but I didn't have such a problem anytime.
View 1 Replies
View Related
Jun 24, 2010
I have written simple application in CPP which listens on port 8080. But when I start the application and check the port it is listening on (using netstat -nap), I can see that the application is listening on port which is > 30000.
This port number keeps on changing if I re-run the application.
if I have to do any kind of a seeting so that application starts listening on 8080 port.
I am using CentOS 5.5 (I tried same on CentOs 5.2)
View 1 Replies
View Related
Oct 19, 2010
I have a centos 5.5 server, without a monitor connected to it.Sometime i need to connect to it with VNC, but maximum resolution is 800x600.How can i increase it at least 1024x748 ??I tried in system-config-display changing the monitor to a generic CRT 1024x768, and rebooted.But only allowed resolutions are 800x600 and 640x480.
View 6 Replies
View Related
Jun 23, 2010
I have written simple application in cpp which listens on port 8080. But when I start the application and check the port it is listening on (using netstat -nap), I can see that the application is listening on port which is > 30000.
This port number keeps on changing if I re-run the application.Please let us know if I have to do any kind of a seeting so that application starts listening on 8080 port.I am using CentOS 5.5 (I tried same on CentOs 5.2)
View 1 Replies
View Related
Aug 6, 2009
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
i)Xvfb :1 -screen 0 800x600x24 &
ii)export DISPLAY=localhost:1.0
iii)echo skypeusername skypepw | skype --pipelogin &
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
[Code]...
View 1 Replies
View Related
Jul 2, 2010
I do this every time.
Code:
ifup dsl0
How can i set this to start at boot time?
View 9 Replies
View Related
Mar 30, 2011
i have compiled/installed Apache from source code ...however i don�t now how to start it at system start up as a daemon to run at level 3the server is usually started by the apachectl scriptwhich understand start stop restarti don't want to use suse distribution of Apachecan i just copy apachectl to /etc/init.d and make a link to it at /etc/init.d/rc3.d
View 4 Replies
View Related
Sep 19, 2010
I tried setting up Nagios 3.2.2 on Ubuntu 8.04 using this guide [URL]Every thing went well until trying 'make install-webconf', I then got the following error.
/usr/bin/install -c -m 644 sample-config/httpd.conf
> > /etc/httpd/conf.d/nagios.conf
> > /usr/bin/install: cannot create regular file
[code]...
View 1 Replies
View Related
Mar 10, 2010
I am using Debian4 and I have apache under /home/apache/bin/apachectl How to start the apachectl service for every time system restart, Itmust be start automatically. Please tell me how todo or how to write the script, how to configure forrun level 2,3 and 5
View 6 Replies
View Related
May 15, 2010
I have a headless mythtv running 13, when there's no monitor connected X doesn't start. If I plug a monitor in it still doesn't do my any good as there's no kb/mouse either. I know the system has booted fine as I can connect to myth remotely. This a slackware or x problem? Want to run x11vnc here but without x I can't do that.
View 5 Replies
View Related
May 1, 2010
I'm running Debian Etch AMD64, and currently trying to clean up my system in preparation for an upgrade to Lenny. One problem I have is that resolvconf (which is installed) does not start at boot time, but if I start it manually then bring the NIC down and back up, it works OK, with no error/warning messages.
View 9 Replies
View Related
Jan 3, 2011
how to start or stop Jboss at boot time?
View 1 Replies
View Related
Jan 11, 2010
This on a Vostro 1220 Laptop w/ Intel 5300 wireless:
A.I have long boot up time.I think it's because of the eth0 network search which I don't use.I have an intel wireless 5300 card running.How can I speed up the boot time, i.e. disable or change the eth0 at boot, the searching?
B:When I restart or shutdown, the screen flashes repeatedly and gets some garbled colors along the top before finally rebooting looks like windows ME or something).This vostro has an intel x4500HD vid chipset in it.
C.How do I get into gnome configuration editor to turn on Metacity compositing? Alt-F2 and run gconf-editor doesn't do it. I don't do compiz, but need compositing.
D.I need to install Chromium Browser as it sync my bookmarks.I have RPMforge enabled btw also...how can I do that? I.e. rpm repo for chromium?
This will help me get off to a running start so I can get up to speed on CentOS..
View 3 Replies
View Related
Jul 28, 2010
I've gotten hold of 3 old pc's that I've installed with Jaunty & use Loki as a quick and dirty render farm manager.
I've got one display between them and so i can check that each one works on its own as a 'grunt' of the 'master' (my main pc).
To get the grunt to work I have to log in to a cli (to save on ram), start nm-applet (the only way the wireless cards work at mo) & start Loki in grunt mode. All whilst connected to a display.
I'd like to learn how to script all this so I can simply switch the pc's on without needing to use a display. Do i need a boot script and how does that work?
How do I set them to auto log in to command prompt?
View 6 Replies
View Related
Jan 5, 2010
so as my title implies I like to login to my headless debian box after it reboots yet havent found any info on that. Can someone please tell me of script which I suppose would be used to make vino start as a process right after boot
View 2 Replies
View Related
Dec 6, 2010
I am running Debian-Squeeze with apache2. However, apache2 doesn't start at boot time, even though there is of course the required script in init.d. I can start it later on using "/etc/init.d/apache2 start". I have checked the configuration with "apachectl configtest" - giving the answer "Syntax ok". How do I get it to start automatically at boot time?
View 1 Replies
View Related
Mar 6, 2010
Arpwatch is failing to start at boot time. I got this message:
arpwatch: bad interface eth0: eth0: no ipv4 address assigned
Once I login into my account, I can (as root) run the arpwatch demon, but it is suppose to run at boot time. After I installed aprwatch, it was working correctly. I do not have an idea of what happens or since when the problem start to happen. I just realize, after a while , that arpwatch was not running. I am running Fedora 12 - 2.6.32.9-67.fc12
View 4 Replies
View Related
Mar 3, 2010
I like to login to my headless debian box after it reboots yet havent found any info on that. Can someone please tell me of script which I suppose would be used to make vino start as a process right after boot.
View 3 Replies
View Related
Apr 27, 2010
I installed and configured privoxy - everything worked nicely when I run it manually by
Quote:
/etc/init.d/privoxy start
After restarting the computer privoxy wasn't start automatically. I checked the links in /etc/rcX.d - are o.k. I installed sysv-rc-conf - shows that for runlevel 2 - 5 privoxy is running. I changed /etc/rc2.d/S20privoxy to /etc/rc2.d/S99privoxy - to start that process at the end. I installed Boot-Up Manager. Privoxy is marked for start automatically. I added in /etc/rc.local line: /etc/init.d/privoxy start
Privoxy still doesn't turn on at boot time and every time I must start it manually. Could you tell me how could I repair this ?
View 4 Replies
View Related
Jun 18, 2010
I have a system I use as a file server running Ubuntu 10.04. I don't have a screen hooked up to this system. When this system reboots, if there is no screen, X wont start on it. This then prevents me from using VNC to get to the desktop.If a monitor is plugged in at the time it boots, then everything works, and I can then remove the monitor. But moving this monitor between computers and crawling under desks is not enjoyable.How can I fix this so X starts on boot even when no monitor is plugged in?The error I get in /var/log/Xorg.log* looks like this:
grep -EnC2 "EE|WW|fatal|error" /var/log/Xorg.0.log
...
331- (II) Primary Device is: PCI 01@00:00:0
[code]...
View 5 Replies
View Related
Aug 23, 2010
What's the best way to register a daemon to start up at boot time in lucid? I have tried registering the following script using "sudo update-rc.d"
Code:
This is supposed to get the daemon for opentftp started, but it does nothing, although I can see the results of the "echo 'Server opentftpd started' " in the boot log in /var/log .Any thoughts or general help on what the best way to accomplish such a task is?
View 1 Replies
View Related
Oct 14, 2009
I need to start an application (graphical) when the PC start, even before anybody login, and use/launch a specific user. Now only can do this manually; when gdm starts, switch to any text tty [ie. Ctrl + Alt + F1], then I login into the special user, start a X server, export the DISPLAY environment variable, and start the application.
With this steps:
Code:
$X :1 -verbose -nr -nolisten tcp &
# Maybe Metacity -> $ metacity
$export DISPLAY=:1
$JavaApp &
Now i need put this steps (script) in some place to launch the app automatically, and with and specific user [ie. manager].
How can I made it? Maybe in init.d? or an special xinitrc? And how can start the app with the specific user? And, if is possible, who can stop the app when the system going turn off? I have Debian 5.0 and a beginner knowledge of shell script.
View 5 Replies
View Related
Mar 27, 2009
I have installed Fedora10 on my PC which had an XP. Now Fedora waits just 2-3 seconds to press any key to choose between XP and Fedora. Actually if I don't press any key it automatically begins Fedora. How can I increase this time interval?
View 3 Replies
View Related
Feb 23, 2011
I just did a distribution upgrade on my laptop from 9.1 to 10.04, and it went fine for the most part except this issue. After it boots up, I don't see any window titles/scrollbars/borders and on clicking the icon for "Show desktop" on the bottom left, I see the following error message:
"Your window manager does not support the show desktop button, or you are not running a window manager."
After googling a bit, I realized that gnome-wm is not starting automatically and so I have to manually start each time to see the windows working properly. Can somebody tell me if there is a way to make sure that gnome-wm starts automatically? I know I can put it in my .bashrc but I want to do it the correct way if possible. If not, I will have to go with that workaround.
View 9 Replies
View Related
Jul 28, 2009
I am trying to get mysql to start at boot without any success.
The mysqld scripts works fine when run from the command line, but it does not work when i use the links created by chkconfig. I checked the boot.log and found that mysql starts but then it stops or gets shutdown. This is the log message:
Starting mysqld daemon with databases from /data/mysql [ OK ]
Starting cups: [ OK ]
STOPPING server from pid file /var/run/mysqld/mysqld.pid
starting DenyHosts: /usr/bin/denyhosts.py --daemon --config=/usr/share/denyho
sts/denyhosts.cfg
090727 04:35:47 mysqld ended
The same init script works fine in Ubuntu.
View 2 Replies
View Related
May 14, 2010
I just did a distribution upgrade on my laptop from 9.1 to 10.04, and it went fine for the most part except this issue. After it boots up, I don't see any window titles/scrollbars/borders and on clicking the icon for "Show desktop" on the bottom left I see the following error message: "Your window manager does not support the show desktop button, or you are not running a window manager."
After googling a bit, I realized that gnome-wm is not starting automatically and so I have to manually start each time to see the windows working properly. Can somebody tell me if there is a way to make sure that gnome-wm starts automatically? I know I can put it in my .bashrc but I want to do it the correct way if possible. If not, I will have to go with that workaround
View 4 Replies
View Related
Dec 31, 2010
I have a SSH box which is command line only and no X, this will be used remote and i'm trying to get the wireless network configured to start at boot. I'm using wpa_supplicant as the access point is secure with WPA2 At present if I send the following commands the machine will connect to the wifi and be reachable via ssh
ifup wlan0
/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -D wext -dd -i wlan0 -B
dhclient wlan0
This does not start at boot but requires manual input of the above commands. I've just come to a complete blank on geting this to start at boot time. Also I would like to set a fixed IP for this box.
View 7 Replies
View Related