Can i run program in Xwindows enviroment frm giving command to tty ?
Can i run program in XSERVER/Xwindows enviroment from any tty ?
Assuming we have Xwindows environment up & running. So is it possible to run any program to run only in XWINDOWS environment instead of running it on that terminal or as a background process ? Command on tty1 pops up a terminal window in xwindows & run that command or program ? |
You could have a command run as an argument to xterm.
From the manpage: Quote:
|
That doesnt work.. I m on CLI.. CTRL+ALT+F1 (tty) & want my command "kcalc" should run Kde calculator on my XWINDOWS interface (CTRL+ALT+F7).
Even if i crontab .. suppose i want to open an instance of kcalc every minute.. it doesnt work.. it sends me a message to my mail stating that "kcalc: cannot connect to X server" (Its just for an example purpose, i do not really intent to do that) I hope you would have got my point. Can anyone of a bit help to me in this ? Does GUI scheduler like "XJOB" n others are the only utilies i am left with ? |
Code:
DISPLAY=:0 xterm |
Quote:
Its working nw. |
All times are GMT -5. The time now is 08:47 PM. |