CentOS 5 :: Can't Autostart Program At Boot
Jan 1, 2011
CentOS 5.5, I've installed Synergy to share my keyboard/mouse and it works fine. Now I'm trying to get it to load automatically at boot.
The command is simple, "synergyc <computername>".
I've tried putting the command (see above) into rc.local I've tried putting the command in a script and referencing in in rc.local I've followed the instructions for building it into init levels (2-5) with chkconfig
Quote:chkconfig --list
synergy.sh 0:off 1:off 2:on 3:on 4:on 5:on 6:off
View 19 Replies
ADVERTISEMENT
Jan 17, 2011
I've got it to the point it will run when you login by adding a line to the /etc/xdg/lxsession/Lubuntu/autostart file. Added "synergyc 111.111.1.11" and it works perfect. So the main question is, how can I add that line somewhere, somehow to start on boot and not by login?
View 1 Replies
View Related
May 23, 2010
I have a java application that is in this path: java -jar /home/jbo10/.stuff/run.jar
If I type that command the gui comes up and it's ready to run. I want this program to autostart with ubuntu, so I went into gnome-session-properties and put that command in there.
But it's not starting. I'm not sure what I'm doing wrong or if there's another way to autostart programs?
View 5 Replies
View Related
Mar 7, 2011
How can I make a script file a runnable thread auto-start program. the script is: executable permission I add: #! bin/sh -e at the first of the code I add /home/sok/Scripts/check.sh at the end of /etc/rc.local before exit 0 I add /home/sok/Scripts/check.sh in Autostart as program. I restart the system. no effect.
View 4 Replies
View Related
May 5, 2011
my system has an autologin as root defined by custom.conf which is located in /etc/gdm : Code: [daemon]
TimedLoginEnable=false
AutomaticLoginEnalbe=true
TimedLogin=root
AutomaticLogin=root
TimedLoginDelay=30
And I would like to have the program "expfit_spifunc2" executed after the auto login. So, I have added "xterm_expfit.desktop" inside of /root/.config/autostart
"xterm_expfit.desktop" code:
Code: [Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=xterm_expfit
code....
View 7 Replies
View Related
May 27, 2009
usually i run the file with
1. open the terminal (log in as root)
2. then just write sh Start-ServiceEngine from the folder it self.
i try to make auto start with this way :
1. create file in /etc/init.d/ name blah
[blah]
#! /bin/sh
sh /root/service-engine/Start-ServiceEngine
exit
[/blah]
2. changing the mod : chmod 755 /etc/init.d/blah but when i restart the centOs it seem run but with error on my program.
View 1 Replies
View Related
Apr 18, 2011
I have a new CentOS 5.6 installation. It was installed in text mode. I have changed the line id:3:initdefault: in /etc/inittab to id:5:inittab. Even after that change, gdm does not start automatically. gdm is installed, and can be started from the command line. I have put DISPLAYMANAGER="GNOME" and DESKTOP="GNOME" in /etc/sysconfig/desktop.
I would like to get gdm to start automatically.
I observer that rhgb is running after startup:
[root@host ~]# ps axu |grep rhgb
root 3830 0.0 0.0 165676 10816 ? Ss 12:10 0:00 /usr/bin/rhgb
root 3840 0.0 0.0 87976 7996 tty8 Ss+ 12:10 0:07 /usr/bin/Xorg -s off
[Code]....
View 13 Replies
View Related
Jan 28, 2010
I am fairly new to linux.We have a machine running CentOS 4.4 and sometimes the machine has to be rebooted. Each time after the reboot, I have to SSH in and manually restart one of our application. I have been reading about doing this online and I am a little confuse.Seems like there are multiple possibilities for starting things up. My finding suggest using the inittab file. Then my question is what runlevel do I pass in? Should I use runlevel 1, 2, 3, or 5? Once the runlevel is determine, then how should I name my startup script? I know to use "S" but what number should I give it? Or, another way to approach this is to put my autostart script in the /etc/rc.local file?
View 4 Replies
View Related
Oct 1, 2009
I am trying to build a fat client on an old pc. I have CentOS 5.3 installed standalone. Basically when the user turns on the pc, it automatically logs into a linux account and the desktop appears. I have installed rdesktop 1.60 to connect to a Win2008 server. From the command line or from a launcher icon I created on the linux desktop everything works fine. What I want to do is for the system to automatically execute rdesktop after the automatic login to linux. So I used the Sessions GUI. (Go to System, then Preferences, then More preference, then Sessions.) Within the Sessions GUI, I clicked on the "Startup Programs" tab and click on the "Add' button.
I type in :
rdesktop -f servername (where -f gives you full screen, and servername is the name of the windows server)
This works a couple of times, then it fails. When you reboot the linux pc, it will auto login, then show the rdesktop screen for a split second, disappears and then it shows the linux gnome desktop.
View 5 Replies
View Related
Jan 16, 2011
How can I autostart samba on boot? I always need to open the terminal and type in sudo service smbd start
Anyone know how to autostart this?
View 3 Replies
View Related
Apr 4, 2011
I have an Ubuntu server installed at home, on an older machine. Unfortunately I am to far from my router to run cat5 and solve this issue. But I want to be able to have the wireless come up if the server restarts as then i could log in remotely.
View 1 Replies
View Related
Jul 16, 2011
How do I stop Lighttpd server from auto starting when I boot? I'm using it on my laptop for testing and I'd like to turn it on when I need it but not have it autostart.
View 1 Replies
View Related
Oct 30, 2010
I configured succesfully openvpn server, but the service won't start at boot !I thought openvpn automatically starts al the *.conf files in the /etc/openvpn folder ?on my personal laptop the service automatically starts all the .conf files in the folder. But on my server with server.conf file it won't start at boot. I have to start the service as root
View 1 Replies
View Related
Jun 14, 2009
I just installed Fedora 11 (excellent work by the Fedora team!) and got my Verizon mobile USB CDMA device working after some file modifications (easily found via searching).
I have to click the network icon in the task bar, and select "Auto Mobile Broadband (CDMA) Connection" to get it to connect though. It then shows up via "ifconfig" as ppp0 and all is good.
But how do I get this to auto-start when the system reboots? It doesn't show up in the network manager, and I'm not even sure how to use command-line to start up the CDMA connection! I only can do it via clicking that icon.
View 2 Replies
View Related
Mar 30, 2011
Is it possible to list/find/compare the program versions on a Centos system, against Redhat/Centos Errata/Security/Bug lists? Sort of looking for a way to make sure that all the packages on a system are ok, and not a security risk-- Without having to update every package. A pseudo code, in my mind is:
[Code]...
View 2 Replies
View Related
Sep 7, 2010
I'm running windows vista right now on my laptop and I can't boot into ubuntu, I tried downloading that one program from the disc to assist in helping it run from boot, but it still goes right to vista. I don't know what to do.
View 2 Replies
View Related
Jul 27, 2009
I'm running CentOS 5 in a virtual machine, and the pound service no longer starts at system startup. So I have a few questions...
Is this an easy fix or do I need to recompile pound?
How do I recompile a program?(Would like to know regardless)
Any suggestions?
View 2 Replies
View Related
Feb 9, 2010
I don't know how to work repository system.
I'm coming from Ubuntu where I can find a program through apt-get.
I would like to know how I can find a program in repository
I need to install the following software:
1)VLC
2)SIPp
3)Image Magick
4)Speex library (yum install speex speex-devel)
I can install all by source code but it's too long.
View 7 Replies
View Related
Feb 2, 2011
I have installed open ldap in my centos.When I tried to use slappasswd, the terminal said "bash: slappasswd : command not found".I have searched for the file and I found it that it is in /usr/sbin and that it is link to slapd (also in the same directory).How can I get the program slappasswd?
View 1 Replies
View Related
Feb 2, 2011
i have bought a vps which is centos.I want to run a c program. How to run?
View 1 Replies
View Related
May 26, 2009
As the need to install this program amsn-0.97.2.tar I can show step by step installation then how can I run the program to use.
View 4 Replies
View Related
Oct 5, 2009
I'm trying to execute a C++ program on PowerPC. But I am facing an error saying: "error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory". But a C program gets executed successfully. The programs are cross compiled using PowerPC cross compiler.
View 1 Replies
View Related
Dec 12, 2009
I have rented a VPS based on CentOS5 (naturally) from Burst.net who use a front panel by vePortal.I can't access it by its own shell and am told that CentOS5 does not come with FTP or Putty access. THey must be installed by me.(I'm not sure of the support competence at the provider, so I've come to the source)I think/hope that such basics would be part of the primary OSystem?How would I install programs onto a system with no such access?
View 1 Replies
View Related
Mar 22, 2010
I have a dual-monitor setup. I have some programs which I would like to start automatically. I each one to start up full screen on a particular monitor, in a particular workspace. Then I can use the workspace facilities to easily switch between the programs, and they will always appear on the correct monitor, in the correct workspace. (At least one of the programs (VMWare Workstation) does not seem to be startable using the facilities to save the current session on logout.)
View 2 Replies
View Related
Jun 14, 2010
I'm having trouble running programs from a flash drive. They're small self-compiled console programs my CS teacher wanted me to try out. I get "bash: permission denied" every time. Copied them to my ~ and they work fine. The files have the right properties set. I believe the drive may formatted as VFAT/FAT32.
View 2 Replies
View Related
Apr 16, 2011
I've just ordered my first vps with centos 5. I've got a minecraft server running through the provider's in house ssh client. After I close and reconnect to the session the server continues to run (which is great) but I can't give it any commands because I have no idea how to resume the session with a given program that's already running.
View 3 Replies
View Related
Apr 30, 2011
how to install the Deluge and its WebUI on centOS via ssh!
on this page there are some instructions and command :
deluge installation
but i when i go through that for installing i give me several errors!
how to do that with detailed information only for centos
this search may help but i found that confusing too
google search for installing deluge
may someone write a detailed how to install and run this on centos?!
View 1 Replies
View Related
Jul 24, 2011
So this picture will explain [URL].. So after i typejj java -jar RSBot-257.jar it should have to come ijj up.It doesent show any errors but doesent start.What to do?
View 1 Replies
View Related
Apr 20, 2009
I'm trying to compile a program on CentOS 5.2. It's giving the following error. Does anyone have a clue what it means?
/net/hulk/home4/tedhyu/openmpi/openmpi-1.1.1/install/bin/mpif77 -o quest_ompi.x lcaomain_tp.o utl_mpi.o lcaosubs_tp.o lcaosubs.o /project/source/seqquest/libs_32/scalapack-1.8.0/libscalapack.a /project/source/seqquest/libs_32/BLACS/LIB/blacsCinit_MPI-LINUX-1.a /project/source/seqquest/libs_32/BLACS
[code]....
View 5 Replies
View Related
Jan 12, 2010
I am trying to add some functions to a Postgresql database. The functions use a shared library which they think is: /usr/lib/pgsql/postgis-1.4.so They say: "ERROR: could not load library "/usr/lib/pgsql/postgis-1.4.so": libgeos_c.so.1: cannot open shared object file: No such file or directory"
I cd to /usr/lib/pgsql/ and do an ls. postgis-1.4.so is there. libgeos_c.so.1 is as well (and it's in /usr/lib/ )
Both the files seem to exist. I cannot copy either of them (cp says "cannot stat '[file]': No such file or directory".
View 6 Replies
View Related