473,385 Members | 1,548 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 3186
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...@wildenhain.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
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...
2
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...
20
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...
4
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...
16
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...
7
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}");...
0
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...
3
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...
3
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.