Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

XWindows Client

197 views
Skip to first unread message

Jerry Alan Braga

unread,
Jan 14, 2010, 1:53:10 PM1/14/10
to
Currently I am using Excursion 7.3.189 to connect my Alpha Cluster boxes
using the New Desktop model and everything works fine. We have added some
CentOS linux boxes and I would like to connect to them as well. My question
is, can I use Excursion to connect to these boxes and if so how, and if I
cannot what client (free if around) can work with both openVMS 8.3 alpha and
linux CentOS boxes.

Thanks

JF Mezei

unread,
Jan 14, 2010, 6:33:35 PM1/14/10
to
Jerry Alan Braga wrote:
> We have added some
> CentOS linux boxes and I would like to connect to them as well. My question
> is, can I use Excursion to connect to these boxes

In theory, it should be no problem. X windows is X windows.

However, bear in mind that VMS uses older X windows version, while Linux
and most Unixes uses more recent X protocol version with added
functions. If Excursion is old, then the Linux boxes may be sending X
commands to Excursion that Excursion doesn't understand. But overall it
*should* work.

Make sure you tell Excursion to allow connections from the Linux host.

JF Mezei

unread,
Jan 14, 2010, 6:35:18 PM1/14/10
to
Another thing. You can't have more than one "root" window. So if you run
the Decwidnows (or CDE) desktop on VMS to your display, on Linux, you
should run only individual applications that pop their window on your
desktop. Or vice versa.

Wilm Boerhout

unread,
Jan 15, 2010, 2:18:09 AM1/15/10
to
Jerry Alan Braga mentioned on 14-1-2010 19:53:

Google for xMing. It is a fine, modern X display server that also works
with VMS clients.

/Wilm

H Vlems

unread,
Jan 15, 2010, 3:17:24 AM1/15/10
to

Have you tried ReflectionX from WRQ? It is a fairly expensive product.
The functionality is very good, it offers
terminal emulation, X windows and an FTP window. I use it mainly fr
DEC VT100/VT300 and Burroughs T27 emulation
and X windows of course. Very easy to install and use.
I found an affordable kit (version 14) on eBay last year. Right now
there's one for sale at $150 on ebay.
Hans

Jerry Alan Braga

unread,
Jan 15, 2010, 9:05:14 AM1/15/10
to
thanks for xMing, I downloaded but do not understand how to get it to work

"Wilm Boerhout" <wboerh...@spam.gmail.com> wrote in message
news:4b5016b2$0$14119$703f...@textnews.kpn.nl...

Wilm Boerhout

unread,
Jan 15, 2010, 10:52:26 AM1/15/10
to
Jerry Alan Braga mentioned on 15-1-2010 15:05:

Hmm, "intuitive" should be the word. After installation, you run the
executable image. The dialog helps you to configure your display server
(for Windows, use the "multiple windows" mode), and you can save the
config to an .xlaunch file, that you can use afterwards.

For optimal results, use the remote font server option in Xming to point
to a VMS server with DECwindows Motif installed, and enable the font
server on that VMS system. This will ensure that all VMS client apps use
the familiar fonts.

The Help for Xming should explain it all...

/Wilm

JF Mezei

unread,
Jan 15, 2010, 4:18:27 PM1/15/10
to
Wilm Boerhout wrote:

> For optimal results, use the remote font server option in Xming to point
> to a VMS server with DECwindows Motif installed, and enable the font
> server on that VMS system. This will ensure that all VMS client apps use
> the familiar fonts.

The font server is only available on Alpha-VMS (and I assume those IA64
things). It is "installed" by default. But you need to edit

SYS$COMMON:[SYSMGR]DECW$PRIVATE_SERVER_SETUP.COM

to set the DECW$START_FONT_SERVER to "True"


Out of curiosity, why would Excursions not work as a target for a Linux
system's windows ?

The X terminal gets X protocol. It is agnostic on whether the
application is based on Motif, GTK or whatever.

FredK

unread,
Jan 15, 2010, 7:39:44 PM1/15/10
to

"JF Mezei" <jfmezei...@vaxination.ca> wrote in message
news:00af1c2a$0$16909$c3e...@news.astraweb.com...

#1 - extensions. Many Linux applications assume the presence of specific
extensions which may not be present on an older X11 implementation.

I use the WRQ (Attachmate) X11 emulator on my PC's and am very happy with
it.

Jerry Alan Braga

unread,
Jan 18, 2010, 8:35:25 AM1/18/10
to
Do you start a program or not, and if so what is the syntax?

"Wilm Boerhout" <wboerh...@spam.gmail.com> wrote in message

news:4b508f3a$0$14119$703f...@textnews.kpn.nl...

Wilm Boerhout

unread,
Jan 19, 2010, 11:33:42 AM1/19/10
to Jerry Alan Braga
Jerry Alan Braga mentioned on 18-1-2010 14:35:

After installing Xming, you can run Xming.exe. This is your display
server, and now using default settings. It will signal its presence by
an icon in your system tray. Right clicking the icon will give you
access to, among others, the Help area.

If the default settings do not please you (and for VMS clients, they
most likely won't), you can start the Xlaunch wizard. At completion of
the wizard, you save the settings as an *.Xlaunch file. The Xlaunch
extension is associated with Xming.exe, so clicking the saved file will
start a display server with the saved settings.

I'll send you my VMS.xlaunch file by separate mail.

/Wilm

Jeff Goodwin

unread,
Jan 19, 2010, 1:10:50 PM1/19/10
to

"Wilm Boerhout" <wboerh...@spam.gmail.com> wrote in message
news:4B55DEE6...@spam.gmail.com...

> Jerry Alan Braga mentioned on 18-1-2010 14:35:
>> Do you start a program or not, and if so what is the syntax?
>>
snip

> If the default settings do not please you (and for VMS clients, they most
> likely won't), you can start the Xlaunch wizard. At completion of the
> wizard, you save the settings as an *.Xlaunch file. The Xlaunch extension
> is associated with Xming.exe, so clicking the saved file will start a
> display server with the saved settings.
>
> I'll send you my VMS.xlaunch file by separate mail.
>
> /Wilm

Wilm,

I'd be interested in what you are using to set up your keyboard mapping.
I'm currently using an xmodmap file I created that is applied after
connecting to VMS. I'd much rather use the xkb files that come with xming,
but I haven't been able to find a combination that gives me the correct
emulation for the VMS keypad and function keys.

Thanks,
Jeff


Wilm Boerhout

unread,
Jan 19, 2010, 1:58:08 PM1/19/10
to
Jeff Goodwin mentioned on 19-1-2010 19:10:

My standard PC keyboard works fine with the "-xkbmodel pc105" modifier
in Xming. I have not found it necessary to modify anything on the server
side or on the VMS client side. Editors, including TPU and Teco work
fine with DECterm.

/Wilm

Jeff Goodwin

unread,
Jan 19, 2010, 2:58:12 PM1/19/10
to

"Wilm Boerhout" <wboerh...@spam.gmail.com> wrote in message
news:4b5600c0$0$14118$703f...@textnews.kpn.nl...

> Jeff Goodwin mentioned on 19-1-2010 19:10:
>> I'd be interested in what you are using to set up your keyboard mapping.
>> I'm currently using an xmodmap file I created that is applied after
>> connecting to VMS. I'd much rather use the xkb files that come with
>> xming,
>> but I haven't been able to find a combination that gives me the correct
>> emulation for the VMS keypad and function keys.
>>
>> Thanks,
>> Jeff
>
> My standard PC keyboard works fine with the "-xkbmodel pc105" modifier in
> Xming. I have not found it necessary to modify anything on the server side
> or on the VMS client side. Editors, including TPU and Teco work fine with
> DECterm.
>
> /Wilm

Thanks Wilm,

I retried the with the modifier you use and confirmed I do not end up with a
keypad that I could use for an editor like EDT. I am not sure what the
difference is.

For example, when running DECW$UTILS:XEV, pressing the Num Lock key should
give me a symbol of KP_F1, but I get the Num_Lock symbol.

I'll have to give it some more thought.
-Jeff


Jerry Alan Braga

unread,
Jan 21, 2010, 9:44:47 AM1/21/10
to
that email account is a bogus account, can you post the file here, I believe
that is is just a text file.

"Wilm Boerhout" <wboerh...@spam.gmail.com> wrote in message

news:4B55DEE6...@spam.gmail.com...

Wilm Boerhout

unread,
Jan 21, 2010, 10:03:57 AM1/21/10
to
On 21 jan, 15:44, "Jerry Alan Braga" <jerry.br...@hotmail.com> wrote:
> that email account is a bogus account, can you post the file here, I believe
> that is is just a text file.
>
> "Wilm Boerhout" <wboerhout...@spam.gmail.com> wrote in message

>
> news:4B55DEE6...@spam.gmail.com...
>
>
>
> > Jerry Alan Braga mentioned  on 18-1-2010 14:35:
> >> Do you start a program or not, and if so what is the syntax?
>
> >> "Wilm Boerhout" <wboerhout...@spam.gmail.com> wrote in message

> >>news:4b508f3a$0$14119$703f...@textnews.kpn.nl...
> >>> Jerry Alan Braga mentioned on 15-1-2010 15:05:
> >>>> thanks for xMing, I downloaded but do not understand how to get it to
> >>>> work
>
> >>>> "Wilm Boerhout" <wboerhout...@spam.gmail.com> wrote in message
> > /Wilm- Tekst uit oorspronkelijk bericht niet weergeven -
>
> - Tekst uit oorspronkelijk bericht weergeven -

Indeed, save the following as text, rename to *.xlaunch, and Robert's
your father's brother.

<?xml version="1.0" encoding="utf-8"?>
<XLaunch
xmlns="http://www.straightrunning.com/XmingNotes"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.straightrunning.com/XmingNotes
XLaunch.xsd"
WindowMode="MultiWindow"
ClientMode="NoClient"
Display="0"
Clipboard="true"
NoAccessControl="true"
FontServer="netbck"
ExtraParams="-nodecoration +bs -wm -dpi 100 -multimonitors -xkbmodel
pc105 -nolisten inet6"
/>

/Wilm

Jerry Alan Braga

unread,
Jan 21, 2010, 11:15:17 AM1/21/10
to
this is not work for me, this is what I get in Xming.log

Welcome to the Xming X Server
Vendor: Colin Harrison
Release: 6.9.0.31
FreeType2: 2.3.4
Contact: http://sourceforge.net/forum/?group_id=156984

Xming was started with the following command line...
Xming :0 -multiwindow -clipboard -ac -fp tcp/netbck:7100


-nodecoration +bs -wm -dpi 100 -multimonitors -xkbmodel pc105
-nolisten inet

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1920 h 1200
winInitializeDefaultScreens - Returning
_XSERVTransTransNoListen: unable to find transport: inet6

Fatal server error:
Failed to disable listen for inet6 transport
winDeinitMultiWindowWM - Noting shutdown in progress


"Wilm Boerhout" <wboe...@gmail.com> wrote in message
news:c3f711fa-a0c6-4d8e...@j14g2000yqm.googlegroups.com...

Wilm Boerhout

unread,
Jan 21, 2010, 12:04:03 PM1/21/10
to
Jerry Alan Braga mentioned on 21-1-2010 17:15:

Maybe it's because you have the free version of Xming, and I paid for
it. Try it without the "-nolisten inet" phrase.

/Wilm

Jerry Alan Braga

unread,
Jan 21, 2010, 12:15:39 PM1/21/10
to
I i try without that phrase the the icon comes up in the system tray then
just disappears

\what is the pc105 as it wraps around, is that your pc name, the server
connection or that supposed to be a part of the previous line

"Wilm Boerhout" <wboerh...@spam.gmail.com> wrote in message

news:4b588902$0$14129$703f...@textnews.kpn.nl...

Jerry Alan Braga

unread,
Jan 21, 2010, 12:21:25 PM1/21/10
to
ok I get something now. If I replace the netbck with my server I can keep
the icon in the system tray but it is not responsive. This is what is in
the %tmp%\Xmin.log file

Welcome to the Xming X Server
Vendor: Colin Harrison
Release: 6.9.0.31
FreeType2: 2.3.4
Contact: http://sourceforge.net/forum/?group_id=156984

Xming :0 -multiwindow -clipboard -ac -fp tcp/stimpy:7100


-nodecoration +bs -wm -dpi 100 -multimonitors -xkbmodel pc105

XdmcpRegisterConnection: newAddress 10.73.10.201
(++) FontPath set to "tcp/stimpy:7100"
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per
pixel
winAllocateFBShadowGDI - Creating DIB with width: 1920 height: 1200 depth:
32
winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp
32
glWinInitVisuals:1596: glWinInitVisuals
glWinInitVisualConfigs:1503: glWinInitVisualConfigs
glWinSetVisualConfigs:1581: glWinSetVisualConfigs
init_visuals:1055: init_visuals
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
glWinScreenProbe:1390: glWinScreenProbe
fixup_visuals:1303: fixup_visuals
init_screen_visuals:1336: init_screen_visuals
(--) 3 mouse buttons found
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: "00000409" (00000409)
(--) Using preset keyboard for "English (USA)" (409), type "4"
(++) XKB: model: "pc105"


"Wilm Boerhout" <wboerh...@spam.gmail.com> wrote in message

news:4b588902$0$14129$703f...@textnews.kpn.nl...

Wilm Boerhout

unread,
Jan 21, 2010, 1:08:17 PM1/21/10
to
Jerry Alan Braga mentioned on 21-1-2010 18:21:

Yeah sorry, text sometines wraps. the pc105 is part of the xkbmodel
string, it should all be on one line.

If the icon just sits there, it means your X display server is working.

You now need to send something there from your VMS clients. I always use
(on the VMS X display client system):

$ tcpip ping <your Xming node>

This is just to verify that the network is OK, then

$ set disp /cre /node=<your Xming node> /transp=tcpip
$ mc decw$clock

You should see a small window with the DECwindows clock in it.

Then:

$ cre/term /det

Should get you an Xterm window

NOTE: the name "netbck" is a local Alpha system name on my network that
runs an X font server. Delete the FontServer="netbck" phrase or replace
with your own font server

/Wilm


Jerry Alan Braga

unread,
Jan 21, 2010, 2:40:41 PM1/21/10
to
Thanks for the note, however I do not understand why I need a vms session to
launch the Xwindows clients. With eXcusrsion everything is launched from
the client. According to what you say I have to telnet into the box first
to launch it. that does not make sense. If telnet into the box I get and
try to run the clock I get this


$set disp/cre/node=10.73.10.201/trans=tcpip
j$mc decw$clock
X Toolkit Warning: Cannot convert string
"-*-Menu-Medium-R-Normal--*-120-*-*-P-*-ISO8859-1" to type FontStruct
X connection to _WSA139: broken (explicit kill or server shutdown).
%XLIB-F-IOERROR, xlib io error

does the above mean I need a font server somewhere and if so how do I know
if my vms box is setup correctly

"Wilm Boerhout" <wboerh...@spam.gmail.com> wrote in message

news:4b589810$0$14130$703f...@textnews.kpn.nl...

Wilm Boerhout

unread,
Jan 21, 2010, 3:54:59 PM1/21/10
to
Jerry Alan Braga mentioned on 21-1-2010 20:40:

Let us first get the terminology right:

eXcursion, Xming --> the X display server
VMS, Unix --> contain X clients like clock, xterm, whatever.

The X display server is just that, it accepts command from clients and
displays them on a screen. Now eXcursion has a clever way to poke a VMS
client (xCursion calls that "applications"), so that the VMS client
sends something back to the display server on your PC.

Xming also has that facility, but it is set up differently than
eXcursion. You access it via the system tray. Anyway, that's too
advanced for now.

If you have the base functionality working (and you're not there yet)
you can set up things on the VMS end so that a login dialog appears
automagically on your PC at VMS startup.

1. what does the "ping" command report? If you can't ping from VMS to
the xMing PC, it's no point going on. Fix it first.

2. If ping works, try DECW$clock as specified before. Forget about the
font warning, the font will be replaced by something ugly but working
(it's a warning). The xlib error is serious though, and could be the
starting point for some troubleshooting. The xMing log file could give
you a clue.

Backtranslating should be in place for the X protocol to work, so the PC
and the VMS sytem shouyld know each others name, not only the IP
address. Set up DNS or use the hosts file (PC), local host database
(TCPIP SET HOST) on VMS.

/Wilm

Wilm Boerhout

unread,
Jan 23, 2010, 6:17:07 AM1/23/10
to
Jeff Goodwin mentioned on 19-1-2010 20:58:

For a previous version of Xming, I have at one time worked with the
following Xmodmap on VMS. It may be a starting point for you.

CAUTION: some lines may have wrapped.

-----------------------------------
$!
$! For XMING & DECterm
$!
$ xmodmap SYS$INPUT
$DECK
!
! Mouse:
!
pointer = 1 2 3 4 5 6 7
!
! Editing keypad
!
! 106 097 099
! 107 103 105
!
! 098
! 100 104 102
!
keycode 106 = Insert
keycode 97 = Find
keycode 99 = Prior

keycode 107 = Delete
keycode 103 = Select
keycode 105 = Next
!
keycode 98 = Up
keycode 100 = Left
keycode 104 = Down
keycode 102 = Right
!
! Numeric Keypad
!
! 077 112 063 082
!
! 079 080 081
! 086
! 083 084 085
!
! 087 088 089
! 108
! 090 091
!
keycode 77 = KP_F1
keycode 112 = KP_F2
keycode 63 = KP_F3
keycode 82 = KP_F4
!
keycode 79 = KP_7
keycode 80 = KP_8
keycode 81 = KP_9
!
keycode 83 = KP_4
keycode 84 = KP_5
keycode 85 = KP_6
!
keycode 87 = KP_1
keycode 88 = KP_2
keycode 89 = KP_3
!
keycode 108 = KP_Enter
!
keycode 90 = KP_0
keycode 91 = KP_Decimal
!
! Function keys, top row
!
!keycode 95 = Help
!keycode 96 = Do
!
keycode 72 = F6 0x1008fe06 F6 0x1008fe06 F6 0x1008fe06
keycode 95 = F11 0x1008fe0b F11 0x1008fe0b F11 0x1008fe0b
keycode 96 = F12 0x1008fe0c F12 0x1008fe0c F12 0x1008fe0c
$EOD
-----------------------------------


Wilm Boerhout

unread,
Jan 24, 2010, 4:44:34 AM1/24/10
to
Wilm Boerhout mentioned on 23-1-2010 12:17:
> keycode 107 = Delete

should be

keycode 107 = DRemove

/Wilm

Wilm Boerhout

unread,
Jan 24, 2010, 5:25:05 AM1/24/10
to
and:

keycode 48 = apostrophe quotedbl apostrophe quotedbl dead_acute
dead_diaeresis

[mind the wrap]

is also handy.

Jeff Goodwin

unread,
Jan 25, 2010, 4:41:06 PM1/25/10
to
"Wilm Boerhout" <wboerh...@spam.gmail.com> wrote in message
news:4b5adab4$0$14130$703f...@textnews.kpn.nl...

Thanks Wilm,

I already had a file that would work for xmodmap. The posting you made
should help anyone else looking for the same data.

The format I was looking for was the xkb format. Bojan Nemec posted one
here if anyone is interested:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1264455077493+28353475&threadId=1016653

To activate on the xserver startup command, I used: -xkblayout us_vms

There is still one issue I need to resolve. Switching from an X window to a
non-X window (like a browser) and back to the X window causes a problem.
The remapped Num Lock key, if active, will simulate a key press and a key
release. This causes an application to think the PF1 key has been pressed,
when in fact, is has not been.

-Jeff


0 new messages