Open Server 6.0 is fragile, not ready for prime time? - SCO

This is a discussion on Open Server 6.0 is fragile, not ready for prime time? - SCO ; As posted before, I am evaluating my first installation of OS6, and it is not going well. I have now damaged the graphical system somehow so that startx results in a gray background with an active cursor and nothing else. ...

+ Reply to Thread
Results 1 to 7 of 7

Thread: Open Server 6.0 is fragile, not ready for prime time?

  1. Open Server 6.0 is fragile, not ready for prime time?

    As posted before, I am evaluating my first installation of OS6,
    and it is not going well.

    I have now damaged the graphical system somehow so that startx
    results in a gray background with an active cursor and nothing else.

    custom -> verify system -> quick does not find aneything.
    Integrity and fixmog does not correct anything.

    Yesterday, I enabled HT in /stand/boot and rebooted and
    mpstat shows two cpu's and startx on any of the console screens
    worked. I logged in via telnet (Putty) and typed startx just to
    see what would happen (nothing) and then killed the session
    (ctl-\). I did not run startx after that on the console.

    Today, I installed the System Certification Tests (ver 9.0.0f)
    from the optional services CD ( custom -> install -> from
    CD-rOM ) and when the installation was finished, spent 10 to
    fifteen minutes trying to find what was installed and where.
    I found /home/sct and some programs that I then tried to run
    from the command line without success. When I next tried to
    execute startx, gray screen with cursor but nothing else.
    Using custom to remove the sct did to restore the startx
    function.

    Editing /etc/default/X11 and changing to kde3 did not affect
    or correct the problem.

    # tail -f /var/adm/Xorg.0.log
    AUDIT: Tue Oct 18 00:45:13 2005: 2428 X: client 1 rejected from local host
    AUDIT: Tue Oct 18 00:45:15 2005: 2428 X: client 1 rejected from local host
    AUDIT: Tue Oct 18 00:45:17 2005: 2428 X: client 1 rejected from local host
    # ps -ef | grep X
    root 2427 2426 0 00:42:26 console 00:00:00 /usr/X11R6/bin/xinit /usr
    /X11R6/lib/X11/xinit/xinitrc --
    root 2428 2427 0 00:42:26 console 00:00:01 X :0
    #

    What's next?

    --

    Steve Fabac
    S.M. Fabac & Associates
    816/765-1670

  2. Re: Open Server 6.0 is fragile, not ready for prime time?

    Steve M. Fabac, Jr. wrote:
    > As posted before, I am evaluating my first installation of OS6,
    > and it is not going well.
    >
    > I have now damaged the graphical system somehow so that startx
    > results in a gray background with an active cursor and nothing else.


    Steve,

    So you are getting an X Server but you are not getting a desktop.

    Is scologin enabled? If not, can you enable scologin and login via this

    interface and see if you get a desktop?

    Are you using the default desktop or have you modified the desktop
    that you are using in any way?

    > Today, I installed the System Certification Tests (ver 9.0.0f)
    > from the optional services CD ( custom -> install -> from
    > CD-rOM ) and when the installation was finished, spent 10 to
    > fifteen minutes trying to find what was installed and where.


    I have asked that we include some doc on CD 2 that explains how
    to get started with SCT.

    > Editing /etc/default/X11 and changing to kde3 did not affect
    > or correct the problem.
    >
    > # tail -f /var/adm/Xorg.0.log
    > AUDIT: Tue Oct 18 00:45:13 2005: 2428 X: client 1 rejected from local host
    > AUDIT: Tue Oct 18 00:45:15 2005: 2428 X: client 1 rejected from local host
    > AUDIT: Tue Oct 18 00:45:17 2005: 2428 X: client 1 rejected from local host
    > # ps -ef | grep X
    > root 2427 2426 0 00:42:26 console 00:00:00 /usr/X11R6/bin/xinit /usr
    > /X11R6/lib/X11/xinit/xinitrc --
    > root 2428 2427 0 00:42:26 console 00:00:01 X :0
    > #
    >
    > What's next?


    What is the exact startx command you are issuing? You havent been
    playing with
    xinit or a $HOME/.xinitrc have you?

    John


  3. Re: Open Server 6.0 is fragile, not ready for prime time?

    jboland@sco.com wrote:
    >
    > Steve M. Fabac, Jr. wrote:
    > > As posted before, I am evaluating my first installation of OS6,
    > > and it is not going well.
    > >
    > > I have now damaged the graphical system somehow so that startx
    > > results in a gray background with an active cursor and nothing else.

    >
    > Steve,
    >
    > So you are getting an X Server but you are not getting a desktop.
    >
    > Is scologin enabled? If not, can you enable scologin and login via this
    >
    > interface and see if you get a desktop?
    >


    John,

    Typing enable scologin results in the login screen being displayed on tty02
    and allows me to enter root login and password (only account on this system)
    but then flashes something too quick to see and reverts back to scologin screen.

    scologin disable results in normal getty on tty02. Prior to this test Alt-F2
    always beeped and did not switch screens (tty02 was not available).

    > Are you using the default desktop or have you modified the desktop
    > that you are using in any way?


    The only change I tried was to edit /etc/default/X11 and set xkde3 after
    this started to occur. This did not help so I have now set it back to
    original.

    >
    > > Today, I installed the System Certification Tests (ver 9.0.0f)
    > > from the optional services CD ( custom -> install -> from
    > > CD-rOM ) and when the installation was finished, spent 10 to
    > > fifteen minutes trying to find what was installed and where.

    >
    > I have asked that we include some doc on CD 2 that explains how
    > to get started with SCT.


    That would be great. The README on the CD refers to the online application
    documentation but does not even suggest how to minimally start the application.

    >
    > > Editing /etc/default/X11 and changing to kde3 did not affect
    > > or correct the problem.
    > >
    > > # tail -f /var/adm/Xorg.0.log
    > > AUDIT: Tue Oct 18 00:45:13 2005: 2428 X: client 1 rejected from local host
    > > AUDIT: Tue Oct 18 00:45:15 2005: 2428 X: client 1 rejected from local host
    > > AUDIT: Tue Oct 18 00:45:17 2005: 2428 X: client 1 rejected from local host
    > > # ps -ef | grep X
    > > root 2427 2426 0 00:42:26 console 00:00:00 /usr/X11R6/bin/xinit /usr
    > > /X11R6/lib/X11/xinit/xinitrc --
    > > root 2428 2427 0 00:42:26 console 00:00:01 X :0
    > > #
    > >
    > > What's next?

    >
    > What is the exact startx command you are issuing? You havent been
    > playing with
    > xinit or a $HOME/.xinitrc have you?


    # startx [Enter]

    I made no changes to xinit or $HOME/.xinitrc

    # cat .xsession-errors
    /usr/lib/X11/scologin/Xsession-sh: syntax error at line 46: `}' unexpected

    #ls -la
    total 1454
    drwxr-xr-x 32 root bin 2048 Oct 18 09:00 .
    drwxr-xr-x 32 root bin 2048 Oct 18 09:00 ..
    -rw------- 1 root sys 148 Oct 18 08:54 .Xauthority
    -rw-r--r-- 1 root sys 616842 Oct 17 03:58 .fonts.cache-1
    -rw------- 1 root sys 0 Oct 17 04:09 .forward
    drwxr-xr-x 3 root sys 53 Oct 17 23:10 .io
    drwxr-xr-x 3 root sys 96 Oct 17 04:03 .java
    lrwxrwxrwx 1 root sys 34 Oct 16 21:09 .kshrc -> /var/opt/K/SCO/Unix/6.0.0Ni/.kshrc
    -r-------- 1 root auth 0 Oct 18 09:00 .lastlogin
    lrwxrwxrwx 1 root sys 37 Oct 16 21:14 .mailrc -> /var/opt/K/SCO/MailUA/6.0.0Ni/.mailrc
    drwx------ 3 root sys 96 Oct 16 21:33 .mozilla
    drwxr-xr-x 3 root sys 96 Oct 17 04:09 .odtpref
    lrwxrwxrwx 1 root sys 36 Oct 16 21:09 .profile -> /var/opt/K/SCO/Unix/6.0.0Ni/.profile
    -rw------- 1 root sys 0 Oct 16 21:53 .re2.newmedia
    -rw-r--r-- 1 root sys 612 Oct 16 21:53 .recoverEDGE.rc
    -r-------- 1 root sys 23 Oct 16 21:42 .rhosts
    -rw-r--r-- 1 root sys 78 Oct 17 00:01 .scoadmin.pref
    -rw------- 1 root sys 7468 Oct 18 09:02 .sh_history
    drwxr-xr-x 5 root sys 2048 Oct 16 21:29 .xdt_dir
    -rw-r--r-- 1 root sys 0 Oct 16 21:29 .xdtsupCheck
    -rw------- 1 root sys 75 Oct 18 08:54 .xsession-errors
    -rw-r--r-- 1 root sys 2546 Oct 17 04:09 Main.dt
    -rw-r--r-- 1 root sys 231 Oct 16 21:29 Personal.dt


    # find / -name xinit -print | xargs file
    /usr/bin/X11/xinit: ELF 32-bit LSB executable 80386, dynamically linked, stripped, no debug (SVR5 ABI)
    /usr/X11R6/lib/X11/xinit: directory
    /usr/X11R6/bin/xinit: ELF 32-bit LSB executable 80386, dynamically linked, stripped, no debug (SVR5 ABI)
    /var/opt/K/SCO/XORGServer/6.8.2Eb/usr/X11R6/lib/X11/xinit: directory
    /opt/K/SCO/XORGServer/6.8.2Eb/.softmgmt/var/usr/X11R6/lib/X11/xinit: directory
    /opt/K/SCO/XORGServer/6.8.2Eb/usr/X11R6/bin/xinit: ELF 32-bit LSB executable 80386, dynamically linked, stripped, no debug (SVR5 ABI)
    /opt/K/SCO/XORGServer/6.8.2Eb/usr/X11R6/lib/X11/xinit: directory
    #
    # tail -20 /var/adm/Xorg.0.log
    (==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
    (==) Mouse0: Buttons: 3
    (==) Mouse0: Setting wheel resolution to 1
    (**) Option "CoreKeyboard"
    (**) Keyboard0: Core Keyboard
    (**) Option "Protocol" "Xqueue"
    (**) Keyboard0: Protocol: Xqueue
    (**) Option "AutoRepeat" "500 30"
    (**) Option "XkbRules" "xorg"
    (**) Keyboard0: XkbRules: "xorg"
    (**) Option "XkbModel" "pc105"
    (**) Keyboard0: XkbModel: "pc105"
    (**) Option "XkbLayout" "us"
    (**) Keyboard0: XkbLayout: "us"
    (**) Option "Panix106" "off"
    (**) Option "CustomKeycodes" "off"
    (**) Keyboard0: CustomKeycodes disabled
    (II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
    (II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
    Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
    #


    I also remember runnning Backup Edge graphical edgemenu under X-desktop (very pretty)
    the last time startx worked before the current problem.

    The only clueless thing I did was typing startx from a telnet (Putty) screen and having
    to kill the results with ctl-\.

    >
    > John



    --

    Steve Fabac
    S.M. Fabac & Associates
    816/765-1670

  4. Re: Open Server 6.0 is fragile, not ready for prime time?

    Steve M. Fabac, Jr. typed (on Tue, Oct 18, 2005 at 05:51:08AM +0000):
    | As posted before, I am evaluating my first installation of OS6,
    | and it is not going well.
    |
    | I have now damaged the graphical system somehow so that startx
    | results in a gray background with an active cursor and nothing else.

    Set aside /etc/xorg.conf and see if it gets rebuilt properly when you
    either run startx or enable scologin.

    --
    JP

  5. Re: Open Server 6.0 is fragile, not ready for prime time?

    Steve M. Fabac, Jr. wrote:

    > # cat .xsession-errors
    > /usr/lib/X11/scologin/Xsession-sh: syntax error at line 46: `}' unexpected


    That looks like the problem in a nutshell. Look at Xsession-sh and fix
    the {} imbalance problem. If you can't figure it out, post it. I'm not
    sure how big that file's likely to be, so if it's hundreds of lines, we
    probably only need to see the first 50 or so...

    >Bela<


  6. Re: Open Server 6.0 is fragile, not ready for prime time?

    Bela Lubkin typed (on Tue, Oct 18, 2005 at 05:56:09PM -0400):
    | Steve M. Fabac, Jr. wrote:
    |
    | > # cat .xsession-errors
    | > /usr/lib/X11/scologin/Xsession-sh: syntax error at line 46: `}' unexpected
    |
    | That looks like the problem in a nutshell. Look at Xsession-sh and fix
    | the {} imbalance problem. If you can't figure it out, post it. I'm not
    | sure how big that file's likely to be, so if it's hundreds of lines, we
    | probably only need to see the first 50 or so...

    I wonder what Steve has there, since my /usr/lib/X11/scologin/Xsession-sh
    does not have a '}' at line 46.

    The ONLY '}' in that file on my 6.0.0 is at line 4, in "${TMPDIR-/tmp}".

    --
    JP

  7. Re: Open Server 6.0 is fragile, not ready for prime time?

    Jean-Pierre Radley wrote:
    >
    > Bela Lubkin typed (on Tue, Oct 18, 2005 at 05:56:09PM -0400):
    > | Steve M. Fabac, Jr. wrote:
    > |
    > | > # cat .xsession-errors
    > | > /usr/lib/X11/scologin/Xsession-sh: syntax error at line 46: `}' unexpected
    > |
    > | That looks like the problem in a nutshell. Look at Xsession-sh and fix
    > | the {} imbalance problem. If you can't figure it out, post it. I'm not
    > | sure how big that file's likely to be, so if it's hundreds of lines, we
    > | probably only need to see the first 50 or so...
    >
    > I wonder what Steve has there, since my /usr/lib/X11/scologin/Xsession-sh
    > does not have a '}' at line 46.
    >
    > The ONLY '}' in that file on my 6.0.0 is at line 4, in "${TMPDIR-/tmp}".
    >
    > --
    > JP


    inserting -x in Xsession-sh and attempting to log in via scologin produced
    the following:

    + break
    + [ -f /usr/lib/merge/xmergeset.sh ]
    + [ -f /usr/lib/merge/console.disp ]
    HUSHLOGIN=TRUE
    + [ -r /etc/profile ]
    + . /etc/profile
    MF_ADM=adm.cat@Unix
    MS_PROFILE=1
    MSG_MAIL=1
    + :
    + trap 1 2 3
    + umask 022
    + trap 1 2 3
    + unset HUSHLOGIN
    + [ -r //.profile ]
    + . //.profile
    /usr/lib/X11/scologin/Xsession-sh: syntax error at line 46: `}' unexpected

    Then examining /.profile I see at the end where I insert my customary
    root profile modifications:

    [ "$TERM" = "ansi" -o "$TERM" = "at386" -o "$TERM" = "at386-ie" ] &&
    setcolor white blue
    setcolor -g lt_magenta blue
    setcolor -r black cyan
    exec /bin/ksh
    }

    There is a missing "{" causing the trailing "}" to be unbalanced !!!

    Correcting .profile to:

    [ "$TERM" = "ansi" -o "$TERM" = "at386" -o "$TERM" = "at386-ie" ] && {
    setcolor white blue
    setcolor -g lt_magenta blue
    setcolor -r black cyan
    exec /bin/ksh
    }

    Resolved the problem and now startx and scologin are working again.
    Since startx was working for several days, and I customarily modify
    root's .profile early on in my system setup, I can't explain how the
    opening "{" was removed from .profile.

    Odd that there was never a complaint when logging in on tty01, tty03,
    etc., after startx begin failing because of the missing "{".

    The complete .Xsessions-errros with a successful startx session:
    + break
    + [ -f /usr/lib/merge/xmergeset.sh ]
    + [ -f /usr/lib/merge/console.disp ]
    HUSHLOGIN=TRUE
    + [ -r /etc/profile ]
    + . /etc/profile
    MF_ADM=adm.cat@Unix
    MS_PROFILE=1
    MSG_MAIL=1
    + :
    + trap 1 2 3
    + umask 022
    + trap 1 2 3
    + unset HUSHLOGIN
    + [ -r //.profile ]
    + . //.profile
    + :
    SHELL=/bin/sh
    HOME=/
    PATH=/bin:/etc:/usr/bin:/tcb/bin:/sbin:/usr/sbin
    VISUAL=vi
    LESS=--chop-long-lines --shift 8
    + tset -m at386:scoansi -m :?scoansi -e -r -s -Q
    Not a terminal
    + eval
    + export TERM PATH SHELL HOME VISUAL LESS
    + [ -w /etc/mnttab ]
    + [ -x /bin/mesg ]
    + mesg n
    + [ -f //.kshrc -a -r //.kshrc ]
    ENV=${_ENVFILE[(_=1)+(_$-=0)-_${-%%*i*}]}
    _ENVFILE=/.kshrc
    + export ENV _ENVFILE
    > + [ scoansi = ansi -o scoansi = at386 -o scoansi = at386-ie ] >> Interesting, TERM is set to scoansi
    >> upon using scologin or startx

    bindir=/usr/X11R6/bin
    PATH=/usr/X11R6/bin:/bin:/etc:/usr/bin:/tcb/bin:/sbin:/usr/sbin
    scobindir=/usr/bin/X11
    PATH=/usr/X11R6/bin:/bin:/etc:/usr/bin:/tcb/bin:/sbin:/usr/sbin:/usr/bin/X11
    + export PATH
    startup=//.xsession
    resources=//.Xresources
    + [ -r /etc/default/xdesktops ]
    + . /etc/default/xdesktops
    xdt3=/usr/bin/X11/scosession
    kde3=/opt/kde/bin/startkde
    + [ -r //.x11rc ]

    Thanks Bela, JP, and John, I am a CLI guy and normally eschew using
    the graphical desktop except when necessary. So when X fails, I
    am a loss on how to debug the problem.


    ~

    --

    Steve Fabac
    S.M. Fabac & Associates
    816/765-1670

+ Reply to Thread