auto run command at logon [1]

auto run command at logon

Thursday, January 7, 2010 8:40 AM - chad

i've seen where others have setup their xmanager software to automatically issue a command when it logs you onto a remote machine. How do I do this?

For instance When you double click an xstart session shortcut on your desktop, it will log you onto the remote machine, and type a command like 'bash' to change shells. How is this done?

Program Ver. : Xmanager 2.x
Connection Method : Xstart connection


Re: auto run command at logon

Thursday, January 7, 2010 7:08 PM - Support

There are few ways you can do this:

1. Using xterm/dterm parameters
For example, if you are using xterm you can open a new xterm window and run bash by using the following command:

xterm -e bash


2. Use login script
You can use login scripts such as .bashrc or .login to run bash when xterm/dtterm starts.


---
Technical Support


Previous views: 118