Results 1 to 5 of 5
Is it possible to start an application in another terminal?
Say, I am in the text terminal 6, and want to start a gnome application in terminal 7 (which is ...
- 03-31-2009 #1Just Joined!
- Join Date
- Jun 2008
- Posts
- 9
starting a application in another terminal
Is it possible to start an application in another terminal?
Say, I am in the text terminal 6, and want to start a gnome application in terminal 7 (which is Xterm)?
- 04-06-2009 #2
From terminal 6:
xterm -e gnomeapp &
This will start a new xterm (terminal 7), execute gnomeapp from it and still allow you to use terminal 6 while xterm/gnomeapp is running.Linux since: 2001
Gentoo since: 2004
- - - - - - - -
Translation:
I fix things until they break.
- 04-06-2009 #3
I think what mvdberg112 meant was could you start an application in a terminal widow that's already opened...what your doing is launching Xterm with the addition instruction -e gnomeapp &...Gerard4143...sorry for the Hi-jack
Make mine Arch Linux
- 04-06-2009 #4
Thanks for the clarification. Unfortunately, I don't know how to do that.
In lieu of an actual answer... would something like screen be able to suite your purposes? That way you could access that screen session from a different terminal.Linux since: 2001
Gentoo since: 2004
- - - - - - - -
Translation:
I fix things until they break.
- 04-06-2009 #5Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
Assuming you are using one of the VTs (say ctrl+alt+F6 if I get you) you can export your display.
Your first X server should be :0, so export that as your application. You could do the followingThat's assuming you want it to run synchronously to show terminal output on VT6. You can just add an ampersand (&) to the end of your gnomeapp to fork it in the background.Code:export DISPLAY=localhost:0.0 gnomeapp
Note also, that I specified localhost. You can actually specify the display of another server altogether


Reply With Quote
