473,749 Members | 2,486 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

open a new terminal window from another terminal window in linux/unixsystem

Dear all,

I am using Microsoft Windows XP.Using putty.exe,I connected to LINUX
server and a terminal window gets opened.Here i logeed in as root.

What i want to do is open another terminal window from already opened
terminal window.
Can this be achieved.If yes,please provide a tested solution

Thanks
Oct 31 '08 #1
4 3205
gaurav kashyap wrote:
Dear all,

I am using Microsoft Windows XP.Using putty.exe,I connected to LINUX
server and a terminal window gets opened.Here i logeed in as root.

What i want to do is open another terminal window from already opened
terminal window.
Can this be achieved.If yes,please provide a tested solution
Please stop spamming this list with the same question, and one not
concerning Python at that. For what it is worth I doubt any solution to
your problem is readily available, and repeated queries on irrelevant
lists are unlikely to earn you much positive karma.

regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/

Oct 31 '08 #2
gaurav kashyap wrote:
I am using Microsoft Windows XP.Using putty.exe,I connected to LINUX
server and a terminal window gets opened.Here i logeed in as root.

What i want to do is open another terminal window from already opened
terminal window.
Can this be achieved.If yes,please provide a tested solution

If you'd posted this description of of the situation about 2 days
ago, you'd have had a *much* better chance of getting a useful
answer. I don't think I'd have guessed in a million years that
this was what you were trying to do!

In short, there's no command you can type *inside Python*,
*on a remote box* which will cause Putty or Windows or
anything on your local PC to open another Window. I'd
be seriously worried if there were!
TJG
Oct 31 '08 #3
On 31 Okt, 10:50, Tino Wildenhain <t...@wildenhai n.dewrote:
gaurav kashyap wrote:
I am using Microsoft Windows XP.Using putty.exe,I connected to LINUX
server *and a terminal window gets opened.Here i logeed in as root.
As pointed out already, root privileges should be used with caution,
especially if you don't really know what you're doing.
What i want to do is open another terminal window from already opened
terminal window.

Ugh. As others said and I already guessed, this has nothing to do with
python.
It does, albeit tangentially, if the inquirer is looking for a way of
doing this conveniently within a Python program.
While this is totally unrelated to this list I'll help you going
into the right direction (but you need to walk yourself):

http://x.cygwin.com/

Basically you would install the x window system and some shell
tools (including openssh client) and then log into the
remote box and start any x window application, also as many
terminals as you can carry. (especially look out for
x-session forwarding etc.)
Agreed. This is the most obvious solution. I imagine that there may be
all sorts of alternatives, some based on X, others based on other
protocols (RDP, NX, perhaps), but SSH with X is commonplace in the
free UNIX world these days, and that pretty much sets the agenda for
all the other UNIX flavours as well.
Can this be achieved.If yes,please provide a tested solution

Ah tested. Haha. Yes many people have done it, so its tested.

If you provide a contract and pay money you should also be able to
get someone to configure the system in the way you want it :-)
Indeed. :-)

Returning to the Python aspect, however, there probably isn't a
convenient way of just opening the "best" console/terminal program,
mostly because there isn't really a convenient way of doing so outside
Python. The xdg-utils package, which attempts to provide cross-desktop
services as a set of programs, doesn't cover the opening of terminal
windows, and it's probably a fair amount of work to inspect the
environment and inquire about the user's preferred terminal program
for all possible desktop environments, assuming that they all expose
this information conveniently.

Paul
Oct 31 '08 #4
On 2008-10-31, gaurav kashyap <ga***********@ gmail.comwrote:
Can this be achieved. If yes,please provide a tested solution
Rude much?

--
Grant Edwards grante Yow! Hmmm ... A hash-singer
at and a cross-eyed guy were
visi.com SLEEPING on a deserted
island, when ...
Oct 31 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1532
by: dynfax | last post by:
When I use Access 97 with Terminal Services, and the terminal window is minimized, the popup form displays - and when i reset the focus to the terminal window the popup form displays. In Access2003 - the same Terminal window, when the form programatically displays and the terminal window is minimized the form does not display. Another issue, when I change the default printer, an invisible form suddenly becomes visible - also only in...
2
2230
by: Achraf | last post by:
Hi all, I have a c program under linux, while running, it opens a new terminal windows using a system call. I would like to display messages on both windows. But I can't find a way to specify the terminal window I want to write in. The program is for chat and I want to keep a terminal window to write incoming messages, and use the other one for operation like sending
20
10856
by: Joel Hedlund | last post by:
Hi all! I use python for writing terminal applications and I have been bothered by how hard it seems to be to determine the terminal size. What is the best way of doing this? At the end I've included a code snippet from Chuck Blake 'ls' app in python. It seems to do the job just fine on my comp, but regrettably, I'm not sassy enough to wrap my head around the fine grain details on this one. How cross-platform is this? Is there a more...
4
2008
by: fivestars | last post by:
Hi there. I'm computer science student at the end of my degree. I'm new about python. I've a question for all of you. Do you know how to write, from python code, on a unix(linux) terminal on specified coordinates? And also: is it possible to override, from python code, something on a
16
2717
by: John Salerno | last post by:
Here's my new project: I want to write a little script that I can type at the terminal like this: $ scriptname package1 where scriptname is my module name and any subsequent arguments are the names of Linux packages to install. Running the script as above will create this line: sudo aptitude install package1 package2 ...
7
8638
by: =?Utf-8?B?Vmlua2k=?= | last post by:
public void sendKeysTest() { Process myProcess = Process.Start(@"C:\winnt\system32\cmd.exe"); SetForegroundWindow(myProcess.Handle); if (myProcess.Responding) SendKeys.SendWait("{ENTER}"); else
0
845
by: hce | last post by:
Hi, I am running Python and a script on XP DOS terminal, the script build.py printed out messages on the Terminal, then asked for an input of numbers. But, I pressed a key, nothing came in DOS terminal, Eventually, no key active and seem the DOS terminal is freezed. I could not even terminate the terminal by Ctrl-C or Ctrl-D. The same script was running fine on linux or Cygwin terminals. Any thoughts what was the problem?
3
2145
by: gaurav kashyap | last post by:
Dear all. On windows platform python 2.4,i can use os.startfile("filename") to execute a file on a new command prompt but on unix platform and python 2.3 what is the alternate for executing a file like above in a new shell prompt
3
3493
Frinavale
by: Frinavale | last post by:
The windows key is rather useless in Linux. I would love to bind the windows key to open a terminal window (since I'm in the habit of hitting the windows key + r to open the run prompt so that I can open command line anyways). I'm using Ubuntu and tried to do this by going to System -> Preferences -> Keyboard Shortcuts I tried to add a new shortcut but then didn't know what the command was to open a terminal. Am I going about this...
0
9566
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9388
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9254
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6800
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6078
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4608
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3319
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2217
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.