- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- different display behaviour of remsh and rlogin
Operating System - HP-UX
1819814
Members
4243
Online
109607
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО09-20-2002 10:55 AM
тАО09-20-2002 10:55 AM
different display behaviour of remsh and rlogin
Hallo together
I wonder why I get different results on display behaviour of a remote launched job using either rlogin or remsh.
With rlogin to the remote_host I start my application:
$ /opt/rmb/rmb8_03/bin/rmb -display my_host:0.0
the result is fine. I get a separate X-window on my host with the rmb application as expected.
But ...
doing the same only with the remsh command no separate X-window is raised but only some startup msg. comes to my hpterm.
On both hosts I have added the other's name to .rhosts. I did also $xhost + remote_host.
OS on remote_host is 10.20. My_host is either 10.20 or 11.i.
Now what have I not considered ?
Thanks for any good ideas
(points guaranteed ;-))
I wonder why I get different results on display behaviour of a remote launched job using either rlogin or remsh.
With rlogin to the remote_host I start my application:
$ /opt/rmb/rmb8_03/bin/rmb -display my_host:0.0
the result is fine. I get a separate X-window on my host with the rmb application as expected.
But ...
doing the same only with the remsh command no separate X-window is raised but only some startup msg. comes to my hpterm.
On both hosts I have added the other's name to .rhosts. I did also $xhost + remote_host.
OS on remote_host is 10.20. My_host is either 10.20 or 11.i.
Now what have I not considered ?
Thanks for any good ideas
(points guaranteed ;-))
... we all can make it with a little help ...
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2002 11:20 AM
тАО09-20-2002 11:20 AM
Re: different display behaviour of remsh and rlogin
Hi,
When you do a rlogin and start your application your environment profile sets up your display. I believe you have a export DISPLAY variable set in your profile for X window applications.
Now, when you run remsh your profile does not get set hence you are not getting a X window.
That's it.
Regards,
Anil
When you do a rlogin and start your application your environment profile sets up your display. I believe you have a export DISPLAY variable set in your profile for X window applications.
Now, when you run remsh your profile does not get set hence you are not getting a X window.
That's it.
Regards,
Anil
If you need to learn, now is the best opportunity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2002 11:32 AM
тАО09-20-2002 11:32 AM
Re: different display behaviour of remsh and rlogin
Anil, I believe Klaus is specifying the display on the applications command line. So DISPLAY isn't an issue here.
However, you are correct about the environment not being set using remsh. Profiles are processed via rlogin, but not via remsh. Also, rlogin uses ttys while remsh does not. So Klaus, you may want to try this:
remsh rhost ". .profile && rmb -display $DISPLAY"
Check .profile to be sure that tty specific commands do not run by putting then within this conditional:
if [ -t 0 ]
then
# tty stuff
else
# non-tty stuff not intended for tty sessions
fi
You may want to do the same in /etc/profile and try this remsh:
remsh rhost ". /etc/profile && . .profile && rmb -display $DISPLAY"
I'll stop here and think some more.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP