Networking Forums

Networking Forums > Computer Networking > Linux Networking > How to setup Display variable?

Reply
Thread Tools Display Modes

How to setup Display variable?

 
 
leorulez@gmail.com
Guest
Posts: n/a

 
      03-24-2006, 08:28 PM
I am working on installing a software in a web server which has Linux
running on it. I am connected to the server using SecureCRT. When I
tried to run the installation program I got the following warning:

"
WARNING: This shell's DISPLAY variable has not been set.
A valid display is required to execute this setup in GUI
mode. To execute in GUI mode, set the DISPLAY variable to
your local UNIX host, or execute this setup from a UNIX
host which has the DISPLAY variable set. To execute in
console mode, run this script with a -c option.

"

Could anyone please tell me how to set up this Display variable. It
would be easier for me if I could install using GUI.

Thanks for any help.

 
Reply With Quote
 
 
 
 
Bit Twister
Guest
Posts: n/a

 
      03-24-2006, 08:37 PM
On 24 Mar 2006 13:28:31 -0800, (E-Mail Removed) wrote:
> I am working on installing a software in a web server which has Linux
> running on it. I am connected to the server using SecureCRT. When I
> tried to run the installation program I got the following warning:
>
>
> Could anyone please tell me how to set up this Display variable. It
> would be easier for me if I could install using GUI.


Well, it depends on the shell, sh, ksh, csh,....

try
DISPLAY=value_here:0
export DISPLAY

Usually, value_here is node where you want display to show up.
If target node does not know your node name, you can try it's ip addy.
Example: You logged into server.some.where, you would do a

DISPLAY=131.204.80.38:0
export DISPLAY

This assumes node-80-38.tichenor.auburn.edu allows access from
server.some.where.

 
Reply With Quote
 
Keith Keller
Guest
Posts: n/a

 
      03-24-2006, 10:24 PM
On 2006-03-24, (E-Mail Removed) <(E-Mail Removed)> wrote:
> I am working on installing a software in a web server which has Linux
> running on it. I am connected to the server using SecureCRT. When I
> tried to run the installation program I got the following warning:


> Could anyone please tell me how to set up this Display variable. It
> would be easier for me if I could install using GUI.


It's the DISPLAY variable. The best thing to do, if SecureCRT
and the linux sshd supports it, is to enable X11 forwarding. Then
setting DISPLAY is handled for you.

BTW, you will also need an X server on your workstation, whether you
set DISPLAY yourself or have SecureCRT and the remote server do
it for you.

--keith

--
kkeller-(E-Mail Removed)
(try just my userid to email me)
AOLSFAQ=http://wombat.san-francisco.ca.us/cgi-bin/fom
see X- headers for PGP signature information

 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      03-26-2006, 07:30 AM
In comp.os.linux.networking (E-Mail Removed):
> I am working on installing a software in a web server which has Linux
> running on it. I am connected to the server using SecureCRT. When I
> tried to run the installation program I got the following warning:


> "
> WARNING: This shell's DISPLAY variable has not been set.
> A valid display is required to execute this setup in GUI
> mode. To execute in GUI mode, set the DISPLAY variable to
> your local UNIX host, or execute this setup from a UNIX
> host which has the DISPLAY variable set. To execute in
> console mode, run this script with a -c option.


> "


> Could anyone please tell me how to set up this Display variable. It
> would be easier for me if I could install using GUI.


Easy enough, just get rid of your toy OS, which is as usual the
source of the problem. Use Linux/*BSD or any other unix OS and
use "ssh -X ..." to login from the next xterm and you shouldn't
have to worry about setting $DISPLAY.

Good luck

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 461: Some people use windows, others have a life...
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Variable signal David W Allen Home Networking 0 04-05-2006 07:35 PM
Variable I/P address Paul Aitman Home Networking 14 12-06-2005 03:00 PM
The variable bit cpu Skybuck Flying Windows Networking 0 07-30-2005 07:04 PM
Variable IP question zjustice Broadband 3 06-02-2005 11:00 PM
Variable Bandwidth/Speed on LAN Mike Windows Networking 1 07-09-2004 04:02 PM



1 2 3 4 5 6 7 8 9 10 11