Computing.Net > Forums > Unix > ksh: setenv DISPLAY equivalent?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

ksh: setenv DISPLAY equivalent?

Reply to Message Icon

Name: mdinaz
Date: June 21, 2006 at 13:18:31 Pacific
OS: SunOS 5.7
CPU/Ram: Sparc 20
Product: Sun
Comment:

I need to redirect the display to another terminal at another address. With csh I would just use the "setenv DISPLAY" command, but there's no such command with ksh (Korn) shell. How can I do this with ksh?

thanks

Mark in AZ



Sponsored Link
Ads by Google

Response Number 1
Name: Junes
Date: June 22, 2006 at 03:21:14 Pacific
Reply:

Try the following

xhost +
export DISPLAY=<ip address>:0.0

# To see if display has been exported
env

King Regards

Junes


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: ksh: setenv DISPLAY equivalent?

Piping unix display to pc station www.computing.net/answers/unix/piping-unix-display-to-pc-station/545.html

How to display a screen or window www.computing.net/answers/unix/how-to-display-a-screen-or-window/5610.html

A few questions www.computing.net/answers/unix/a-few-questions/2574.html