how to execute an exe at startup using rc.local


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting how to execute an exe at startup using rc.local
# 1  
Old 07-19-2012
how to execute an exe at startup using rc.local

I want to execute a qt exe program at startup. That is after automatic login instead of loading Desktop and seeing it, the program quickly pop up to the screen. For this, I think we should add the script to rcx.local rather than rc.local I guess though.. I tried adding a script to /etc/rc.local and giving it permission, but non works out.
I would thank if you explain the procedure in detail.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How can I execute local script on remote machine and include arguments?

I have a script in local server cd /home/dell/work/BOP/testdir ./processchk po (here processchk is a script & po is passed as an argument) Now I want to execute this script from remote server ssh $username@$hostname "cd /home/dell/work/BOP/testdir; ./processchk po" But Its getting error... (9 Replies)
Discussion started by: manohar2013
9 Replies

2. Shell Programming and Scripting

Startup script wont execute on NAS

Hi, So I've created /etc/rc.local #!/bin/sh polipo -c /opt/etc/polipo/polipo.conf exit 0 if I run it with ./rc.local it does what its supposed to do and the proxy starts but not at startup. any idea whats wrong? thanks (1 Reply)
Discussion started by: deon
1 Replies

3. Shell Programming and Scripting

Execute a local script against a remote server

I am unable to run the below script against a remote server due to syntax error (then unexpected), but i am able to run it locally. Am i executing it correctly or is there any other way to execute it. ssh username@servernname ksh -s < scriptname #!/bin/ksh function record { ((end =... (5 Replies)
Discussion started by: NarayanaPrakash
5 Replies

4. Red Hat

How to create local mount point at startup?

how to create local mount point at startup Filesystem GB blocks Free %Used Iused %Iused Mounted on xxxxxxxx 370.00 180.08 51% 24500 1% /test (5 Replies)
Discussion started by: karthik9358
5 Replies

5. UNIX for Dummies Questions & Answers

Not able to execute an exe file from my location

Hello all, Am facing a peculiar problem, I have copied a utility exe from a bin folder into my local temp folder. I am trying to execute that exe, but it throws out an error saying "No such file or directory". I have given 755 & 777 permissions to it and I tried, but it still throws out that... (6 Replies)
Discussion started by: abhisheksunkari
6 Replies

6. HP-UX

How to execute a remote file with local command

Hello, I know this is somewhat strange, but please let me know if possible. I want to execute a program file in the remote machine with command on the local machine. Let me make things more clear. Suppose I have a cc on my local system and do not have that on the remote system. I want to use... (2 Replies)
Discussion started by: Veera_Raghav
2 Replies

7. Programming

c++ : Use of System() to execute .exe with parameters

Hello, I 've trie to execute a a program with parameters unsuccessfully and i take the above message : "The system cannot find the path specified." I used a variaton of the above command : system("\"C:\\xxx\\xxx\\xxx.exe -xxx -xxx xxx.xxx xxx.xxx xxx.xxx\""); Thanks in advance (4 Replies)
Discussion started by: eusta
4 Replies

8. Shell Programming and Scripting

How to execute local function in awk

Hi All, Can you please tell me how to execute local function written in a shell script with awk. i tried with system command but its giving an error. (1 Reply)
Discussion started by: krishna_gnv
1 Replies

9. Shell Programming and Scripting

How can I do a rexec to execute un C exe ?

Hello, I would like to do a rexec to execute a C exe (prog.e) : rexec -l user -p password host prog.e When I execute this command, I have this error : prog.e : can not find lib.o But, When I execute prog.e directly in the remote machine : well done ! No error output. Thks for your... (4 Replies)
Discussion started by: Lika
4 Replies

10. Programming

how To edit exe to insert a serial no wich can be usd by runing exe

At time of installation I have to open the resource. and i have to insert a string serial number in the exe. please provide me code to edit the exe (in solaris) to insert a serial number which can be used by exe at run time. (6 Replies)
Discussion started by: ssahu
6 Replies
Login or Register to Ask a Question
autosysconfig(8)					      System Manager's Manual						  autosysconfig(8)

NAME
autosysconfig - Maintains the list of dynamic kernel subsystems that are automatically configured SYNOPSIS
/sbin/init.d/autosysconfig add | delete | list [subsystem-name] DESCRIPTION
Use the autosysconfig program to maintain the kernel's list of dynamic subsystems that are automatically configured at each system startup. The following list describes the autosysconfig commands: Adds a dynamic subsystem to the list. At each system startup, the specified sub- system is automatically configured into the kernel. (The object module that contains the subsystem must exist in the /subsys or /var/subsys directory for automatic configuration to work correctly.) You must specify the subsystem-name parameter with the add command. Deletes a dynamic subsystem from the list. At each system startup, the specified subsystem is omitted from the kernel. You must specify the subsys- tem-name parameter with the delete command. Lists the dynamic subsystems that are automatically configured at system startup. The system issues the sysconfig -c command to configure dynamic subsystems at system startup. The subsystems are added to the kernel dur- ing the execution of the init program. No dynamic subsystems are automatically configured by default. You must add a subsystem name to the list to enable automatic configuration of that subsystem. EXAMPLES
The following are examples of using the autosysconfig command: To add a subsystem to the list of automatically configured subsystems, issue the following command: # /sbin/init.d/autosysconfig add lat This command adds the lat (Local Area Terminal) subsystem to the list. To see what subsystems are on the list, issue the following command: # /sbin/init.d/autosysconfig list Current automatic configuration list includes the following dynamic subsystems: lat SEE ALSO
Commands: sysconfig(8), sysconfigdb(8) System Administration autosysconfig(8)