Re: Bypass Xwindows after VMS boots? (6946 Views)
Reply
Advisor
Tschroeder
Posts: 23
Registered: ‎10-16-2006
Message 1 of 12 (7,099 Views)

Bypass Xwindows after VMS boots?

I have an Alpha Server running OPenVMS 7.3-2.    When it boots, I get the regular operator console, but then at the end of the boot it asks for the system account and password and it goes into Xwindows and from there I can launch a terminal emulator and issue vms commands.   Is there a way to have the machine boot but NOT go into Xwindows?

Please use plain text.
Honored Contributor
Steven Schweda
Posts: 9,079
Registered: ‎02-23-2005
Message 2 of 12 (7,095 Views)

Re: Bypass Xwindows after VMS boots?

Please use plain text.
Respected Contributor
Bob Blunt
Posts: 314
Registered: ‎05-01-2003
Message 3 of 12 (7,090 Views)

Re: Bypass Xwindows after VMS boots?

Yes, there are ways.  You need to know what your system/user base needs first, though.  Do you want the system to be a "server only" without any support for X-Windows at all?

 

You could either 1) take out the graphics card, disconnect the mouse and keyboard or 2) you could set the system parameter WINDOW_SYSTEM to 0.  It all depends on what you need that system to do.  OpenVMS itself will, most likely, work just fine either way.

 

bob

Please use plain text.
Advisor
Tschroeder
Posts: 23
Registered: ‎10-16-2006
Message 4 of 12 (7,087 Views)

Re: Bypass Xwindows after VMS boots?

I set Window_system to 0 and rebooted.   Xwindows still comes up.   I checked the window_system parameter after boot and it is still set to '0'.   Any other ideas?

Please use plain text.
Honored Contributor
Steven Schweda
Posts: 9,079
Registered: ‎02-23-2005
Message 5 of 12 (7,083 Views)

Re: Bypass Xwindows after VMS boots?

Please use plain text.
Honored Contributor
Steven Schweda
Posts: 9,079
Registered: ‎02-23-2005
Message 6 of 12 (7,080 Views)

Re: Bypass Xwindows after VMS boots?

Please use plain text.
Honored Contributor
Hoff
Posts: 4,921
Registered: ‎01-29-2006
Message 7 of 12 (7,049 Views)

Re: Bypass Xwindows after VMS boots?

See Disabling DECwindows Startup for a newer description.

 

>(Boy, that "reading" thing is a miracle. In this context, "not particularly reliable" seems to be a synonym for "doomed".)

 

That text was intended as a generic comment to folks that were then-attempting to use the then-older approach on the then-newer releases.  At the time, setting WINDOW_SYSTEM did work on older releases (and was the
"preferred" approach, but it wasn't be reliable on the then-newer releases.   That particular text was written shortly after that, well, silly "yes I really mean to disable DECwindows" switch-over was implemented.

 

Off-hand, I don't recall which version of OpenVMS and DECwindows implemented the WINDOW_SYSTEM reset.

Please use plain text.
Honored Contributor
Willem Grooters
Posts: 2,038
Registered: ‎05-21-2003
Message 8 of 12 (7,019 Views)

Re: Bypass Xwindows after VMS boots?

DE you want Xwindows to be started jus on your console but be able to use it in a later state: You can change systartup_vms.com to bypass Xwindows to start. There are lines that state:

 

$! The following command should be used only if you do not wish the DECwindows
$! startup file to be run.  The DECwindows startup file should be run on all
$! types of machines, even if they are not using a DECwindows display.  If
$! you wish to run the DECwindows startup file at a later time during system
$! startup remove the comment delimiter ($!) from the line below.
$!
$! Until a solution if found for the problems using DecWindows, ignore it.
$!
$! DEFINE DECW$IGNORE_DECWINDOWS TRUE
$!

 Just uncomment the last line
It will disable DecWindows to start at teh console but allows you to use it at a later moment (eg from a xwindows emulator)

Willem Grooters
OpenVMS Developer & System Manager
Please use plain text.
Honored Contributor
Steven Schweda
Posts: 9,079
Registered: ‎02-23-2005
Message 9 of 12 (7,010 Views)

Re: Bypass Xwindows after VMS boots?

Please use plain text.
Respected Contributor
Rick Retterer
Posts: 156
Registered: ‎04-30-2003
Message 10 of 12 (6,976 Views)

Re: Bypass Xwindows after VMS boots?

The method of using window_system, was changed back in 6.2 of OpenVMS.  This was a sysgen resource setting that allowed a system manager to toggle between, EWS, Decwindows, and No Windows.

 

window_system = 0 - Disabled Windows

window_system = 1 - Decwindows XUI/Motif

window_system = 2 - EWS  - Elan Windowing System.

 

The use of window_system sysgen parameters are no longer used by OpenVMS for enabling or disable the window system.  The setting should be set to 1 on all systems.

 

To disable Decwindows from starting, you can use the logicals

 

$ DEFINE DECW$IGNORE_DECWINDOWS TRUE

$! Disables the Startup of Decwindows completely, including the loading of any Decw$* images into memory.

 

$ DEFINE DECW$IGNORE_WORKSTATION TRUE

$! Disables the startup of the Decw$server_0 process (which is the X display Server) but enables and

$! defines the logicals needed to run Decwindows and X based applications remotely to remote X Servers

$! running on PC's using eXcursion, ReflectionX, or Hummingbird eXceed, or any Open Source X Server, Unix

$! system, Linux Systems, or other OpenVMS systems that has the Decw$server_0 process running.

 

You can find details about these logicals and other Decwindows Logicals in the OpenVMS Decwindows System Management Guide. 

 

http://h71000.www7.hp.com/doc/83final/decwindows/dwindows_mgmt.pdf

 

Page 2-6  Section: 2.3.1 Definining DECwindows System Logicals

 

Cheers,

Rick Retterer

 

- Rick Retterer



Please use plain text.
Honored Contributor
Hoff
Posts: 4,921
Registered: ‎01-29-2006
Message 11 of 12 (6,966 Views)

Re: Bypass Xwindows after VMS boots?

WINDOW_SYSTEM = 2 was used to select VWS, the VAX Workstation Software, and not EWS. 

 

VWS was a fast, light-weight, non-networked windowing system that was used with the early VAXstation systems.

 

EWS is an embedded and downloadable X terminal package that can be used on some of the older VAXstation systems, and it's based on DEC's VAXELN kernel.

 

Copies of EWS are available via the OpenVMS Freeware.

Please use plain text.
Respected Contributor
Rick Retterer
Posts: 156
Registered: ‎04-30-2003
Message 12 of 12 (6,946 Views)

Re: Bypass Xwindows after VMS boots?

Hoff,

   You are absolutely correct.  VWS was the windowing system that could be alternately selected via the window_system sysgen parameter.  My bad, and I apologize.

 

VWS was a really early implimentation of X11, on VAX workstation systems.

 

Thanks for the clearification.

 

Rick

 

- Rick Retterer



Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation