Xdm error 2817 SunOS 4.1.4 OpenWindows

Hi members!
I have installed SunOS 4.1.4 under QEMU.
I would like to use it with xdm. I launch xdm and get login window.
But when I have inputed user name and password,
XDM exited with the message:
"error (334): Unknown session exit code 2817 from process 342"
I have checked:
pid 334 is the parent process of XDM;
pid 342 is the child XDM ( 334 ->342).
------------
Also I have found a link in the internet with this issue,
but a link is down.
------------
Please, help me.

Why running an almost 25 year old OS? Would be running Solaris 11 or Solaris 10 (which is available in x86/64 versions) an option for you? You could use virtual box to run Solaris as a guest OS from your OS or install it natively as your main OS.

Hello!
I would like to make a short historical course UNIX and multiuser OSs at school
with real OSs (VAX, SUN, IBM and old MAC). I am planning to use SimH and QEMU
emulators.
Thanks for advice.

I see... Good luck with your project!

Did you see+follow
http://www.menet.umn.edu/~bob/FAQ/sun.xdm.faq
?
AFAIR for external software it was useful to make two symbolic links from the standard X11 paths to the equivalent paths under /usr/openwin.
And we replaced /usr/bin/df with the df that came with Disksuite (Sun volume manager).

1 Like

Hello!
Thank you very much MadeInGermany!
I have solved issue.
Well,

  1. in the file /etc/ttytab
    • console ... off
  2. in the file /usr/openwin/lib/xdm/xdm-config
    added a line
    • DisplayManager*startup: /usr/openwin/lib/xdm/Xstartup
  3. in the folder /usr/openwin/lib/xdm
    created a file Xstartup:
    #############
    /usr/etc/chown $USER /dev/console
    /usr/etc/chown $USER /tmp/.NeWS-unix/N0
    /usr/etc/chown $USER /tmp/.X11-unix/X0
    #############

restarted xdm: kill -HUP pid-xdm (parent)

Before that:
I have created files .xinitrc; .Xdefaults in the users home
directory.

Now I am tuning settings of X and XDM.

1 Like