Xmanager Forum

auto run command at logon

Last post: Thursday, January 7, 2010 7:08 PM by Support, 1 reply

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

auto run command at logon

 
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
Thursday, January 7, 2010 7:08 PM - Support

Re: auto run command at logon

 
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