General :: Start X Server And App At Boot (or Services Load) Time

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


ADVERTISEMENT

General :: Terminal Command / Centos Server Starts Mysqld, Httpd And Ftpd Services At Boot Time Automatically?

Dec 27, 2010

Can anyone tell me what command can be used so that the Linux Centos Server starts mysqld, httpd and ftpd services at boot time automatically?

View 2 Replies View Related

General :: Boot - Controlling When Services Start In Fedora 14

Nov 7, 2010

Whenever I start up my laptop running Fedora 14, I notice that it says that it is failing to connect to my default wireless network since the wireless card is not activated. Since it appears that the wireless card is not activated until the NetworkManager service is started, is there anyway for me to set NetworkManager to start before this check is made? Boot message log is attached. [URL]

View 1 Replies View Related

Red Hat / Fedora :: Restart / Start / Stop All Services At The Same Time Without Rebooting?

Jan 7, 2010

is it possible to restart /start/stop all services at the same time without rebooting?

View 3 Replies View Related

Server :: Start Or Stop Jboss At Boot Time?

Jan 3, 2011

how to start or stop Jboss at boot time?

View 1 Replies View Related

Ubuntu :: Stop Upstart Services From Staring At Boot Time?

Sep 18, 2010

What is the correct way to stop upstart services from staring at boot time ? I'm doing something like this example in /etc/init/mysql.conf:

Code:
#start on (net-device-up
# and local-filesystems
# and runlevel [2345])
start on runlevel [!0123456] # I ADDED THIS LINE (and commented the above ones)
stop on runlevel [016]

1. Is this the correct way ?

2. Is there no way of doing something like we do with update-rc.d -f apache2 remove ?

3. When will ubuntu ship a gui to add or remove services from boot ?

View 1 Replies View Related

Ubuntu Installation :: Several Services Don't Start At Boot?

Jan 29, 2010

I'm having some strange problems in my system (Ubuntu 9.10 32 bits). Several services (Cups, MySQL, VirtualBox kernel driver, etc) aren't starting during boot time. It's possible start them manually (e.g. /etc/init.d/cups start). The other problem is that my virtual terminals (ctrl + alt + f[1-6]) aren't starting with the system too

View 9 Replies View Related

Ubuntu :: Standard Services Do Not Start At Boot?

Feb 17, 2010

I've been running Ubuntu 9.10 since November '09, and since a month or so I'm having boot problems. Gnome starts, but some core services such as ssh and dnsmasq (that have started on boot somewhere in time), don't start anymore. Neither does rc.local fire, so I basically have to startup these things by hand.

Also, I cannot get into the console anymore by using ctrl+alt+f*, because it gives a message like: Starting ntpd or starting libgcrypt 1.4.4, or something in that fashion.

My belief is that something is holding the boot procedure in a waiting state before services such as ssh get to start, but I can't seem to find anything in the log files.

View 3 Replies View Related

SUSE / Novell :: Services Do Not Start At Boot On 11.2

Feb 23, 2010

After upgrade of 11.1 to 11.2 I noticed that most of the services that was started in 11.1 at boot are starting now in 11.2. I check run-level of services with

Code:
chkconfig --list

And everything is as like was before the upgrade. When I start services manually everything is OK, but on restart they do not starting.

Code:
cat /var/log/YaST2/y2logmkinitrd
Kernel image: /boot/vmlinuz-2.6.31.5-0.1-default
Initrd image: /boot/initrd-2.6.31.5-0.1-default
Root device: /dev/sda7 (mounted on / as ext3) .....

View 2 Replies View Related

Server :: Start Services Without User Login - Centos 5.5?

Oct 4, 2010

I installed Centos 5.5 on a home PC to be used remotely.

All server daemons work fine but only start if the user is logged in.

How do I set the SSH server to start whenever the PC is turned on, rather than when the user is logged in? I read the chkconfig man page online but couldn't find anything.

Plus I put a script in my startup services to be run whenever the computer boots (I'm guessing when the users logs in). How do I go about setting that to run too whenever the system boots instead?

View 1 Replies View Related

General :: How To Change Threshold Time In Nagios Services

Jan 5, 2010

I have installed nagios in a CentOS vm and now its monitoring the local host, one remote host which is also a vm with CentOS 5.3 and one windows xp system. Is there any option for me to change the threshold time for the services given? For e.g. I had a service of current_load which comes as a default plugin while installing nagios itself. What should I do to change the threshold value of the current_load so that I might get the warning or error alert some time earlier as it was now.

View 5 Replies View Related

General :: Application On Server To Allow Network Boot Of Windows Pc's Force Boot Img Load

Apr 6, 2011

A colleague of mine was studying at the University of Vienna and saw an application which was based on linux whereby other pc's booted from it and if on the server they had set it to force a clean install on that PC it would download and install a windows image. Does anyone know of the app or could point me in the direction of a similar app.

View 5 Replies View Related

SUSE :: Can't Start Nfs Server - "Not Starting NFS Client Services - No NFS Found In /etc/fstab/

Sep 13, 2010

I cant start Nfs services. When I type the comman /etc/init.d nfs start I get "Not starting NFS client services - no NFS found in /etc/fstab/. I used yast to install nfs server already

View 9 Replies View Related

General :: Change The Start-up Sequence Of Services On SLES10/11?

Mar 2, 2010

I want to change the start-up sequence of services on SLES10/11.

I have my own start-up scripts for some services and I want them to start in a particular order(not in alphabetical order)

View 2 Replies View Related

Fedora Installation :: Load Vncserver At Boot Time?

Jun 21, 2009

configured /etc/sysconfig/vncserver, used vncpasswd as the user im trying to log in as to set passwd, disabled firewalls, set chkconfig --add vncserver but still whenever i try to connect to the vnc server I get "unable to connect to host: Connection refused (10061)". If I run the "vncserver" command as my normal user, I can connect fine then. This really wearing on me, any help is greatly appreciated. It is weird if I try to stop vncserver it says [ok] and then if I try to stop again it says [Failed] but if I check the status of vncserver it says Xvnc is running..

View 8 Replies View Related

General :: Changed User Password / Unable To Start Services

Jul 25, 2011

Vmware tells me it cannot start services.I believe the issue is tied to permissions because the message indicated the log with the full details was located in /tmp/vmware-root/setup-4772.log but when I go there I receive a message telling me I do not have permission to the directory and there's a lock symbol on the directory from the File Browser utility.What do I need to do to unlock the folder and get vmware working again ?

View 2 Replies View Related

General :: Couldn't Start Mysql Services On Debian Lenny?

Oct 12, 2010

i'm new to Debian os and currently want to install php5 apache2 and mysql 5.1. But ive got problem to start the mysql services.The error on command prompt as belows:

[Code]...

View 9 Replies View Related

Ubuntu / Apple :: Cannot Get Wireless Driver To Load At Boot Time

Mar 14, 2010

I followed the instructions that came with the 802 .11 Linux STA driver and was able to initialize my card and connect to a protected network! The instructions also tell me how to load the drivers at boot time, but I get an error when I try to run

Code:

# sh: for i in `find /lib /var -name wl.ko`; do mv $i ${i}.orig; done

The message returned is

Code:

bash: syntax error near unexpected token `do'

Upon restarting, my wireless is no longer active. My card is Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller (rev 01)

View 7 Replies View Related

OpenSUSE Install :: Boot From USB Connected External Hard Take Long Time From Loading INITRD Image To Start Boot Process?

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

CentOS 5 Server :: Start Nfs Services And Get Error "Starting NFS Daemon: [FAILED]"

Aug 29, 2011

When I want to start nfs services ,I get this error, Starting NFS daemon: [FAILED]

View 1 Replies View Related

CentOS 5 Server :: Website Taking Long Time To Load?

May 27, 2010

I am using KVM and created four guest Operating systems on it.The server host is Ubuntu 10.04.I am using 4 websites in a reverse proxy environment.One of our website is running on CentOS VM.Right now there is no traffic on the website static HTML pages.I do not have any clue as why it was taking longer time to be accessed.

View 2 Replies View Related

General :: Run GUI Application From Userdefined Boot Time Daemon Server ?

Jan 18, 2010

I am writing one simple server daemon and running with /etc/init.d/server its running properly but when i want to run one simple QT GUI with system() function , its not able to run it and returning 256 as return code .

If same daemon i m running from terminal then its working properly and also system() function is getting success with return value 0 and GUI is getting popped up.

View 1 Replies View Related

OpenSUSE :: Start A Program At Boot Time?

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

OpenSUSE :: How To Get Apache To Start At Boot Time 2

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

Software :: Get Nagios To Start At Boot Time?

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

Debian :: Start Service At Boot Time On 4?

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

Ubuntu Servers :: Web Server Time Freeze And Weird Load Avg Data?

Aug 23, 2010

I am completely stumped. Found my web server (lighttpd) unresponsive this morning and had to hard cycle it. After some cleaning up, all was happy. However, after about an hour of handling a decent amount of web traffic, time freezes as far as the web server is concerned. I've got an hour of access.log data with the following date: [23/Aug/2010:20:42:58 -0500]

It never changes. The load average now reads 0.00 0.00 0.00 (which is totally inaccurate). And I am not able to successfully log in remotely. I have taken the server down 3 or 4 times today and after an hour or so of functioning normally, this is what happens. Additionally, the local time is now off by 30 minutes.Trying to force with ntpdate does nothing (or, at the very least, sets it to the same incorrect time)

View 4 Replies View Related

Debian Configuration :: Resolvconf - Does Not Start At Boot Time

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

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 View Related

General :: How To Start Postgresql Server Automatically When Boot?

Aug 5, 2010

I'm wondering how I start it automatically when I boot up the ubuntu 10.04? especially, when I created the user "postgres", I set a password to it. every time I issued "su - postgres" command, I need to give it a password.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved