- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Further to the evil DISPLAY varible
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
Forums
Discussions
Discussions
Forums
Discussions
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
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
06-20-2001 04:49 AM
06-20-2001 04:49 AM
thanx in advance,
Ron Irving
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2001 05:01 AM
06-20-2001 05:01 AM
Re: Further to the evil DISPLAY varible
I assume that you are using XDMCP broadcast connections, in that case DISPLAY should be set for you. Your .profile should test whether or not DISPLAY has been set and only if not should you set it to some default value or simply explicitly set it and do nothing in the .profile.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2001 05:05 AM
06-20-2001 05:05 AM
Re: Further to the evil DISPLAY varible
Perhaps you can use a little script like this ;
export TERM=xterm
export DISPLAY=your_station_or_IP:0.0
PATH=$PATH:/opt/perf/bin
We named it xdispe and placed it in the /usr/local/bin.
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2001 05:13 AM
06-20-2001 05:13 AM
Re: Further to the evil DISPLAY varible
(a career change is being discussed...:)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2001 05:21 AM
06-20-2001 05:21 AM
Re: Further to the evil DISPLAY varible
according to what you have configured in eXceed (reflectionX respectively) you may get a single window or a full CDE session.
With a full CDE session you can either send a XDMCP broadcast so that all computers running a dtlogin are listed in the login-mask. You can as well select XDMCP direct so you get only a login from one machine.
Usually in a full CDE session you would not need to set the DISPLAY-variable as it is set on CDE startup.
If you have a single window-session you could want to set the variable by:
# DISPLAY
DISPLAY="$(who am i -R| sed -n "s/^.*(\([a-z][0-9a-z]*\).*$/\1/p"):0"
export DISPLAY
echo "Detected remote login: export DISPLAY=$DISPLAY"
Perhaps you can precise what exactely you want to set in your profile. I mean for which login condition.
rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2001 05:36 AM