The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 11-19-2008
trutoman's Avatar
trutoman trutoman is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 21
Problem with gnome-terminal (resolved)

Hello everyone. This is my first post.

Using Ubuntu 8.04 and bash 3.2.39 i'm trying to adapt my routine to this platform.
So, this means forget xterm and use gnome-terminal (as default ubuntu terminal). EveryDay i need to connect to several servers, and i've made a Tcl'script to make this more confortable, the end-instruccion of this script is to create a gnome-terminal executing ssh. Here is my command.
Code:
gnome-terminal -e "ssh -l userX ServerX" -t " This is SERVERX" --window-with-profile "Xprofile"
This is what i want, but this command create 2 terminals !! . In one of them it "executes" the ssh command without title or profile and in the other terminal it doesn't execute any command but set the title to "This is...." and the profile to Xprofile.
Why ??? How can i solve it using gnome-terminal , xterm isn't an option.

Thx all.

Last edited by trutoman; 11-20-2008 at 05:23 PM..