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
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?
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?
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.
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
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 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?
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.
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.
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.
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
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.
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:
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.
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?
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.
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?
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.)
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.
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.
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?
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".