DECwindows CDE works in E9.2-3
-
Topic author - Valued Contributor
- Posts: 77
- Joined: Mon Aug 17, 2020 4:38 pm
- Reputation: 0
- Status: Offline
DECwindows CDE works in E9.2-3
A few months ago, there were a number of threads where people discussed attempts to run CDE on V9.2-1 (and -2) but ran into errors - specifically the DTFILE application crashing with an ACCVIO. Using a fresh install of E9.2-3, I was able to get a CDE session to start:
For what it's worth, the steps I used were:
1. Started up xming on my host
2. SSHed into the VMS virtual machine and ran:
a. `SET DISPLAY/CREATE/NODE=<IP of my windows host>/TRANSPORT=TCPIP/EXEC`
b. `MCR DECW$STARTLOGIN`
3. Logged in with username/password
EDIT: Removed incorrect assumption about the cause of the problem in V9.2-1 and V9.2-2
For what it's worth, the steps I used were:
1. Started up xming on my host
2. SSHed into the VMS virtual machine and ran:
a. `SET DISPLAY/CREATE/NODE=<IP of my windows host>/TRANSPORT=TCPIP/EXEC`
b. `MCR DECW$STARTLOGIN`
3. Logged in with username/password
EDIT: Removed incorrect assumption about the cause of the problem in V9.2-1 and V9.2-2
Last edited by dmjb on Fri Aug 09, 2024 3:19 am, edited 3 times in total.
-
- Active Contributor
- Posts: 30
- Joined: Sat Aug 22, 2020 3:25 pm
- Reputation: 0
- Location: Philadelphia area
- Status: Offline
Re: DECwindows CDE works in E9.2-3
I can confirm that it does work. Thanks for the heads up and the clear steps to get it going.
I am running a VirtualBox VM on a windows host with xming.
I am running a VirtualBox VM on a windows host with xming.
Last edited by whcox53 on Thu Aug 08, 2024 8:02 pm, edited 1 time in total.
bill
-----------------
VMS user since 1979.
-----------------
VMS user since 1979.
-
- VSI Expert
- Active Contributor
- Posts: 37
- Joined: Thu Sep 14, 2023 1:26 am
- Reputation: 0
- Status: Offline
Re: DECwindows CDE works in E9.2-3
No, the ACCVIO in the DTFILE application was another issue.dmjb wrote: ↑Thu Aug 08, 2024 5:18 pmI believe the issue which prevented CDE from running previously is the CRTL issue described in this thread: https://forum.vmssoftware.com/viewtopic.php?f=1&t=9138
-
Topic author - Valued Contributor
- Posts: 77
- Joined: Mon Aug 17, 2020 4:38 pm
- Reputation: 0
- Status: Offline
Re: DECwindows CDE works in E9.2-3
Thanks for the correction. Do you have any details on what caused the DTFILE crash?pustovetov wrote: ↑Fri Aug 09, 2024 1:10 amNo, the ACCVIO in the DTFILE application was another issue.
-
- VSI Expert
- Active Contributor
- Posts: 37
- Joined: Thu Sep 14, 2023 1:26 am
- Reputation: 0
- Status: Offline
Re: DECwindows CDE works in E9.2-3
Chirping in with my screenshots:
https://raymii.org/s/inc/img/openvms-cde-1.png
https://raymii.org/s/inc/img/openvms-cde-9.png
Lets see if I can compile Tetris now.
https://raymii.org/s/inc/img/openvms-cde-1.png
https://raymii.org/s/inc/img/openvms-cde-9.png
Lets see if I can compile Tetris now.
Last edited by raymii on Wed Aug 14, 2024 6:19 pm, edited 2 times in total.
-
- Valued Contributor
- Posts: 64
- Joined: Thu Dec 23, 2021 8:02 pm
- Reputation: 0
- Location: Fairbanks , AK.
- Status: Offline
Re: DECwindows CDE works in E9.2-3
@raymii , Quite a chuckle when going to the url's you posted ...
"I am not a teapot
719 - I am not a teapot
Espresso Web (Red Hat Enterprise Linux) at raymii.org"
"I am not a teapot
719 - I am not a teapot
Espresso Web (Red Hat Enterprise Linux) at raymii.org"
-
Topic author - Valued Contributor
- Posts: 77
- Joined: Mon Aug 17, 2020 4:38 pm
- Reputation: 0
- Status: Offline
Re: DECwindows CDE works in E9.2-3
It's worth noting that the latest VSI release of OpenSSH (V8.9-1I01) supports X forwarding, and I can confirm that it works after upgrading one of my virtual machines.
One interesting issue I observed is that running `SYS$SYSTEM:DECW$STARTLOGIN.EXE` over SSH with X forwarding gave me the following error:
(FWIW, the X server used was Xephyr running on Fedora 40)
Doing some reading, I learned from this old HP forum post that running DECW$STARTLOGIN interactively is not recommended. The post instead suggested the following DCL script:
I can confirm this works. Whether the specific error I encountered is a problem with my configuration, or a limitation with DECW$STARTLOGIN is not clear, but I do not plan to investigate further since it is apparently not the correct approach.
One interesting issue I observed is that running `SYS$SYSTEM:DECW$STARTLOGIN.EXE` over SSH with X forwarding gave me the following error:
Code: Select all
X11 connection rejected because of wrong authentication.
Doing some reading, I learned from this old HP forum post that running DECW$STARTLOGIN interactively is not recommended. The post instead suggested the following DCL script:
Code: Select all
$!***************************************
$!START_CDE.COM *
$!***************************************
$ define sys$output sys$login:startcde.log
$ set noverify
$ SPAWN/NOWAIT MCR CDE$SYSTEM_DEFAULTS:[BIN]DTHELLO
$ @CDE$SYSTEM_DEFAULTS:[BIN]XSESSION.COM
$ LOGOUT
Last edited by dmjb on Fri Aug 16, 2024 7:13 am, edited 3 times in total.
Re: DECwindows CDE works in E9.2-3
I managed to compile Tetris (from 1992) on OpenVMS x86 E9.2-3:
I'll follow up with a guide soon. I used the same game on my AXPbox remote desktop article: https://raymii.org/s/blog/OpenVMS_CDE_D ... xpbox.html - but that had a compiled EXE for Alpha. A few minor C code changes were all that was needed to get this up and running!
I'll follow up with a guide soon. I used the same game on my AXPbox remote desktop article: https://raymii.org/s/blog/OpenVMS_CDE_D ... xpbox.html - but that had a compiled EXE for Alpha. A few minor C code changes were all that was needed to get this up and running!
Re: DECwindows CDE works in E9.2-3
As promised, here is the guide on compiling Tetris for x86: https://raymii.org/s/blog/Tetris_from_1 ... _2024.html