[Gllug] Shell woes

John Edwards john_ed at cornerstonelinux.co.uk
Mon Nov 12 11:33:38 UTC 2001


On Mon, Nov 12, 2001 at 11:25:16AM -0000, will wrote:
> 
> Hi All,
> 
> A freind of mine has the following two scripts:
> 
> #!/bin/bash
> ssh user at domain.com
> 
> #!/bin/bash
> telnet domain.com
> 
> and they both work fine when run directly from a terminal, but only the ssh
> one will run from in the konquerer file manager.  The ssh one correctly
> opens a shell and connects to the server, the telnet one does not even open
> the shell window.
> 
> Any ideas?

Try getting the script to open the terminal window first and then run the 
program, eg:
	xterm -e telnet domain.com

alternatively you use konsole or rxvt instead of xterm if you prefer them.

-- 
#------------------------------------------------------------#
|      John Edwards    Email: John.Edwards at uk.com            |
|                                                            |
|     "Security vulnerabilities are here to stay."           |
|   Scott Culp, Manager, Microsoft Security Response Center  |
#------------------------------------------------------------#

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list