As I newby, I am facing a challenge with regard to opening a new xterm with the 'xterm' command. The challenge is mostly because of my lack of background knowledge how an xterm is created and not knowing all it's ins & outs.
At my workplace, I have an application which opens up a GUI, which happens to be running an a different host. I can verify this with "echo $hostname". The GUI of the app provides a button to open a new xterm. From now on, I will refer to this terminal as custom xterm. This custom xterm is not the same in terms of some of the environment variables, links, etc. compared to a Linux login-xterm or one opened from the Redhat Linux system menu. Interestingly, the custom xterm does process my local .aliases and .bashrc file at creation time, I simply verified this by executing some of the aliases defined in .aliases, created by myself. I also noticed that where in my login-server/host I have access to /bin/python while the other host has not. These are some of the differences.
Though, this custom xterm clearly has access to all my local files, just as any other xterm. When starting up another new xterm from this custom xterm with the 'xterm' command, we get a clone of this xterm. Nothing strange here I guess.
Is there a way, from the command line of this custom xterm, to startup a new xterm with the exact same environment settings as the original login-xterm from the login server/host?
What I already know:
I am aware of the app-defaults/Xterm configuration file, but this only configures fonts and looks as far as I know and experienced. I guess, this is not what I am looking for to achieve my goal. Neither is my answer in the .aliases or .bashrc files.
I looked at the humongous user manual of the Xterm command, but failed to find what I am looking for. Any help would be much appreciated. Thanks.
I guess any of your valuable directives can only have weight if I provide you with enough information of my case. The point is that there are multiple servers/host available on the workplace, these are dedicated servers for applications which can potentially consume relative large amount of memory and/or cpu power. An xterm of such a remote server is available, from which I want to start a login-behaving like terminal. And as I explained in my OP, I require the exact same shell (not xterm) environment as Barry pointed out my mistake. The easiest way to check this is echo $hostname. I believe that each server/host has it's own /bin apps, I am interested in the /bin/python app of the login-host, as there is usually no python on the other hosts/servers installed. Hope that clarifies a bit more of my quest...
After some more research, I am leaning toward the thought that what I want is not possible without some sophisticated server/client tools, such as ssh. I was under the impression that any xterm should be able to interact with apps provided by the KDE (Redhat) GUI. Hence, if that is possible per my thought, the remote/custom xterm should also be able to access my KDE apps and also startup a login-xterm, the same way a user would do interactively by mouse-clicking it's way through the 'All Application' menu and selecting the Xterm icon. Since pre-installed apps of any server are located in it's own /bin dir, it rules out access of the /bin dir of the login-server by default means. Hence, why starting up a login-Xterm from a remote server's Xterm is not possible without ssh or something similar.
As user10489 confirmed my previous suspicion regarding ssh requirement, I think I need to investigate how this other process to run the special app on a remote server is actually started and if there is a way to do the same from the remote host back to my host via it's xterm. This will help me to understand what is possible or not in the IT framework of my workplace. Thanks user10489.