1819818 Members
3289 Online
109607 Solutions
New Discussion юеВ

Re: X Windows on CRT

 
SOLVED
Go to solution
Diego_19
Occasional Advisor

X Windows on CRT

How can I do to see X Windows in CRT (client)Can I configure something on the server?
Thanks
Lic
10 REPLIES 10
Vincent Fleming
Honored Contributor
Solution

Re: X Windows on CRT

CRT?

If you have an X-terminal or X-workstation (unix workstation that has X), all you need to do is set an environment variable:

export DISPLAY=terminalname:0.0

where "terminalname" is the TCP/IP hostname of the display station.

For example, I have a server named "fileserver.foo.com", and an X-workstation (Linux-based" named "skydiver.foo.com". On fileserver, I set the DISPLAY variable thus:

export DISPLAY=skydiver:0.0

Then any Xterm or other X client I run displays on skydiver.

If you see an error (which you might) like this:
Xlib: connection to "skydiver:0.0" refused by server

then you need to execute an "xhost" command on your workstation...

xhost +

allows all hosts to display on your tube.

xhost + fileserver

allows just fileserver to use your display.

I hope this helps,

good luck,

Vince
No matter where you go, there you are.
Brian M Rawlings
Honored Contributor

Re: X Windows on CRT

Diego: I'm not quite sure what you are looking for, here's some info that may or may not help you.

If you have a unix computer and you want to use a graphical interface for it, unless you have a graphics card in it (like a PC running Linux, or a workstation), you will need a client that is "X-windows" capable.

Normally, this is done on a PC by running an application that understands and displays the 'X' protocol. These include Hummingbird's "Exceed", or "Reflection X" from Hallogram. You can also use the open source 'cygwin' (available at http://www.cygwin.com/), and there are others out there too. But nothing native to windows (that I know of) will display X.11 protocol graphics that Unix systems use for their GUIs.

All of these have some setup that you have to do, to tell the client which server you are trying to connect to, or, on the server side, what to do when an X client logs in. On HP-UX, there are some defaults (CDE is the window manager/view you get through the default login, etc). Or, an application may need to be told which machine:display# to send its display to.

If you have more specific questions, please post them, this is all I can provide without knowing more about what you need, or what you have, or what isn't working.

Regards, --bmr
We must indeed all hang together, or, most assuredly, we shall all hang separately. (Benjamin Franklin)
Diego_19
Occasional Advisor

Re: X Windows on CRT

I have SecureCrt program running on Windows 2000, I understand this program support X.
but when I do
export DISPLAY=IP:0.0
xterm&
Error: Can't open display: IP:0.0
Error: Couldn't find per display information
Thanks
Lic
Brian M Rawlings
Honored Contributor

Re: X Windows on CRT

Just in case you are asking about doing X-type displays on a dumb terminal (character-only CRT), this is not possible.

There is a bizarre varient of "GUI" for text terminals, called "openwin", or "open windows". I've seen it on Solaris boxes. I found it less than useless. Somebody referred to it as a "TUI" (text user interface), which just about sums it up.

Regards, --bmr
We must indeed all hang together, or, most assuredly, we shall all hang separately. (Benjamin Franklin)
Brian M Rawlings
Honored Contributor

Re: X Windows on CRT

OK, didn't see your last message. It sounds like your X-client app is not running, or is not set up right.

For the display to be recognized, the SecureCRT program has to be running. Most of these clients have setups that allow them to establish the whole session, rather than having you telnet in and do the commands you mentioned.

Other than maybe needing to do 'xhost +' to allow access, what you are doing sounds right, on the server end.

Good Luck. --bmr
We must indeed all hang together, or, most assuredly, we shall all hang separately. (Benjamin Franklin)
Robert-Jan Goossens
Honored Contributor

Re: X Windows on CRT

Hi Diego,

Check your own (W2000) ipadres, and with winipcfg.

# export DISPLAY=xxx.xx.xx.xxx:0.0

It should work.

Robert-Jan.

Diego_19
Occasional Advisor

Re: X Windows on CRT

winipcfg is not valid comand in windows 2000
I use ipconfig
Thank
I still have problems.
Thnaks
Lic
Vincent Fleming
Honored Contributor

Re: X Windows on CRT

Diego,

secureCRT does NOT support X. I just checked their website.

To be specific, it *will* forward X11 traffic via ssh to an X server on your PC - but it does not contain an X server.

I have CYGWIN on my pc - it includes a free X server that seems to work pretty well. I forget where I got it, but go search the 'net and get a copy.

Just install cygwin, run it, and a UNIX-like shell window will open. Just run "startx" to get the X-windows up. Then do your "xhost +", and you are running.

Good luck,

Vince
No matter where you go, there you are.
Brian M Rawlings
Honored Contributor

Re: X Windows on CRT

Diego: check that the SecureCRT app/process is running in W2K, with ctl-alt-del, then task manager. The Processes tab or Applications tab should have it somewhere.

If it is running OK, then it is not set up right to present your "display" to the server when it tries to establish a session with your display (really, with the SecureCRT app, which then displays the X bitmap in a Windows-style window).

I don't know anything about SecureCRT, to help you with its setup. I use both cigwin (which is very primative, works OK but it's not for everybody), and Exceed. I could maybe help you with some Exceed stuff, but SecureCRT is new to me.

Hope you get it worked out! --bmr
We must indeed all hang together, or, most assuredly, we shall all hang separately. (Benjamin Franklin)
Brian M Rawlings
Honored Contributor

Re: X Windows on CRT

Cygwin is at www.cygwin.com, which also has some useful FAQs, docs, and helpful tips. It is free, open source, so all it costs you is time.

--bmr
We must indeed all hang together, or, most assuredly, we shall all hang separately. (Benjamin Franklin)