- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Invoke Xapps from telnet
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2010 04:40 AM
тАО02-27-2010 04:40 AM
Can we invoke HP-UX/Unix/Linux X-Applications within a CLI Telnet session from a remote host.
Can anyone pls clarify
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2010 04:55 AM
тАО02-27-2010 04:55 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2010 05:02 AM
тАО02-27-2010 05:02 AM
Re: Invoke Xapps from telnet
export DISPLAY=xxx.xxx.xxx.xxx:0.0
...where xxx.xxx... is your PC's ip address.
Then it's :
dtterm &
-or-
xterm &
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-01-2010 07:44 AM
тАО03-01-2010 07:44 AM
Re: Invoke Xapps from telnet
one answer is "maybe".
X apps ususally require a X-Windows display, set via the DISPLAY=xxx.xxx.xxx.xxx:y environment variable, so its possible to:
a) start an app form telnet and route it to anoter display, for instance a PC running X
b) some apps, such as AutoCad, accept DISPLAY=NULL, which was used primarily for batch scripts / cron jobs. X-Display wasn't needed in this case. That is, I believe, going to be application-specific, so it may not work. depends on app and what it is you're trying to accomplish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2010 09:18 PM
тАО03-02-2010 09:18 PM
Re: Invoke Xapps from telnet
After a export DISPLAY=xxx.xxx.xxx.xxx:0.0
...where xxx.xxx... is my PC's ip address
Does a `dtterm &` and/or `xterm &` necessarily does the invoking of X environment in a Windows PC through telnet, ssh ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2010 09:30 PM
тАО03-02-2010 09:30 PM
Re: Invoke Xapps from telnet
> necessarily does the invoking of X
> environment in a Windows PC through telnet,
> ssh ?
If I understand the question, then no.
"dtterm" runs a dtterm. "xterm" runs an
xterm. They expect there to be an X server
running where DISPLAY says that there's an X
server.
Generally, one starts the X server software,
and _then_ tries to use it. How you start it
may depend on whose X server software you're
using.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2010 09:31 PM
тАО03-02-2010 09:31 PM
Re: Invoke Xapps from telnet
# export DISPLAY=XXX.XXX.XXX.XXX:0.0
# /usr/dt/bin/dtterm -ls -display $DISPLAY
does the job.
Now, `xclock &` or `sam` works on my laptop fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2010 10:01 PM
тАО03-02-2010 10:01 PM
Re: Invoke Xapps from telnet
> # /usr/dt/bin/dtterm -ls -display $DISPLAY
>
> does the job.
You're working too hard. After:
export DISPLAY=XXX.XXX.XXX.XXX:0.0
you don't need to specify "-display
$DISPLAY". Plain "/usr/dt/bin/dtterm -ls"
should be fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2010 10:03 PM
тАО03-02-2010 10:03 PM
Re: Invoke Xapps from telnet
> should be fine.
And, if you add "/usr/dt/bin" to your PATH,
then plain "dtterm -ls" should be fine, too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2010 10:13 PM
тАО03-02-2010 10:13 PM
Re: Invoke Xapps from telnet
>Now, `xclock &` or `sam` works on my laptop fine.
This means that on your laptop is running an X server. If you stop this server from running, there is nothing you can do on your HP-UX/Unix CLI that would let you see an X desktop on your laptop.
'X Server' uses a specific protocol. Has nothing to do with a telnet/ssh connection.
Horia.
Horia.