You are not logged in.

#1 2022-07-18 04:01:52

nphuracm
Member
From: China
Registered: 2022-07-16
Posts: 59

[SOLVED] CDE not starting & other related (and common?) Xorg issues

This thing has been torturing me on each Arch+Xorg installation ever since I succeeded on my first Arch+KDE install.

I am now working now to make CDE work on a new Arch installation. I installed base, linux-zen, linux-firmware, xorg, and cdesktopenv on a VirtualBox machine with VMSVGA. Even with the correct drivers installed (xf86-video-fbdev, xf86-video-vmware), whenever I run 'startx' it gives me a brief black screen and then this:
(Some of the following scenes were recreated from my own memories.)

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.(anything here...)

For the first attempt, the only (EE) in the log file was:

open /dev/fb0: Permission denied

After trying

pkill -15 Xorg
su -c "chmod 7777 /dev/fb0"

I get this:

Server terminated with error (1).
(...)open /dev/tty0: Permission denied

And the current situation I face is, i tried:

chmod 7777 /dev/tty0

and deleting xorg.conf and some s%!t, and when I type "startx," the log file doesn't even have any (EE)'s. It's like it just shut down just because it wants to.

Is there any good solutions to this?

Last edited by nphuracm (2022-07-19 15:32:34)

Offline

#2 2022-07-18 04:29:52

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: [SOLVED] CDE not starting & other related (and common?) Xorg issues

What's in your ~/.xinitrc?

Offline

#3 2022-07-18 07:18:15

nphuracm
Member
From: China
Registered: 2022-07-16
Posts: 59

Re: [SOLVED] CDE not starting & other related (and common?) Xorg issues

Scimmia wrote:

What's in your ~/.xinitrc?

There's no such file.

[nphuracm@VirtualBox ~]$ nano .xinitrc

shows that it's a new file.

Offline

#4 2022-07-18 08:12:56

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: [SOLVED] CDE not starting & other related (and common?) Xorg issues

So by which mechansim do you expect xorg to know you wanted to start cde?

https://wiki.archlinux.org/title/Xinit#xinitrc

Offline

#5 2022-07-18 10:56:10

nphuracm
Member
From: China
Registered: 2022-07-16
Posts: 59

Re: [SOLVED] CDE not starting & other related (and common?) Xorg issues

So I followed the CDE wiki to install some additional packages and modified the .xinitrc contents. I replaced the twm+xclock+xterm part with this single command:

exec /usr/dt/bin/Xsession

Then when I fire it up, I did make it to the "Starting CDE" blue screen.
However, it freezes there, with a big, 1990's-styled "busy" cursor.
Switching to tty2 and running 'top' shows that processes 'Xsession', 'dthello' and 'bash' are just being executed repeatedly without the former instances being killed. They just kept duplicating themselves in the memory.
Also, I did not see anything related to CDE in journalctl logs (by executing 'sudo journalctl -b | less' and searching for 'dt' 'dthello' and 'Xsession').

Offline

#6 2022-07-18 11:33:56

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: [SOLVED] CDE not starting & other related (and common?) Xorg issues

1. that xinitrc will lead to a degenerated session, see the notes in the last link below
2. And what is in "/usr/dt/bin/Xsession"?
3. https://wiki.archlinux.org/title/Common … nvironment has "export PATH=$PATH:/usr/dt/bin" what's most likely gonna be super-important here…

Offline

#7 2022-07-18 12:26:12

nphuracm
Member
From: China
Registered: 2022-07-16
Posts: 59

Re: [SOLVED] CDE not starting & other related (and common?) Xorg issues

seth wrote:

1. that xinitrc will lead to a degenerated session, see the notes in the last link below
2. And what is in "/usr/dt/bin/Xsession"?
3. https://wiki.archlinux.org/title/Common … nvironment has "export PATH=$PATH:/usr/dt/bin" what's most likely gonna be super-important here…

1. Sorry, I don't really understand what you mean by. Here's the .xinitrc file:

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then







    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then







    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

exec /usr/dt/bin/Xsession

2. Here it is.

#! /bin/mksh
# ##########################################################################
#
#   Xsession
#
#   Common Desktop Environment (CDE)
#
#   Configuration script for the Login Manager
#
#   (c) Copyright 1996 Digital Equipment Corporation.
#   (c) Copyright 1993,1994,1996 Hewlett-Packard Company.
#   (c) Copyright 1993,1994,1996 International Business Machines Corp.
#   (c) Copyright 1993,1994,1996 Sun Microsystems, Inc.
#   (c) Copyright 1993,1994,1996 Novell, Inc. 
#   (c) Copyright 1996 FUJITSU LIMITED.
#   (c) Copyright 1996 Hitachi.
#
#       ************** DO NOT EDIT THIS FILE **************
#
#   /usr/dt/bin/Xsession is a factory-default file and will
#   be unconditionally overwritten upon subsequent installation.
#   Modification is discouraged.
#
#   $TOG: Xsession.src /main/19 1999/03/30 09:38:50 mgreess $
#
#   Usage: $0 [-session session_name]
#
# ##########################################################################




























































# ##########################################################################
# 
# 
#   This script starts the user's session. It searches for one of three
#   types of startup mechanisms, in the following order:
# 
#     DT     existence of CDE DT Session Manager on the system
#     XDM    "$HOME/.xsession" (executable)
#     xinit  "$HOME/.xinitrc"  (executable)
# 
#   If none of these startup mechanisms exist, a default window manager
#   and terminal emulator client are started.
# 
# ##########################################################################

#
# Variables must be explicitly exported
# 
set +a

# ##########################################################################
# 
#   Initialize session startup logging
# 
# ##########################################################################

  exec >/dev/null 2>/dev/null

  LOGDIR=$HOME/.dt
  LOGFILENAME=$LOGDIR/startlog
  MSGLOGFILENAME=$LOGDIR/errorlog
  
  if [ ! -d $LOGDIR ]; then
    mkdir $LOGDIR
    if [ -d $LOGDIR ]; then
      chmod 755 $LOGDIR
    fi
  fi

  [ -f $LOGFILENAME.older ] && rm -f $LOGFILENAME.older
  [ -f $LOGFILENAME.old ] && mv -f $LOGFILENAME.old $LOGFILENAME.older
  [ -f $LOGFILENAME ] && mv -f $LOGFILENAME $LOGFILENAME.old
  touch $LOGFILENAME
  [ ! -f $MSGLOGFILENAME ] && touch $MSGLOGFILENAME

  if [ -w $LOGFILENAME ]; then
    exec >>$LOGFILENAME 2>&1
  fi


  Log()
  {
    echo "--- $1" >>$LOGFILENAME 2>&1
  }

  Log "$(date)"
  Log "$0 starting..."

# ##########################################################################
# 
#   Global environment section
# 
#    DT pre-sets the following environment variables for each user.
#    
#     (internal)
# 
#     DISPLAY      set to the value of the first field in the Xservers file.
#     HOME         set to the user's home directory (from /etc/passwd)
#     LANG         set to the display's current NLS language (if any)
#     LC_ALL       set to the value of $LANG
#     LOGNAME      set to the user name
#     PATH         set to the value of the Dtlogin "userPath" resource
#     USER         set to the user name
#     SHELL        set to the user's default shell (from /etc/passwd)
#     TZ           set to the value of the Dtlogin "timeZone" resource
# 
#
#     (Xsession)
# 
#     TERM         set to xterm
#     EDITOR       set to the default editor
#     KBD_LANG     set to the value of $LANG for certain languages
#     MAIL         set to "/var/spool/mail/$USER"
# 
# 
#    Three methods are available to modify or add to this list depending 
#    on the desired scope of the resulting environment variable. 
#    
#     1. X server and/or all users on a display       (Xconfig file)
#     2. all users on a display                       (Xsession file)
#     3. individual users                             (.dtprofile file)
# 
#    See DT on-line help, the DT Users Guide, or the Dtlogin(1X) man
#    page for details on setting environment variables.
#     
#     
# ##########################################################################

  [ -z "$EDITOR" ] && EDITOR=/usr/dt/bin/dtpad
  [ -z "$MAIL" ] && MAIL="/var/spool/mail/$USER"
  [ -z "$LANG" ] && LANG="C"
  TERM=dtterm
  SESSION_SVR=`hostname`

  export PATH EDITOR MAIL TERM SESSION_SVR LANG

 

  #
  # Locate configuration file directories
  #
  XDIR=/usr/bin
  DT_BINPATH=/usr/dt/bin
  DT_INSTALL=/usr/dt
  DT_INSTALL_CONFIG=/usr/dt/config
  DT_CONFIG=/etc/dt/config
  DT_CONFIG_PATH="$DT_INSTALL_CONFIG $DT_CONFIG"

# ##########################################################################
#
#  Default desktop component configuration variable settings
#
#  This section sets the default value for variables controlling
#  some desktop components.
#
# ##########################################################################

  # 
  # Input method server startup
  # 
  if [ -z "$DTSTARTIMS" ]; then
     DTSTARTIMS=True
  fi

  if [ "$DTSTARTIMS" = "False" ]; then
     unset DTSTARTIMS
  fi

  # 
  # Default desktop screen saver action list 
  #  
  export DTSCREENSAVERLIST="StartDtscreenSwarm StartDtscreenQix     StartDtscreenFlame StartDtscreenHop StartDtscreenImage StartDtscreenLife     StartDtscreenRotor StartDtscreenPyro StartDtscreenWorm StartDtscreenBlank"



  # 
  # Session startup clients and args
  # 
  if [ "$SESSIONTYPE" = "altDt" ]; then
      dtstart_session[0]="$SDT_ALT_SESSION"
      dtstart_hello[0]="$SDT_ALT_HELLO"
  else
      DTSESSION_ARGS=""
      if [ $# -ge 2 ]; then
          if [ "$1" = "-session" ]; then
              DTSESSION_ARGS="$1 $2"
          fi
      fi
      dtstart_session[0]="$DT_BINPATH/dtsession $DTSESSION_ARGS"
      dtstart_hello[0]="$DT_BINPATH/dthello -file $DT_INSTALL/copyright &"
  fi
  dtstart_session[1]="$HOME/.xsession"
  dtstart_session[2]="$HOME/.xinitrc"
  dtstart_session[3]="$XDIR/xterm -geometry 80x24+10+10"
  dtstart_hello[1]="$XDIR/xsetroot -default &"
  dtstart_searchpath="$DT_BINPATH/dtsearchpath -ksh"
  dtstart_ttsession="$DT_BINPATH/ttsession -s"
  dtstart_dtdbcache="$DT_BINPATH/dtdbcache -init"
  #
  # dtdbcache file's directory should match
  # _DTDTSMMTEMPDIR in DtSvc/DtUtil1/DtsMM.h
  #
  dtdbcacherm="rm -f /tmp/dtdbcache_$DISPLAY"
  dtstart_appgather="$DT_BINPATH/dtappgather &"




  xdmstart_session[0]="$HOME/.xsession"
  xdmstart_session[1]="/etc/X11/Xsession"
  xdmstart_session[2]="xterm -geometry 80x24+10+10 -ls"
  xdmstart_hello="$XDIR/xsetroot -default &"


  SESSIONLOGDIR=$LOGDIR/sessionlogs
  SESSIONLOGFILENAME="$SESSIONLOGDIR/$SESSION_SVR"_DISPLAY=$DISPLAY

  if [ ! -d $SESSIONLOGDIR ]; then
    mkdir $SESSIONLOGDIR
    if [ -d $SESSIONLOGDIR ]; then
      chmod 755 $SESSIONLOGDIR
    fi
  fi

  touch $SESSIONLOGFILENAME

  if [ -w $SESSIONLOGFILENAME ]; then
      dtstart_sessionlogfile="$SESSIONLOGFILENAME"
  else
      dtstart_sessionlogfile="/dev/null"
  fi

  rm -f $SESSIONLOGFILENAME














  #
  # Determine Xsession parent
  #



  pexec=$(LC_TIME=C /bin/ps -p $PPID 2>/dev/null | awk 'NR==2 {print $4}')





  Log "Xsession started by $pexec"


# ##########################################################################
#  
# Append desktop font aliases to font path
#
# ##########################################################################



  if [ "${pexec##*/}" != "dtlogin" ]; then
    #
    # If Xsession launched by dtlogin, it is assumed that the desktop
    # font path has already been added by Xsetup, so no need to add it here.
    # 
    #
    # Append desktop font paths. Note: these directories should be
    # accessable by the X server. The file precedence is:
    #
    #   /etc/dt/config/xfonts/$LANG
    #   /usr/dt/config/xfonts/$LANG
    #   /etc/dt/config/xfonts/C
    #   /usr/dt/config/xfonts/C
    #

    Log "setting font path..."




    if [ "$DTXSERVERLOCATION" != "remote" ]; then

      #
      # Since X server is local, optimize by checking local desktop
      # font directories and making one call to xset.
      #

      if [ "${LANG-C}" != "C" ]; then
        if [ -f /etc/dt/config/xfonts/$LANG/fonts.dir ]; then
          fontpath=/etc/dt/config/xfonts/$LANG
        fi

        if [ -f /usr/dt/config/xfonts/$LANG/fonts.dir ]; then
          if [ -z "$fontpath" ]; then
            fontpath=/usr/dt/config/xfonts/$LANG
          else
            fontpath=$fontpath,/usr/dt/config/xfonts/$LANG
          fi
        fi
      fi

      if [ -f /etc/dt/config/xfonts/C/fonts.dir ]; then
          if [ -z "$fontpath" ]; then
            fontpath=/etc/dt/config/xfonts/C
          else
            fontpath=$fontpath,/etc/dt/config/xfonts/C
          fi
      fi

      if [ -f /usr/dt/config/xfonts/C/fonts.dir ]; then
        if [ -z "$fontpath" ]; then
          fontpath=/usr/dt/config/xfonts/C
        else
          fontpath=$fontpath,/usr/dt/config/xfonts/C
        fi
      fi


      if [ ! -z "$fontpath" ]; then
        $XDIR/xset fp+ $fontpath
      fi

    else
      #
      # Since X server not local, we don't know if the desktop font
      # directories exist on the X server machine, so we have to
      # set them one at a time.
      #

      if [ "${LANG-C}" != "C" ]; then 
        $XDIR/xset fp+ /etc/dt/config/xfonts/$LANG 1>/dev/null

        $XDIR/xset fp+ /usr/dt/config/xfonts/$LANG 1>/dev/null
      fi

      $XDIR/xset fp+ /etc/dt/config/xfonts/C 1>/dev/null

      $XDIR/xset fp+ /usr/dt/config/xfonts/C 1>/dev/null

    fi

  fi 







# ##########################################################################
# 
#   Source user's desktop profile
# 
#   This section determines if the user has a desktop profile in their
#   home directory. If not, the desktop default profile is copied to
#   the home directory. The desktop profile is then sourced. The purpose
#   is to incorporate any per-user/per-session environment customizations
#   and thereby propagate them to applications and desktop components.
# 
# ##########################################################################


  DTSYSPROFILE=sys.dtprofile
  DTPROFILE=.dtprofile

  if [ ! -f $HOME/$DTPROFILE ]; then
    for i in $DT_CONFIG_PATH
    do
      if [ -f $i/$DTSYSPROFILE ]; then
        /usr/bin/awk '
          BEGIN {printit=1}
          /SYSPROFILE COMMENT START/ {printit=0; next}
          /SYSPROFILE COMMENT END/ {printit=1; next}
          printit==1 {print}' <$i/$DTSYSPROFILE >$HOME/$DTPROFILE
        /bin/chmod 755 $HOME/$DTPROFILE
        break
      fi
    done
  fi

  #
  # source the .dtprofile.
  #
  if [ -f $HOME/$DTPROFILE ]; then
    dtprofile_errors=`/bin/mksh -n $HOME/$DTPROFILE 2>&1`
    if [ "0" = "$?" ]; then
      Log "sourcing $HOME/$DTPROFILE..."
      . $HOME/$DTPROFILE
    else
      Log "not sourcing $HOME/$DTPROFILE due to errors..."
      Log "$dtprofile_errors"
    fi
  fi


# ##########################################################################
# 
#  External Xsession processing section
# 
#  This section searches the Xsession.d subdirectory and sources
#  the files contained therein.  The purpose is to set up any
#  per-user/per-session environment customizations and thereby propagate
#  them to applications and desktop components.
# 
# ##########################################################################

  DT_XSESSION_DIR=Xsession.d

  for i in $DT_CONFIG_PATH
  do
    if [[ -d $i/$DT_XSESSION_DIR ]]; then
      # 
      # Run custom Xsession scripts for this session.
      # 
      for SCRIPT in $(ls $i/$DT_XSESSION_DIR); do
      	if [ -x $i/$DT_XSESSION_DIR/$SCRIPT -a 	    \( ! -d $i/$DT_XSESSION_DIR/$SCRIPT \) ]; then

               Log "sourcing $i/$DT_XSESSION_DIR/$SCRIPT..."
               . $i/$DT_XSESSION_DIR/$SCRIPT
          fi
      done
    fi
  done


# ##########################################################################
# 
#   Startup section.
#      
#   Note: The ksh syntax ${parameter%% *} is used when appropriate to
# 	    remove any command line options that may have been included
# 	    in the definition of a DT executable below.
#      
# ##########################################################################

# 
# Return first command in array named by $1 that is executable
# 
GetFirst()
{
  let i=0
  while true; do
    eval "cmd=\${$1[$i]}"
    [ -z "$cmd" ] && break
    [ -x "${cmd%% *}" ] && echo "$cmd" && break
    Log "could not start $cmd"
    let i=$i+1
  done
}

# 
# Start first command in array named by $1 that is executable. If
# $2 is 'eval', command result will be 'eval'ed. 
# 
StartFirst()
{
  first=$(GetFirst $1)
  if [ ! -z "$first" ]; then
    Log "starting $first"
    if [ "$2" = "eval" ]; then
      eval `eval "PATH=$DT_BINPATH:$PATH $first"`
    else
      eval "PATH=$DT_BINPATH:$PATH $first"
    fi
  fi
}

  # 
  # Prepare for session startup
  # 

  if [ "$DTSOURCEPROFILE" = "true" ]
  then
    case ${SHELL##*/} in
       sh | ksh | ksh93 | dtksh) shellprofile="$HOME/.profile";;
       bash) shellprofile="$HOME/.bash_profile";;
       csh | tcsh) shellprofile="$HOME/.login";;
       *) Log "non-standard shell $SHELL"
    esac
  fi

  if [ "$shellprofile" -a ! -f "$shellprofile" ]
  then
    Log "could not read $shellprofile"
    unset shellprofile
  fi

  if [ "$SESSIONTYPE" = "xdm" ]; then
    startup=$(GetFirst xdmstart_session)    # get xdm session client
    StartFirst xdmstart_hello               # start xdm hello client
  else
    startup=$(GetFirst dtstart_session)     # get desktop session client
    StartFirst dtstart_hello                # start desktop hello client
    StartFirst dtstart_searchpath eval      # setup desktop search paths

    tooltalk=$(GetFirst dtstart_ttsession)  # get tooltalk client
    dtdbcache=$(GetFirst dtstart_dtdbcache) # get dtdbcache client






    StartFirst dtstart_appgather            # setup session applications
  fi

  # 
  # Start the session.
  # 

  if [ $shellprofile ]; then
    Log "execing $startup using $shellprofile..."

    case ${SHELL##*/} in

      sh | bash | ksh | ksh93 | dtksh)
        dotprofile_errors=`$SHELL -n $shellprofile 2>&1`
        if [ "0" = "$?" ]; then
          source_profile=". $shellprofile"
          source_login="source $shellprofile"
        else
          Log "parse errors found in $shellprofile..."
          Log "$dotprofile_errors"
          source_profile="echo 'not execing $shellprofile due to errors'"
          source_login="echo 'not execing $shellprofile due to errors'"
        fi;;
           
      *)
        source_profile=". $shellprofile"
        source_login="source $shellprofile";; 
    esac

  else
    Log "execing $startup..."

    source_profile="echo 'not execing $HOME/.profile (see $HOME/.dtprofile)'"
    source_login="echo 'not execing $HOME/.login (see $HOME/.dtprofile)'"
  fi

  if [ -z "$dtdbcache" ]; then
	dtdbcache="echo could not start $dtstart_dtdbcache"
  fi

  export DT=true;
  case ${SHELL##*/} in
      sh | bash) $SHELL -c "$source_profile; 			   unset DT; 			   $dtdbcache;                            PATH=$DT_BINPATH:\$PATH $tooltalk;                              $startup > $dtstart_sessionlogfile 2>&1" ;;





      ksh | ksh93 | dtksh) $SHELL -c "$source_profile; 			   unset DT; 			   $dtdbcache;                            PATH=$DT_BINPATH:\$PATH $tooltalk;                           $startup >| $dtstart_sessionlogfile 2>&1" ;;





      csh | tcsh) $SHELL -c "unsetenv _ PWD;                                  $source_login;                            unsetenv DT;          			   $dtdbcache;                            (set path = ( $DT_BINPATH \$path ); $tooltalk );                            $startup  >&! $dtstart_sessionlogfile" ;;






      *) unset DT
	 $dtdbcache
         StartFirst dtstart_ttsession
         $startup >| $dtstart_sessionlogfile 2>&1 ;;
  esac

$dtdbcacherm		# remove the actions/datatypes cachefile

# ####################         eof      #################################

By the way, here's the ~/.dt/startlog file:

--- Mon Jul 18 20:06:12 CST 2022
--- /usr/dt/bin/Xsession starting...
/usr/dt/bin/Xsession[191]: hostname: inaccessible or not found
--- Xsession started by bash
--- setting font path...
--- sourcing /home/nphuracm/.dtprofile...
--- sourcing /usr/dt/config/Xsession.d/0010.dtpaths...
--- sourcing /usr/dt/config/Xsession.d/0020.dtims...
--- sourcing /usr/dt/config/Xsession.d/0030.dttmpdir...
--- sourcing /usr/dt/config/Xsession.d/0060.dtsysenv...
--- could not start /usr/dt/bin/dtsession 
--- could not start /home/nphuracm/.xsession
--- starting /usr/dt/bin/dthello -file /usr/dt/copyright &
--- could not start /usr/dt/bin/dtsearchpath -ksh
--- could not start /usr/dt/bin/ttsession -s
--- could not start /usr/dt/bin/dtdbcache -init
/usr/dt/bin/dthello: display :0 doesn't know font -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*
--- could not start /usr/dt/bin/dtappgather &
--- execing /home/nphuracm/.xinitrc...
not execing /home/nphuracm/.profile (see /home/nphuracm/.dtprofile)
could not start /usr/dt/bin/dtdbcache -init
Terminated 

with the "Terminated" being the point where I run

killall Xsession dthello bash

3. I already did so.

env | grep PATH=

PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/dt/bin

Offline

#8 2022-07-18 12:37:22

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: [SOLVED] CDE not starting & other related (and common?) Xorg issues

The xinitrc is fine, I was under the impression the "exec /usr/dt/bin/Xsession" was the only line in there

/usr/dt/bin/Xsession[191]: hostname: inaccessible or not found
--- Xsession started by bash
…
--- execing /home/nphuracm/.xinitrc...

Starting /usr/dt/bin/Xsession from /home/nphuracm/.xinitrc will lead to  recursive execution.
The wiki suggestion would be to "startx /usr/dt/bin/Xsession" (but keep /usr/dt/bin/Xsession out of the xinitrc!)

Offline

#9 2022-07-18 12:54:47

nphuracm
Member
From: China
Registered: 2022-07-16
Posts: 59

Re: [SOLVED] CDE not starting & other related (and common?) Xorg issues

OK, so I simply removed the exec line from .xinitrc and the phenomenon:
The dthello blue screen flashes by on the display for a brief moment, then falls back to the console with the strange "successful" exit message again.
The output, visible on the console:

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.abled (0

The log:

[ 41116.273] 
X.Org X Server 1.21.1.4
X Protocol Version 11, Revision 0
[ 41116.275] Current Operating System: Linux VirtualBox 5.18.12-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Fri, 15 Jul 2022 15:33:04 +0000 x86_64
[ 41116.275] Kernel command line: BOOT_IMAGE=../vmlinuz-linux-zen root=UUID=8daaa263-73c1-4112-a021-fb984150efdc rw initrd=../initramfs-linux-zen.img
[ 41116.277]  
[ 41116.278] Current version of pixman: 0.40.0
[ 41116.280] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[ 41116.280] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 41116.285] (==) Log file: "/home/nphuracm/.local/share/xorg/Xorg.0.log", Time: Mon Jul 18 20:49:54 2022
[ 41116.286] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 41116.287] (==) No Layout section.  Using the first Screen section.
[ 41116.287] (==) No screen section available. Using defaults.
[ 41116.287] (**) |-->Screen "Default Screen Section" (0)
[ 41116.287] (**) |   |-->Monitor "<default monitor>"
[ 41116.288] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[ 41116.289] (==) Automatically adding devices
[ 41116.289] (==) Automatically enabling devices
[ 41116.289] (==) Automatically adding GPU devices
[ 41116.289] (==) Automatically binding GPU devices
[ 41116.289] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 41116.289] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 41116.289] 	Entry deleted from font path.
[ 41116.289] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 41116.289] 	Entry deleted from font path.
[ 41116.289] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 41116.289] 	Entry deleted from font path.
[ 41116.289] (==) FontPath set to:
	/usr/share/fonts/TTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[ 41116.289] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 41116.289] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 41116.289] (II) Module ABI versions:
[ 41116.289] 	X.Org ANSI C Emulation: 0.4
[ 41116.289] 	X.Org Video Driver: 25.2
[ 41116.289] 	X.Org XInput driver : 24.4
[ 41116.289] 	X.Org Server Extension : 10.0
[ 41116.294] (++) using VT number 1

[ 41116.305] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[ 41116.313] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 41116.313] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[ 41116.320] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 13 paused 0
[ 41116.333] (--) PCI:*(0@0:2:0) 15ad:0405:15ad:0405 rev 0, Mem @ 0xe0000000/33554432, 0xf0000000/2097152, I/O @ 0x0000d010/16, BIOS @ 0x????????/131072
[ 41116.333] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 41116.334] (II) LoadModule: "glx"
[ 41116.335] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 41116.347] (II) Module glx: vendor="X.Org Foundation"
[ 41116.347] 	compiled for 1.21.1.4, module version = 1.0.0
[ 41116.347] 	ABI class: X.Org Server Extension, version 10.0
[ 41116.347] (==) Matched vmware as autoconfigured driver 0
[ 41116.347] (==) Matched modesetting as autoconfigured driver 1
[ 41116.347] (==) Matched fbdev as autoconfigured driver 2
[ 41116.347] (==) Matched vesa as autoconfigured driver 3
[ 41116.347] (==) Assigned the driver to the xf86ConfigLayout
[ 41116.347] (II) LoadModule: "vmware"
[ 41116.349] (II) Loading /usr/lib/xorg/modules/drivers/vmware_drv.so
[ 41116.567] (II) Module vmware: vendor="X.Org Foundation"
[ 41116.568] 	compiled for 1.21.1.1, module version = 13.3.0
[ 41116.568] 	Module class: X.Org Video Driver
[ 41116.568] 	ABI class: X.Org Video Driver, version 25.2
[ 41116.568] (II) LoadModule: "modesetting"
[ 41116.569] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 41116.572] (II) Module modesetting: vendor="X.Org Foundation"
[ 41116.572] 	compiled for 1.21.1.4, module version = 1.21.1
[ 41116.572] 	Module class: X.Org Video Driver
[ 41116.572] 	ABI class: X.Org Video Driver, version 25.2
[ 41116.572] (II) LoadModule: "fbdev"
[ 41116.574] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 41116.574] (II) Module fbdev: vendor="X.Org Foundation"
[ 41116.575] 	compiled for 1.21.1.1, module version = 0.5.0
[ 41116.575] 	Module class: X.Org Video Driver
[ 41116.575] 	ABI class: X.Org Video Driver, version 25.2
[ 41116.575] (II) LoadModule: "vesa"
[ 41116.575] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 41116.576] (II) Module vesa: vendor="X.Org Foundation"
[ 41116.576] 	compiled for 1.21.1.3, module version = 2.5.0
[ 41116.576] 	Module class: X.Org Video Driver
[ 41116.576] 	ABI class: X.Org Video Driver, version 25.2
[ 41116.576] (II) vmware: driver for VMware SVGA: vmware0405, vmware0710
[ 41116.576] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 41116.577] (II) FBDEV: driver for framebuffer: fbdev
[ 41116.577] (II) VESA: driver for VESA chipsets: vesa
[ 41116.577] xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)
[ 41116.577] (WW) Falling back to old probe method for modesetting
[ 41116.577] (WW) Falling back to old probe method for fbdev
[ 41116.577] (II) Loading sub module "fbdevhw"
[ 41116.577] (II) LoadModule: "fbdevhw"
[ 41116.578] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 41116.578] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 41116.579] 	compiled for 1.21.1.4, module version = 0.0.2
[ 41116.579] 	ABI class: X.Org Video Driver, version 25.2
[ 41116.579] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 41116.579] (II) vmware(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[ 41116.579] (--) vmware(0): DRM driver version is 2.20.0
[ 41116.579] (==) vmware(0): Depth 24, (--) framebuffer bpp 32
[ 41116.579] (==) vmware(0): RGB weight 888
[ 41116.579] (==) vmware(0): Default visual is TrueColor
[ 41116.579] (--) vmware(0): Min width 1, Max Width 8192.
[ 41116.580] (--) vmware(0): Min height 1, Max Height 8192.
[ 41116.580] (II) vmware(0): Output Virtual1 has no monitor section
[ 41116.580] (II) vmware(0): Output Virtual2 has no monitor section
[ 41116.580] (II) vmware(0): Output Virtual3 has no monitor section
[ 41116.581] (II) vmware(0): Output Virtual4 has no monitor section
[ 41116.581] (II) vmware(0): Output Virtual5 has no monitor section
[ 41116.581] (II) vmware(0): Output Virtual6 has no monitor section
[ 41116.581] (II) vmware(0): Output Virtual7 has no monitor section
[ 41116.581] (II) vmware(0): Output Virtual8 has no monitor section
[ 41116.581] (II) vmware(0): Printing probed modes for output Virtual1
[ 41116.581] (II) vmware(0): Modeline "800x600"x60.0   42.75  800 850 900 950  600 650 700 750 -hsync +vsync (45.0 kHz eP)
[ 41116.581] (II) vmware(0): Modeline "3840x2160"x60.0  533.00  3840 3888 3920 4000  2160 2163 2168 2222 +hsync -vsync (133.2 kHz e)
[ 41116.581] (II) vmware(0): Modeline "2880x1800"x59.9  337.50  2880 2928 2960 3040  1800 1803 1809 1852 +hsync -vsync (111.0 kHz e)
[ 41116.581] (II) vmware(0): Modeline "2560x1600"x60.0  348.50  2560 2752 3032 3504  1600 1603 1609 1658 -hsync +vsync (99.5 kHz e)
[ 41116.581] (II) vmware(0): Modeline "2560x1440"x60.0  241.50  2560 2608 2640 2720  1440 1443 1448 1481 +hsync -vsync (88.8 kHz e)
[ 41116.581] (II) vmware(0): Modeline "1920x1440"x60.0  234.00  1920 2048 2256 2600  1440 1441 1444 1500 -hsync +vsync (90.0 kHz e)
[ 41116.581] (II) vmware(0): Modeline "1856x1392"x60.0  218.25  1856 1952 2176 2528  1392 1393 1396 1439 -hsync +vsync (86.3 kHz e)
[ 41116.581] (II) vmware(0): Modeline "1792x1344"x60.0  204.75  1792 1920 2120 2448  1344 1345 1348 1394 -hsync +vsync (83.6 kHz e)
[ 41116.581] (II) vmware(0): Modeline "1920x1200"x59.9  193.25  1920 2056 2256 2592  1200 1203 1209 1245 -hsync +vsync (74.6 kHz e)
[ 41116.581] (II) vmware(0): Modeline "1920x1080"x60.0  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync (67.2 kHz e)
[ 41116.581] (II) vmware(0): Modeline "1600x1200"x60.0  162.00  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz e)
[ 41116.581] (II) vmware(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz e)
[ 41116.582] (II) vmware(0): Modeline "1400x1050"x60.0  121.75  1400 1488 1632 1864  1050 1053 1057 1089 -hsync +vsync (65.3 kHz e)
[ 41116.582] (II) vmware(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[ 41116.582] (II) vmware(0): Modeline "1440x900"x59.9  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz e)
[ 41116.582] (II) vmware(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz e)
[ 41116.582] (II) vmware(0): Modeline "1360x768"x60.0   85.50  1360 1424 1536 1792  768 771 777 795 +hsync +vsync (47.7 kHz e)
[ 41116.582] (II) vmware(0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 +hsync -vsync (49.7 kHz e)
[ 41116.582] (II) vmware(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[ 41116.582] (II) vmware(0): Modeline "1280x768"x59.9   79.50  1280 1344 1472 1664  768 771 778 798 -hsync +vsync (47.8 kHz e)
[ 41116.582] (II) vmware(0): Modeline "1280x720"x59.9   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync (44.8 kHz e)
[ 41116.582] (II) vmware(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[ 41116.582] (II) vmware(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[ 41116.582] (II) vmware(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 489 492 525 -hsync -vsync (31.5 kHz e)
[ 41116.582] (II) vmware(0): EDID for output Virtual2
[ 41116.582] (II) vmware(0): EDID for output Virtual3
[ 41116.582] (II) vmware(0): EDID for output Virtual4
[ 41116.582] (II) vmware(0): EDID for output Virtual5
[ 41116.582] (II) vmware(0): EDID for output Virtual6
[ 41116.583] (II) vmware(0): EDID for output Virtual7
[ 41116.583] (II) vmware(0): EDID for output Virtual8
[ 41116.583] (II) vmware(0): Output Virtual1 connected
[ 41116.583] (II) vmware(0): Output Virtual2 disconnected
[ 41116.583] (II) vmware(0): Output Virtual3 disconnected
[ 41116.583] (II) vmware(0): Output Virtual4 disconnected
[ 41116.583] (II) vmware(0): Output Virtual5 disconnected
[ 41116.583] (II) vmware(0): Output Virtual6 disconnected
[ 41116.583] (II) vmware(0): Output Virtual7 disconnected
[ 41116.583] (II) vmware(0): Output Virtual8 disconnected
[ 41116.583] (II) vmware(0): Using exact sizes for initial modes
[ 41116.583] (II) vmware(0): Output Virtual1 using initial mode 800x600 +0+0
[ 41116.583] (==) vmware(0): DPI set to (96, 96)
[ 41116.583] (==) vmware(0): Using gamma correction (1.0, 1.0, 1.0)
[ 41116.583] (II) Loading sub module "fb"
[ 41116.583] (II) LoadModule: "fb"
[ 41116.583] (II) Module "fb" already built-in
[ 41116.583] (II) Loading sub module "dri2"
[ 41116.583] (II) LoadModule: "dri2"
[ 41116.583] (II) Module "dri2" already built-in
[ 41116.583] (II) Loading sub module "dri3"
[ 41116.583] (II) LoadModule: "dri3"
[ 41116.583] (II) Module "dri3" already built-in
[ 41116.584] (II) UnloadModule: "modesetting"
[ 41116.584] (II) Unloading modesetting
[ 41116.585] (II) UnloadModule: "fbdev"
[ 41116.585] (II) Unloading fbdev
[ 41116.585] (II) UnloadSubModule: "fbdevhw"
[ 41116.585] (II) Unloading fbdevhw
[ 41116.585] (II) UnloadModule: "vesa"
[ 41116.586] (II) Unloading vesa
[ 41116.586] (II) vmware(0): Initialized VMWARE_CTRL extension version 0.2
[ 41116.591] (WW) vmware(0): Failed to initialize Gallium3D Xa. No render acceleration available.
[ 41116.591] (WW) vmware(0): Skipped initialization of direct rendering due to lack of render acceleration.
[ 41116.592] (--) vmware(0): Render acceleration is disabled.
[ 41116.592] (==) vmware(0): Rendercheck mode is disabled.
[ 41116.592] (--) vmware(0): Direct rendering (DRI2 3D) is disabled.
[ 41116.592] (--) vmware(0): Direct rendering (DRI3 3D) is disabled.
[ 41116.592] (==) vmware(0): Backing store enabled
[ 41116.592] (==) vmware(0): Silken mouse enabled
[ 41116.596] (==) vmware(0): DPMS enabled
[ 41116.596] (II) vmware(0): No 3D acceleration. Not setting up textured video.
[ 41116.596] (WW) vmware(0): Disabling Xv because no adaptors could be initialized.
[ 41116.596] (II) Initializing extension Generic Event Extension
[ 41116.596] (II) Initializing extension SHAPE
[ 41116.597] (II) Initializing extension MIT-SHM
[ 41116.597] (II) Initializing extension XInputExtension
[ 41116.598] (II) Initializing extension XTEST
[ 41116.598] (II) Initializing extension BIG-REQUESTS
[ 41116.598] (II) Initializing extension SYNC
[ 41116.599] (II) Initializing extension XKEYBOARD
[ 41116.600] (II) Initializing extension XC-MISC
[ 41116.600] (II) Initializing extension SECURITY
[ 41116.600] (II) Initializing extension XFIXES
[ 41116.600] (II) Initializing extension RENDER
[ 41116.601] (II) Initializing extension RANDR
[ 41116.601] (II) Initializing extension COMPOSITE
[ 41116.602] (II) Initializing extension DAMAGE
[ 41116.603] (II) Initializing extension MIT-SCREEN-SAVER
[ 41116.603] (II) Initializing extension DOUBLE-BUFFER
[ 41116.604] (II) Initializing extension RECORD
[ 41116.604] (II) Initializing extension DPMS
[ 41116.604] (II) Initializing extension Present
[ 41116.605] (II) Initializing extension DRI3
[ 41116.605] (II) Initializing extension X-Resource
[ 41116.605] (II) Initializing extension XVideo
[ 41116.605] (II) Initializing extension XVideo-MotionCompensation
[ 41116.605] (II) Initializing extension GLX
[ 41116.606] (II) AIGLX: Screen 0 is not DRI2 capable
[ 41116.660] (II) IGLX: Loaded and initialized swrast
[ 41116.660] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 41116.660] (II) Initializing extension XFree86-VidModeExtension
[ 41116.660] (II) Initializing extension XFree86-DGA
[ 41116.661] (II) Initializing extension XFree86-DRI
[ 41116.661] (II) Initializing extension DRI2
[ 41116.670] (II) vmware(0): Setting screen physical size to 211 x 158
[ 41117.136] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[ 41117.136] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 41117.136] (II) LoadModule: "libinput"
[ 41117.137] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[ 41117.146] (II) Module libinput: vendor="X.Org Foundation"
[ 41117.147] 	compiled for 1.21.1.3, module version = 1.2.1
[ 41117.147] 	Module class: X.Org XInput Driver
[ 41117.147] 	ABI class: X.Org XInput driver, version 24.4
[ 41117.147] (II) Using input driver 'libinput' for 'Power Button'
[ 41117.151] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 21 paused 0
[ 41117.151] (**) Power Button: always reports core events
[ 41117.151] (**) Option "Device" "/dev/input/event0"
[ 41117.166] (II) event0  - Power Button: is tagged by udev as: Keyboard
[ 41117.167] (II) event0  - Power Button: device is a keyboard
[ 41117.167] (II) event0  - Power Button: device removed
[ 41117.167] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input0/event0"
[ 41117.167] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 41117.171] (II) event0  - Power Button: is tagged by udev as: Keyboard
[ 41117.171] (II) event0  - Power Button: device is a keyboard
[ 41117.174] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[ 41117.175] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[ 41117.175] (II) Using input driver 'libinput' for 'Sleep Button'
[ 41117.179] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 24 paused 0
[ 41117.179] (**) Sleep Button: always reports core events
[ 41117.179] (**) Option "Device" "/dev/input/event1"
[ 41117.182] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[ 41117.183] (II) event1  - Sleep Button: device is a keyboard
[ 41117.183] (II) event1  - Sleep Button: device removed
[ 41117.183] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSLPBN:00/input/input1/event1"
[ 41117.183] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 7)
[ 41117.189] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[ 41117.190] (II) event1  - Sleep Button: device is a keyboard
[ 41117.194] (II) config/udev: Adding input device Video Bus (/dev/input/event4)
[ 41117.194] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[ 41117.194] (II) Using input driver 'libinput' for 'Video Bus'
[ 41117.198] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 25 paused 0
[ 41117.198] (**) Video Bus: always reports core events
[ 41117.198] (**) Option "Device" "/dev/input/event4"
[ 41117.202] (II) event4  - Video Bus: is tagged by udev as: Keyboard
[ 41117.204] (II) event4  - Video Bus: device is a keyboard
[ 41117.204] (II) event4  - Video Bus: device removed
[ 41117.204] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/LNXVIDEO:00/input/input5/event4"
[ 41117.204] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[ 41117.211] (II) event4  - Video Bus: is tagged by udev as: Keyboard
[ 41117.211] (II) event4  - Video Bus: device is a keyboard
[ 41117.218] (II) config/udev: Adding input device VirtualBox mouse integration (/dev/input/event5)
[ 41117.218] (**) VirtualBox mouse integration: Applying InputClass "libinput pointer catchall"
[ 41117.218] (II) Using input driver 'libinput' for 'VirtualBox mouse integration'
[ 41117.222] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 26 paused 0
[ 41117.223] (**) VirtualBox mouse integration: always reports core events
[ 41117.223] (**) Option "Device" "/dev/input/event5"
[ 41117.226] (II) event5  - VirtualBox mouse integration: is tagged by udev as: Mouse
[ 41117.226] (II) event5  - VirtualBox mouse integration: device is a pointer
[ 41117.227] (II) event5  - VirtualBox mouse integration: device removed
[ 41117.227] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:04.0/input/input6/event5"
[ 41117.227] (II) XINPUT: Adding extended input device "VirtualBox mouse integration" (type: MOUSE, id 9)
[ 41117.227] (**) Option "AccelerationScheme" "none"
[ 41117.227] (**) VirtualBox mouse integration: (accel) selected scheme none/0
[ 41117.228] (**) VirtualBox mouse integration: (accel) acceleration factor: 2.000
[ 41117.228] (**) VirtualBox mouse integration: (accel) acceleration threshold: 4
[ 41117.230] (II) event5  - VirtualBox mouse integration: is tagged by udev as: Mouse
[ 41117.232] (II) event5  - VirtualBox mouse integration: device is a pointer
[ 41117.235] (II) config/udev: Adding input device VirtualBox mouse integration (/dev/input/js1)
[ 41117.235] (II) No input driver specified, ignoring this device.
[ 41117.235] (II) This device may have been added with another device file.
[ 41117.237] (II) config/udev: Adding input device VirtualBox mouse integration (/dev/input/mouse1)
[ 41117.237] (II) No input driver specified, ignoring this device.
[ 41117.237] (II) This device may have been added with another device file.
[ 41117.242] (II) config/udev: Adding input device VirtualBox USB Tablet (/dev/input/event2)
[ 41117.245] (**) VirtualBox USB Tablet: Applying InputClass "libinput pointer catchall"
[ 41117.245] (II) Using input driver 'libinput' for 'VirtualBox USB Tablet'
[ 41117.300] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 27 paused 0
[ 41117.300] (**) VirtualBox USB Tablet: always reports core events
[ 41117.300] (**) Option "Device" "/dev/input/event2"
[ 41117.307] (II) event2  - VirtualBox USB Tablet: is tagged by udev as: Mouse
[ 41117.308] (II) event2  - VirtualBox USB Tablet: device is a pointer
[ 41117.309] (II) event2  - VirtualBox USB Tablet: device removed
[ 41117.309] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:06.0/usb1/1-1/1-1:1.0/0003:80EE:0021.0001/input/input2/event2"
[ 41117.309] (II) XINPUT: Adding extended input device "VirtualBox USB Tablet" (type: MOUSE, id 10)
[ 41117.309] (**) Option "AccelerationScheme" "none"
[ 41117.309] (**) VirtualBox USB Tablet: (accel) selected scheme none/0
[ 41117.310] (**) VirtualBox USB Tablet: (accel) acceleration factor: 2.000
[ 41117.310] (**) VirtualBox USB Tablet: (accel) acceleration threshold: 4
[ 41117.317] (II) event2  - VirtualBox USB Tablet: is tagged by udev as: Mouse
[ 41117.319] (II) event2  - VirtualBox USB Tablet: device is a pointer
[ 41117.324] (II) config/udev: Adding input device VirtualBox USB Tablet (/dev/input/js0)
[ 41117.324] (II) No input driver specified, ignoring this device.
[ 41117.324] (II) This device may have been added with another device file.
[ 41117.328] (II) config/udev: Adding input device VirtualBox USB Tablet (/dev/input/mouse0)
[ 41117.328] (II) No input driver specified, ignoring this device.
[ 41117.328] (II) This device may have been added with another device file.
[ 41117.330] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event3)
[ 41117.330] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[ 41117.330] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[ 41117.335] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 28 paused 0
[ 41117.335] (**) AT Translated Set 2 keyboard: always reports core events
[ 41117.335] (**) Option "Device" "/dev/input/event3"
[ 41117.339] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[ 41117.340] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[ 41117.341] (II) event3  - AT Translated Set 2 keyboard: device removed
[ 41117.341] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input3/event3"
[ 41117.342] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 11)
[ 41117.347] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[ 41117.348] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[ 41117.355] (II) config/udev: Adding input device ImExPS/2 Generic Explorer Mouse (/dev/input/event7)
[ 41117.355] (**) ImExPS/2 Generic Explorer Mouse: Applying InputClass "libinput pointer catchall"
[ 41117.355] (II) Using input driver 'libinput' for 'ImExPS/2 Generic Explorer Mouse'
[ 41117.358] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 29 paused 0
[ 41117.358] (**) ImExPS/2 Generic Explorer Mouse: always reports core events
[ 41117.358] (**) Option "Device" "/dev/input/event7"
[ 41117.365] (II) event7  - ImExPS/2 Generic Explorer Mouse: is tagged by udev as: Mouse
[ 41117.365] (II) event7  - ImExPS/2 Generic Explorer Mouse: device is a pointer
[ 41117.366] (II) event7  - ImExPS/2 Generic Explorer Mouse: device removed
[ 41117.366] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input8/event7"
[ 41117.366] (II) XINPUT: Adding extended input device "ImExPS/2 Generic Explorer Mouse" (type: MOUSE, id 12)
[ 41117.367] (**) Option "AccelerationScheme" "none"
[ 41117.367] (**) ImExPS/2 Generic Explorer Mouse: (accel) selected scheme none/0
[ 41117.367] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration factor: 2.000
[ 41117.367] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration threshold: 4
[ 41117.372] (II) event7  - ImExPS/2 Generic Explorer Mouse: is tagged by udev as: Mouse
[ 41117.373] (II) event7  - ImExPS/2 Generic Explorer Mouse: device is a pointer
[ 41117.377] (II) config/udev: Adding input device ImExPS/2 Generic Explorer Mouse (/dev/input/mouse2)
[ 41117.378] (II) No input driver specified, ignoring this device.
[ 41117.378] (II) This device may have been added with another device file.
[ 41117.379] (II) config/udev: Adding input device PC Speaker (/dev/input/event6)
[ 41117.379] (II) No input driver specified, ignoring this device.
[ 41117.380] (II) This device may have been added with another device file.
[ 41118.016] (**) Option "fd" "21"
[ 41118.016] (II) event0  - Power Button: device removed
[ 41118.016] (**) Option "fd" "24"
[ 41118.017] (II) event1  - Sleep Button: device removed
[ 41118.017] (**) Option "fd" "25"
[ 41118.017] (II) event4  - Video Bus: device removed
[ 41118.018] (**) Option "fd" "26"
[ 41118.018] (II) event5  - VirtualBox mouse integration: device removed
[ 41118.018] (**) Option "fd" "27"
[ 41118.019] (II) event2  - VirtualBox USB Tablet: device removed
[ 41118.019] (**) Option "fd" "28"
[ 41118.019] (II) event3  - AT Translated Set 2 keyboard: device removed
[ 41118.021] (**) Option "fd" "29"
[ 41118.021] (II) event7  - ImExPS/2 Generic Explorer Mouse: device removed
[ 41118.025] (II) UnloadModule: "libinput"
[ 41118.025] (II) systemd-logind: releasing fd for 13:71
[ 41118.029] (II) UnloadModule: "libinput"
[ 41118.029] (II) systemd-logind: releasing fd for 13:67
[ 41118.032] (II) UnloadModule: "libinput"
[ 41118.032] (II) systemd-logind: releasing fd for 13:66
[ 41118.046] (II) UnloadModule: "libinput"
[ 41118.046] (II) systemd-logind: releasing fd for 13:69
[ 41118.051] (II) UnloadModule: "libinput"
[ 41118.051] (II) systemd-logind: releasing fd for 13:68
[ 41118.056] (II) UnloadModule: "libinput"
[ 41118.056] (II) systemd-logind: releasing fd for 13:65
[ 41118.059] (II) UnloadModule: "libinput"
[ 41118.059] (II) systemd-logind: releasing fd for 13:64
[ 41118.109] (II) Server terminated successfully (0). Closing log file.

startlog:

--- Mon Jul 18 20:49:55 CST 2022
--- /usr/dt/bin/Xsession starting...
/usr/dt/bin/Xsession[191]: hostname: inaccessible or not found
--- Xsession started by xinit
--- setting font path...
--- sourcing /home/nphuracm/.dtprofile...
--- sourcing /usr/dt/config/Xsession.d/0010.dtpaths...
--- sourcing /usr/dt/config/Xsession.d/0020.dtims...
--- sourcing /usr/dt/config/Xsession.d/0030.dttmpdir...
--- sourcing /usr/dt/config/Xsession.d/0060.dtsysenv...
--- could not start /usr/dt/bin/dtsession 
--- could not start /home/nphuracm/.xsession
--- starting /usr/dt/bin/dthello -file /usr/dt/copyright &
--- could not start /usr/dt/bin/dtsearchpath -ksh
--- could not start /usr/dt/bin/ttsession -s
--- could not start /usr/dt/bin/dtdbcache -init
/usr/dt/bin/dthello: display :0 doesn't know font -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*
--- could not start /usr/dt/bin/dtappgather &
--- execing /home/nphuracm/.xinitrc...
not execing /home/nphuracm/.profile (see /home/nphuracm/.dtprofile)
could not start /usr/dt/bin/dtdbcache -init

EDIT: Before the blue screen disappears, the cursor changes into a cross for a frame or two

Last edited by nphuracm (2022-07-18 14:18:41)

Offline

#10 2022-07-18 14:22:08

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: [SOLVED] CDE not starting & other related (and common?) Xorg issues

Try to have "exec xterm" at the tail of ~/.xinitrc (and make sure to have xterm installed)

could not start /usr/dt/bin/dtsession

stat /usr/dt/bin/dtsession

All that "could not start" sounds a lot like those executables aren't there?

Offline

#11 2022-07-18 14:31:01

nphuracm
Member
From: China
Registered: 2022-07-16
Posts: 59

Re: [SOLVED] CDE not starting & other related (and common?) Xorg issues

Alright, and:
No WM or desktop showed up. It's just the blue screen and the xterm window - without anything else, just the black border and the terminal - and my cursor.
the stat command, yes, complained that dtsession does not exist.

EDIT: After a while the blue screen disappears and the cursor becomes a cross when outside the xterm window.
I also searched the whole rootfs with

tree / | less

only to find that there really isn't a 'dtsession' binary on my disk. All of the 'dtsession' instances I find were from the source tree.
Conclusion: the cdesktopenv build, and the package, might be incomplete. sad

Last edited by nphuracm (2022-07-18 14:38:21)

Offline

#12 2022-07-18 14:40:42

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: [SOLVED] CDE not starting & other related (and common?) Xorg issues

Conclusion: the cdesktopenv build, and the package, might be incomplete.

Yes. I'd pay close attention to the makepkg output.

Offline

#13 2022-07-18 14:43:38

nphuracm
Member
From: China
Registered: 2022-07-16
Posts: 59

Re: [SOLVED] CDE not starting & other related (and common?) Xorg issues

seth wrote:

Conclusion: the cdesktopenv build, and the package, might be incomplete.

Yes. I'd pay close attention to the makepkg output.

It doesn't seem like makepkg pours messages to stdout. Since it would be difficult to upload images/videos here, how do I capture stderr output?

Offline

#14 2022-07-18 14:47:59

nphuracm
Member
From: China
Registered: 2022-07-16
Posts: 59

Re: [SOLVED] CDE not starting & other related (and common?) Xorg issues

nphuracm wrote:
seth wrote:

Conclusion: the cdesktopenv build, and the package, might be incomplete.

Yes. I'd pay close attention to the makepkg output.

It doesn't seem like makepkg pours messages to stdout. Since it would be difficult to upload images/videos here, how do I capture stderr output?
I'm not sure if the Arch forum allows posts that are megs long. Just 6 minutes or so and the log file hit a meg.

Last edited by nphuracm (2022-07-18 14:57:46)

Offline

#15 2022-07-18 14:58:58

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: [SOLVED] CDE not starting & other related (and common?) Xorg issues

makepkg > /tmp/makepkg.log 2>&1

and the first link below, however *you* are going to look at it first.

Offline

#16 2022-07-18 16:32:18

nphuracm
Member
From: China
Registered: 2022-07-16
Posts: 59

Re: [SOLVED] CDE not starting & other related (and common?) Xorg issues

Makepkg log here.
X server terminates along with xterm exit.
startlog:

--- Tue Jul 19 00:29:34 CST 2022
--- /usr/dt/bin/Xsession starting...
/usr/dt/bin/Xsession[191]: hostname: inaccessible or not found
--- Xsession started by xinit
--- setting font path...
--- sourcing /home/nphuracm/.dtprofile...
--- sourcing /usr/dt/config/Xsession.d/0010.dtpaths...
--- sourcing /usr/dt/config/Xsession.d/0020.dtims...
--- sourcing /usr/dt/config/Xsession.d/0030.dttmpdir...
--- sourcing /usr/dt/config/Xsession.d/0060.dtsysenv...
--- could not start /usr/dt/bin/dtsession 
--- could not start /home/nphuracm/.xsession
--- starting /usr/dt/bin/dthello -file /usr/dt/copyright &
--- could not start /usr/dt/bin/dtsearchpath -ksh
--- could not start /usr/dt/bin/ttsession -s
--- could not start /usr/dt/bin/dtdbcache -init
--- could not start /usr/dt/bin/dtappgather &
--- execing /home/nphuracm/.xinitrc...
/usr/dt/bin/dthello: display :0 doesn't know font -dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*
not execing /home/nphuracm/.profile (see /home/nphuracm/.dtprofile)
could not start /usr/dt/bin/dtdbcache -init

Maybe I need to fall back to an older gcc like gcc9. I don't think simply 'fixing' the source files according to the error output could help. Or maybe I even need to modify the PKGBUILD to get CDE 2.4.0 code and makepkg again.

Last edited by nphuracm (2022-07-18 16:34:46)

Offline

#17 2022-07-18 21:22:47

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: [SOLVED] CDE not starting & other related (and common?) Xorg issues

One massive issue is

ar: libdeps specified more than once

See eg. https://github.com/afterstep/afterstep/issues/3 - you could contact the AUR maintainer to add a patch and upstream to fix it.

Offline

#18 2022-07-18 23:24:10

nphuracm
Member
From: China
Registered: 2022-07-16
Posts: 59

Re: [SOLVED] CDE not starting & other related (and common?) Xorg issues

What about the GCC errors then? Are they occurring because failures in 'ar' commands led to some definitions being voided?
-
I have decided to use the "ar cq" method as a temporary workaround. But I had to replace the "AR" definition in tons of Makefiles that scatter everywhere in a super complex directory tree. Is there a way for me to do it quickly? 'sed' doesn't seem to work. Note: I did so manually with the bruteforce method.
I packaged the modified Makefiles and edited the PKGBUILD so that it could be released into the source tree right before build. However things got worse.
CURRENT PKGBUILD:

# Maintainer: Frederic Bezies <fredbezies at gmail dot com>
# Submitter: Ecmel Ercan <ecmel dot ercan at gmail dot com>
# Contributor: Vain <aurmaint1 on host: uninformativ dot de>
# Contributor: BlindPenguin <ferdinand holzner at gmail dot com>
# Thanks goes to yjftsjthsd for https://aur.archlinux.org/packages/cdesktopenv-git/ PKGBUILD.
# Last modified by nphuracm
#
pkgname=cdesktopenv
pkgver=2.3.2
pkgrel=1
pkgdesc="CDE - Common Desktop Environment"
url="http://sourceforge.net/projects/cdesktopenv/"
arch=('i686' 'x86_64') # Some parts of CDE are not stable on x86_64 yet.
license=('LGPL2.1')
options=(!strip !zipman)
install="cdesktopenv.install"
depends=(openmotif xbitmaps rpcbind mksh ncurses libxss libxinerama)
makedepends=(tcl ncompress bison)
optdepends=('xorg-fonts-100dpi: additional fonts'
            'cups: for printing support'
            'xinetd: for rpc services')
backup=('etc/dt/config/xfonts/C/fonts.alias')
source=("https://downloads.sourceforge.net/$pkgname/cde-$pkgver.tar.gz"
	'cdesktopenv.install'
        'dtlogin.service'
        'fonts.alias'
        'fonts.dir'
        'cde.desktop'
	'startxsession.sh')

md5sums=('c093f3239a9c9462d96f19f5ad85f1e3'
         '66ff27b4c6b7c5fda4e2db69f829e4aa'
         '18f9ef4643ff7ed6637907f5cbdabecf'
         '5cc80c2851ea90b94e94b0c5d92d81fb'
         '897316929176464ebc9ad085f31e7284'
         '7d11b9d2bc1234278f14151025744916'
         '2e5557241915e4c2761ba136dbcba469')

build() {
  cd "$srcdir/cde-$pkgver/"

  cat >> config/cf/site.def <<EOF
#define KornShell /bin/mksh
#define CppCmd cpp
#define YaccCmd bison -y
#define HasTIRPCLib YES
#define HasZlib YES
#define DtLocalesToBuild
EOF
  tar zxvf $srcdir/cde-$pkgver/makefiles_fixed.tgz
  (
     export LANG=C
     export LC_ALL=C
     export IMAKECPP=cpp
     make -j$(nproc) World
  )  

  sed -e "s:mkProd -D :&$pkgdir:" -i admin/IntegTools/dbTools/installCDE
}

package() {
  cd "$srcdir/cde-$pkgver/admin/IntegTools/dbTools/"

  (
    export LANG=C
    export LC_ALL=C
    export INSTALL_LOCATION="$pkgdir/usr/dt"
    export LOGFILES_LOCATION="$pkgdir/var/dt"
    export CONFIGURE_LOCATION="$pkgdir/etc/dt"
    ./installCDE -s "$srcdir/cde-$pkgver" -destdir "$pkgdir"
  )

  cd "$pkgdir/var/dt/"
  chmod 755 .
  chown bin .
  chgrp bin .
  mkdir -p appconfig/appmanager
  mkdir -p tmp
  chmod -R 755 *
  chown -R bin *
  chgrp -R bin *

  cd "$pkgdir/etc/dt/"
  chmod 755 .
  mkdir -p appconfig/appmanager/C
  mkdir -p appconfig/help/C
  mkdir -p appconfig/icons/C
  mkdir -p appconfig/types/C
  mkdir -p config/Xsession.d
  mkdir -p config/xfonts/C
  chmod -R 755 *

  #Adding Calendar (see wiki -> https://sourceforge.net/p/cdesktopenv/wiki/LinuxBuild/#installing)
  mkdir -p $pkgdir/var/spool/calendar

  chmod a+x $srcdir/startxsession.sh
  install -m644 "$srcdir"/fonts.{alias,dir} "$pkgdir/etc/dt/config/xfonts/C/"
  
  install -Dm644 "$srcdir/cde.desktop" \
                 "$pkgdir/usr/share/xsessions/cde.desktop"
  install -Dm644 "$srcdir/dtlogin.service" \
                 "$pkgdir/usr/lib/systemd/system/dtlogin.service" 
  install -Dm755 "$srcdir/cde-$pkgver/contrib/rc/linux/dtlogin" \
                 "$pkgdir/etc/rc.d/dtlogin"

  install -dm755 "$pkgdir/usr/spool"
  install -Dm644 "$srcdir/cde-$pkgver/contrib/xinetd/cmsd" \
                 "$pkgdir/etc/xinetd.d/cmsd"
  install -Dm644 "$srcdir/cde-$pkgver/contrib/xinetd/ttdbserver" \
                 "$pkgdir/etc/xinetd.d/ttdbserver"
  install -Dm644 "$srcdir/startxsession.sh" \
		 "$pkgdir/usr/bin/startxsession.sh"
}

makepkg log:

==> Making package: cdesktopenv 2.3.2-1 (Tue 19 Jul 2022 11:22:55 AM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found cde-2.3.2.tar.gz
  -> Found cdesktopenv.install
  -> Found dtlogin.service
  -> Found fonts.alias
  -> Found fonts.dir
  -> Found cde.desktop
  -> Found startxsession.sh
==> Validating source files with md5sums...
    cde-2.3.2.tar.gz ... Passed
    cdesktopenv.install ... Passed
    dtlogin.service ... Passed
    fonts.alias ... Passed
    fonts.dir ... Passed
    cde.desktop ... Passed
    startxsession.sh ... Passed
==> Extracting sources...
  -> Extracting cde-2.3.2.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
./config/Makefile
./config/cf/Makefile
./config/util/Makefile
./config/imake/Makefile
./admin/Makefile
./admin/IntegTools/updateTools/Makefile
./admin/IntegTools/Makefile
./admin/IntegTools/post_install/Makefile
./admin/IntegTools/post_install/linux/Makefile
./admin/IntegTools/dbTools/Makefile
./Makefile
./doc/Makefile
./doc/util/Makefile
./doc/util/dbtoman/Makefile
./doc/util/dbtoman/instant/Makefile
./doc/C/guides/Makefile
./doc/C/m-guides/Makefile
./doc/C/Makefile
./doc/C/man/Makefile
./doc/C/help/Makefile
./util/Makefile
./util/scripts/Makefile
./programs/dthello/Makefile
./programs/dtappintegrate/Makefile
./programs/dtopen/Makefile
./programs/dtprintegrate/Makefile
./programs/Makefile
./programs/dtprintinfo/Makefile
./programs/dtprintinfo/libUI/Makefile
./programs/dtprintinfo/libUI/MotifUI/Makefile
./programs/dtprintinfo/util/Makefile
./programs/dtprintinfo/objects/Makefile
./programs/dtprintinfo/objects/PrintObj/Makefile
./programs/dtprintinfo/UI/Makefile
./programs/dtcalc/Makefile
./programs/util/Makefile
./programs/util/dttypes/Makefile
./programs/ttsnoop/Makefile
./programs/dtterm/Makefile
./programs/dtterm/util/Makefile
./programs/dtudcfonted/dtlsgpf/Makefile
./programs/dtudcfonted/dtcpgpf/Makefile
./programs/dtudcfonted/Makefile
./programs/dtudcfonted/dtgpftobdf/Makefile
./programs/dtudcfonted/dtgpftocpf/Makefile
./programs/dtudcfonted/libfal/Makefile
./programs/dtudcfonted/dtcpftogpf/Makefile
./programs/dtudcfonted/dtcpftobdf/Makefile
./programs/dtudcfonted/libfuty/Makefile
./programs/dtudcfonted/dtaddcpf/Makefile
./programs/dtudcfonted/dtbdftocpf/Makefile
./programs/nsgmls/Makefile
./programs/localized/Makefile
./programs/localized/util/Makefile
./programs/localized/C/app-defaults/Makefile
./programs/localized/C/config/Makefile
./programs/localized/C/msg/Makefile
./programs/localized/C/Makefile
./programs/localized/C/palettes/Makefile
./programs/localized/C/types/Makefile
./programs/localized/C/backdrops/Makefile
./programs/dtksh/Makefile
./programs/dtksh/ksh93/Makefile
./programs/dtksh/ksh93/src/cmd/Makefile
./programs/dtksh/ksh93/src/cmd/ksh93/Makefile
./programs/dtksh/ksh93/src/cmd/pax/Makefile
./programs/dtksh/ksh93/src/Makefile
./programs/dtksh/ksh93/src/lib/libAST/Makefile
./programs/dtksh/ksh93/src/lib/Makefile
./programs/dtksh/ksh93/src/lib/libodelta/Makefile
./programs/dtksh/ksh93/src/lib/libast/Makefile
./programs/dtksh/ksh93/src/lib/libcmd/Makefile
./programs/dtksh/ksh93/src/lib/libvdelta/Makefile
./programs/dtksh/ksh93/src/lib/lib0ast/Makefile
./programs/dtksh/examples/Makefile
./programs/dtconfig/sun/Makefile
./programs/dtconfig/Makefile
./programs/dtconfig/hp/Makefile
./programs/dtconfig/ibm/Makefile
./programs/dticon/Makefile
./programs/dtaction/Makefile
./programs/dtudcexch/Makefile
./programs/dtspcd/Makefile
./programs/dtlogin/config/Makefile
./programs/dtlogin/Makefile
./programs/dsdm/Makefile
./programs/dtstyle/Makefile
./programs/fontaliases/Makefile
./programs/fontaliases/linux/Makefile
./programs/fontaliases/linux/en_US.UTF-8/Makefile
./programs/fontaliases/linux/C/Makefile
./programs/dtfile/Makefile
./programs/dtfile/dtcopy/Makefile
./programs/dtpad/Makefile
./programs/dtimsstart/Makefile
./programs/dtwm/Makefile
./programs/dthelp/dthelpdemo/Makefile
./programs/dthelp/dthelpdemo/help/Makefile
./programs/dthelp/dthelpview/Makefile
./programs/dthelp/parser/pass2/parser/Makefile
./programs/dthelp/parser/pass2/Makefile
./programs/dthelp/parser/pass2/build/Makefile
./programs/dthelp/parser/pass2/util/Makefile
./programs/dthelp/parser/pass2/eltdef/Makefile
./programs/dthelp/parser/pass2/htag2/Makefile
./programs/dthelp/parser/Makefile
./programs/dthelp/parser/helptag/Makefile
./programs/dthelp/parser/canon1/parser/Makefile
./programs/dthelp/parser/canon1/Makefile
./programs/dthelp/parser/canon1/build/Makefile
./programs/dthelp/parser/canon1/helptag/Makefile
./programs/dthelp/parser/canon1/util/Makefile
./programs/dthelp/parser/canon1/eltdef/Makefile
./programs/dthelp/parser/dtds/Makefile
./programs/dthelp/parser/misc/Makefile
./programs/dthelp/parser/pass1/parser/Makefile
./programs/dthelp/parser/pass1/Makefile
./programs/dthelp/parser/pass1/build/Makefile
./programs/dthelp/parser/pass1/helptag/Makefile
./programs/dthelp/parser/pass1/util/Makefile
./programs/dthelp/parser/pass1/eltdef/Makefile
./programs/dthelp/Makefile
./programs/dthelp/dthelpprint/Makefile
./programs/dthelp/dthelpgen/Makefile
./programs/dthelp/help4help/Makefile
./programs/types/Makefile
./programs/dtdocbook/doc2sdl/Makefile
./programs/dtdocbook/doc2sdl/SGML/Makefile
./programs/dtdocbook/xlate_locale/Makefile
./programs/dtdocbook/Makefile
./programs/dtdocbook/instant/Makefile
./programs/dtdocbook/lib/Makefile
./programs/dtdocbook/lib/tptregexp/Makefile
./programs/dtappbuilder/Makefile
./programs/dtappbuilder/src/abmf/Makefile
./programs/dtappbuilder/src/Makefile
./programs/dtappbuilder/src/libAButil/Makefile
./programs/dtappbuilder/src/ab/Makefile
./programs/dtappbuilder/src/libABobjXm/Makefile
./programs/dtappbuilder/src/libABil/Makefile
./programs/dtappbuilder/src/libABobj/Makefile
./programs/dtpdmd/Makefile
./programs/dtcm/server/Makefile
./programs/dtcm/libDtCmP/Makefile
./programs/dtcm/Makefile
./programs/dtcm/dtcm/Makefile
./programs/dtmail/Makefile
./programs/dtmail/dtmail/Makefile
./programs/dtmail/MotifApp/Makefile
./programs/dtmail/dtmailpr/Makefile
./programs/dtmail/libDtMail/Makefile
./programs/dtmail/libDtMail/RFC/Makefile
./programs/dtmail/libDtMail/Common/Makefile
./programs/dtsearchpath/dtappg/Makefile
./programs/dtsearchpath/dtsp/Makefile
./programs/dtsearchpath/Makefile
./programs/dtsearchpath/libCliSrv/Makefile
./programs/dtscreen/Makefile
./programs/dtexec/Makefile
./programs/dtsession/Makefile
./programs/tttypes/Makefile
./programs/dtpdm/Makefile
./programs/dtcreate/Makefile
./programs/dtdbcache/Makefile
./programs/dtdspmsg/Makefile
./programs/dtinfo/Makefile
./programs/dtinfo/clients/Makefile
./programs/dtinfo/clients/dtinfo_start/Makefile
./programs/dtinfo/DtMmdb/Makefile
./programs/dtinfo/DtMmdb/hmphf/Makefile
./programs/dtinfo/DtMmdb/dstr/Makefile
./programs/dtinfo/DtMmdb/utility/Makefile
./programs/dtinfo/DtMmdb/btree/Makefile
./programs/dtinfo/DtMmdb/diskhash/Makefile
./programs/dtinfo/DtMmdb/schema/Makefile
./programs/dtinfo/DtMmdb/misc/Makefile
./programs/dtinfo/DtMmdb/dynhash/Makefile
./programs/dtinfo/DtMmdb/dti_excs/Makefile
./programs/dtinfo/DtMmdb/mgrs/Makefile
./programs/dtinfo/DtMmdb/index/Makefile
./programs/dtinfo/DtMmdb/api/Makefile
./programs/dtinfo/DtMmdb/btree_berkeley/Makefile
./programs/dtinfo/DtMmdb/compression/Makefile
./programs/dtinfo/DtMmdb/object/Makefile
./programs/dtinfo/DtMmdb/oliasdb/Makefile
./programs/dtinfo/DtMmdb/storage/Makefile
./programs/dtinfo/dtinfogen/install/Makefile
./programs/dtinfo/dtinfogen/infolib/ja_JP.EUC-JP/Makefile
./programs/dtinfo/dtinfogen/infolib/ja_JP.EUC-JP/SGML/Makefile
./programs/dtinfo/dtinfogen/infolib/Makefile
./programs/dtinfo/dtinfogen/infolib/C.ISO-8859-1/Makefile
./programs/dtinfo/dtinfogen/infolib/C.ISO-8859-1/SGML/Makefile
./programs/dtinfo/dtinfogen/infolib/etc/Makefile
./programs/dtinfo/dtinfogen/Makefile
./programs/dtinfo/dtinfogen/mmdb/Makefile
./programs/dtinfo/dtinfogen/mmdb/src/Makefile
./programs/dtinfo/dtinfogen/mmdb/StyleSheet/Makefile
./programs/dtinfo/mmdb/HardCopy/Makefile
./programs/dtinfo/mmdb/Makefile
./programs/dtinfo/mmdb/hmphf/Makefile
./programs/dtinfo/mmdb/dti_cc/Makefile
./programs/dtinfo/mmdb/dstr/Makefile
./programs/dtinfo/mmdb/utility/Makefile
./programs/dtinfo/mmdb/btree/Makefile
./programs/dtinfo/mmdb/diskhash/Makefile
./programs/dtinfo/mmdb/schema/Makefile
./programs/dtinfo/mmdb/misc/Makefile
./programs/dtinfo/mmdb/dynhash/Makefile
./programs/dtinfo/mmdb/dti_excs/Makefile
./programs/dtinfo/mmdb/mgrs/Makefile
./programs/dtinfo/mmdb/index/Makefile
./programs/dtinfo/mmdb/api/Makefile
./programs/dtinfo/mmdb/btree_berkeley/Makefile
./programs/dtinfo/mmdb/compression/Makefile
./programs/dtinfo/mmdb/StyleSheet/Makefile
./programs/dtinfo/mmdb/object/Makefile
./programs/dtinfo/mmdb/oliasdb/Makefile
./programs/dtinfo/mmdb/storage/Makefile
./programs/dtinfo/tools/Makefile
./programs/dtinfo/tools/misc/Makefile
./programs/dtinfo/dtinfo/install/Makefile
./programs/dtinfo/dtinfo/install/lib/Makefile
./programs/dtinfo/dtinfo/install/lib/bitmaps/Makefile
./programs/dtinfo/dtinfo/install/lib/fonts/Makefile
./programs/dtinfo/dtinfo/wwl/Makefile
./programs/dtinfo/dtinfo/wwl/src/Makefile
./programs/dtinfo/dtinfo/Makefile
./programs/dtinfo/dtinfo/src/Query/Makefile
./programs/dtinfo/dtinfo/src/Graphics/Makefile
./programs/dtinfo/dtinfo/src/Messages/Makefile
./programs/dtinfo/dtinfo/src/Support/Makefile
./programs/dtinfo/dtinfo/src/Makefile
./programs/dtinfo/dtinfo/src/OnlineRender/Makefile
./programs/dtinfo/dtinfo/src/UAS/Makefile
./programs/dtinfo/dtinfo/src/UAS/DtSR/Makefile
./programs/dtinfo/dtinfo/src/UAS/MMDB/Makefile
./programs/dtinfo/dtinfo/src/UAS/Base/Makefile
./programs/dtinfo/dtinfo/src/Marks/Makefile
./programs/dtinfo/dtinfo/src/Preferences/Makefile
./programs/dtinfo/dtinfo/src/Other/Makefile
./programs/dtinfo/dtinfo/src/Basic/Makefile
./programs/dtinfo/dtinfo/src/Widgets/Makefile
./programs/dtinfo/dtinfo/src/cgm/Makefile
./programs/dtinfo/dtinfo/src/OliasSearch/Makefile
./programs/dtinfo/dtinfo/src/Managers/Makefile
./programs/dtinfo/dtinfo/src/Agents/Makefile
./programs/dtsr/Makefile
./logs/Makefile
./lib/DtSvc/Makefile
./lib/DtSvc/DtXpm/Makefile
./lib/DtSvc/DtUtil2/Makefile
./lib/DtSvc/DtEncap/Makefile
./lib/DtSvc/DtUtil1/Makefile
./lib/DtSvc/include/codelibs/Makefile
./lib/DtSvc/include/Makefile
./lib/DtSvc/include/SPC/Makefile
./lib/DtSvc/include/bms/Makefile
./lib/DtSvc/DtCodelibs/Makefile
./lib/Makefile
./lib/DtPrint/Makefile
./lib/tt/mini_isam/Makefile
./lib/tt/Makefile
./lib/tt/demo/edit_demo/Makefile
./lib/tt/demo/ttsample/Makefile
./lib/tt/slib/Makefile
./lib/tt/bin/shell/Makefile
./lib/tt/bin/Makefile
./lib/tt/bin/dbck/Makefile
./lib/tt/bin/ttsession/Makefile
./lib/tt/bin/tttar/Makefile
./lib/tt/bin/ttdbserverd/Makefile
./lib/tt/bin/scripts/Makefile
./lib/tt/bin/ttauth/Makefile
./lib/tt/bin/tt_type_comp/Makefile
./lib/tt/bin/tttrace/Makefile
./lib/tt/lib/db/Makefile
./lib/tt/lib/Makefile
./lib/tt/lib/util/Makefile
./lib/tt/lib/tttk/Makefile
./lib/tt/lib/mp/Makefile
./lib/tt/lib/api/Makefile
./lib/tt/lib/api/c/Makefile
./lib/tt/lib/api/dnd/Makefile
./lib/DtMrm/Makefile
./lib/csa/Makefile
./lib/DtWidget/Makefile
./lib/DtXinerama/Makefile
./lib/DtTerm/Term/Makefile
./lib/DtTerm/Makefile
./lib/DtTerm/TermView/Makefile
./lib/DtTerm/TermPrim/Makefile
./lib/DtHelp/Makefile
./lib/DtHelp/il/Makefile
./lib/DtSearch/Makefile
./lib/DtSearch/raima/Makefile
./databases/Makefile
./include/Makefile
./include/Xm/Makefile

Building Release 2.3.2 of CDE

I hope you checked the configuration parameters in ./config/cf
to see if you need to pass BOOTSTRAPCFLAGS.

Tue Jul 19 11:23:23 CST 2022

cd ./config/imake && make -j2 --jobserver-auth=3,4 -f Makefile.ini BOOTSTRAPCFLAGS="" clean
make[1]: warning: -j2 forced in submake: resetting jobserver mode.
make[1]: Entering directory '/home/nphuracm/cdesktopenv/src/cde-2.3.2/config/imake'
rm -f ccimake imake.o imake
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a tags TAGS make.log \#*
rm -f -r Makefile.proto Makefile Makefile.dep bootstrap .depend
make[1]: Leaving directory '/home/nphuracm/cdesktopenv/src/cde-2.3.2/config/imake'
make -j2 --jobserver-auth=3,4 Makefile.boot
make[1]: warning: -j2 forced in submake: resetting jobserver mode.
make[1]: Entering directory '/home/nphuracm/cdesktopenv/src/cde-2.3.2'
cd ./config/imake && make -w -j2 --jobserver-auth=5,6 -f Makefile.ini BOOTSTRAPCFLAGS=""
cd ./config/makedepend && rm -f -r Makefile Makefile.dep makedepend *.o bootstrap
cd ./config/makedepend && make -f Makefile.proto bootstrap
make[2]: Entering directory '/home/nphuracm/cdesktopenv/src/cde-2.3.2/config/imake'
make[2]: warning: -j2 forced in submake: resetting jobserver mode.
making imake with BOOTSTRAPCFLAGS= in config/imake
cc -o ccimake  -O -I../../include -I/usr/local/include/X11 -I/usr/include/X11 -I/usr/X11R6/include/X11 -I/usr/X11R7/include/X11 ccimake.c
make[2]: Entering directory '/home/nphuracm/cdesktopenv/src/cde-2.3.2/config/makedepend'
make[2]: Nothing to be done for 'bootstrap'.
make[2]: Leaving directory '/home/nphuracm/cdesktopenv/src/cde-2.3.2/config/makedepend'
./config/imake/imake -I./config/cf  -s ./config/imake/Makefile.proto -f ./config/imake/Imakefile -DTOPDIR=../.. -DCURDIR=./config/imake
make[1]: ./config/imake/imake: No such file or directory
make[1]: *** [Makefile:143: config/imake/Makefile.proto] Error 127
make[1]: *** Waiting for unfinished jobs....
cc -c  -O -I../../include -I/usr/local/include/X11 -I/usr/include/X11 -I/usr/X11R6/include/X11 -I/usr/X11R7/include/X11 `./ccimake` imake.c
cc -o imake imake.o
make[2]: Leaving directory '/home/nphuracm/cdesktopenv/src/cde-2.3.2/config/imake'
rm -f ./config/makedepend/Makefile.proto ./config/makedepend/.depend
make[1]: Leaving directory '/home/nphuracm/cdesktopenv/src/cde-2.3.2'
make: *** [Makefile:51: World] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> Making package: cdesktopenv 2.3.2-1 (Tue 19 Jul 2022 11:24:21 AM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found cde-2.3.2.tar.gz
  -> Found cdesktopenv.install
  -> Found dtlogin.service
  -> Found fonts.alias
  -> Found fonts.dir
  -> Found cde.desktop
  -> Found startxsession.sh
==> Validating source files with md5sums...
    cde-2.3.2.tar.gz ... Passed
    cdesktopenv.install ... Passed
    dtlogin.service ... Passed
    fonts.alias ... Passed
    fonts.dir ... Passed
    cde.desktop ... Passed
    startxsession.sh ... Passed
==> Extracting sources...
  -> Extracting cde-2.3.2.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
./config/Makefile
./config/cf/Makefile
./config/util/Makefile
./config/imake/Makefile
./admin/Makefile
./admin/IntegTools/updateTools/Makefile
./admin/IntegTools/Makefile
./admin/IntegTools/post_install/Makefile
./admin/IntegTools/post_install/linux/Makefile
./admin/IntegTools/dbTools/Makefile
./Makefile
./doc/Makefile
./doc/util/Makefile
./doc/util/dbtoman/Makefile
./doc/util/dbtoman/instant/Makefile
./doc/C/guides/Makefile
./doc/C/m-guides/Makefile
./doc/C/Makefile
./doc/C/man/Makefile
./doc/C/help/Makefile
./util/Makefile
./util/scripts/Makefile
./programs/dthello/Makefile
./programs/dtappintegrate/Makefile
./programs/dtopen/Makefile
./programs/dtprintegrate/Makefile
./programs/Makefile
./programs/dtprintinfo/Makefile
./programs/dtprintinfo/libUI/Makefile
./programs/dtprintinfo/libUI/MotifUI/Makefile
./programs/dtprintinfo/util/Makefile
./programs/dtprintinfo/objects/Makefile
./programs/dtprintinfo/objects/PrintObj/Makefile
./programs/dtprintinfo/UI/Makefile
./programs/dtcalc/Makefile
./programs/util/Makefile
./programs/util/dttypes/Makefile
./programs/ttsnoop/Makefile
./programs/dtterm/Makefile
./programs/dtterm/util/Makefile
./programs/dtudcfonted/dtlsgpf/Makefile
./programs/dtudcfonted/dtcpgpf/Makefile
./programs/dtudcfonted/Makefile
./programs/dtudcfonted/dtgpftobdf/Makefile
./programs/dtudcfonted/dtgpftocpf/Makefile
./programs/dtudcfonted/libfal/Makefile
./programs/dtudcfonted/dtcpftogpf/Makefile
./programs/dtudcfonted/dtcpftobdf/Makefile
./programs/dtudcfonted/libfuty/Makefile
./programs/dtudcfonted/dtaddcpf/Makefile
./programs/dtudcfonted/dtbdftocpf/Makefile
./programs/nsgmls/Makefile
./programs/localized/Makefile
./programs/localized/util/Makefile
./programs/localized/C/app-defaults/Makefile
./programs/localized/C/config/Makefile
./programs/localized/C/msg/Makefile
./programs/localized/C/Makefile
./programs/localized/C/palettes/Makefile
./programs/localized/C/types/Makefile
./programs/localized/C/backdrops/Makefile
./programs/dtksh/Makefile
./programs/dtksh/ksh93/Makefile
./programs/dtksh/ksh93/src/cmd/Makefile
./programs/dtksh/ksh93/src/cmd/ksh93/Makefile
./programs/dtksh/ksh93/src/cmd/pax/Makefile
./programs/dtksh/ksh93/src/Makefile
./programs/dtksh/ksh93/src/lib/libAST/Makefile
./programs/dtksh/ksh93/src/lib/Makefile
./programs/dtksh/ksh93/src/lib/libodelta/Makefile
./programs/dtksh/ksh93/src/lib/libast/Makefile
./programs/dtksh/ksh93/src/lib/libcmd/Makefile
./programs/dtksh/ksh93/src/lib/libvdelta/Makefile
./programs/dtksh/ksh93/src/lib/lib0ast/Makefile
./programs/dtksh/examples/Makefile
./programs/dtconfig/sun/Makefile
./programs/dtconfig/Makefile
./programs/dtconfig/hp/Makefile
./programs/dtconfig/ibm/Makefile
./programs/dticon/Makefile
./programs/dtaction/Makefile
./programs/dtudcexch/Makefile
./programs/dtspcd/Makefile
./programs/dtlogin/config/Makefile
./programs/dtlogin/Makefile
./programs/dsdm/Makefile
./programs/dtstyle/Makefile
./programs/fontaliases/Makefile
./programs/fontaliases/linux/Makefile
./programs/fontaliases/linux/en_US.UTF-8/Makefile
./programs/fontaliases/linux/C/Makefile
./programs/dtfile/Makefile
./programs/dtfile/dtcopy/Makefile
./programs/dtpad/Makefile
./programs/dtimsstart/Makefile
./programs/dtwm/Makefile
./programs/dthelp/dthelpdemo/Makefile
./programs/dthelp/dthelpdemo/help/Makefile
./programs/dthelp/dthelpview/Makefile
./programs/dthelp/parser/pass2/parser/Makefile
./programs/dthelp/parser/pass2/Makefile
./programs/dthelp/parser/pass2/build/Makefile
./programs/dthelp/parser/pass2/util/Makefile
./programs/dthelp/parser/pass2/eltdef/Makefile
./programs/dthelp/parser/pass2/htag2/Makefile
./programs/dthelp/parser/Makefile
./programs/dthelp/parser/helptag/Makefile
./programs/dthelp/parser/canon1/parser/Makefile
./programs/dthelp/parser/canon1/Makefile
./programs/dthelp/parser/canon1/build/Makefile
./programs/dthelp/parser/canon1/helptag/Makefile
./programs/dthelp/parser/canon1/util/Makefile
./programs/dthelp/parser/canon1/eltdef/Makefile
./programs/dthelp/parser/dtds/Makefile
./programs/dthelp/parser/misc/Makefile
./programs/dthelp/parser/pass1/parser/Makefile
./programs/dthelp/parser/pass1/Makefile
./programs/dthelp/parser/pass1/build/Makefile
./programs/dthelp/parser/pass1/helptag/Makefile
./programs/dthelp/parser/pass1/util/Makefile
./programs/dthelp/parser/pass1/eltdef/Makefile
./programs/dthelp/Makefile
./programs/dthelp/dthelpprint/Makefile
./programs/dthelp/dthelpgen/Makefile
./programs/dthelp/help4help/Makefile
./programs/types/Makefile
./programs/dtdocbook/doc2sdl/Makefile
./programs/dtdocbook/doc2sdl/SGML/Makefile
./programs/dtdocbook/xlate_locale/Makefile
./programs/dtdocbook/Makefile
./programs/dtdocbook/instant/Makefile
./programs/dtdocbook/lib/Makefile
./programs/dtdocbook/lib/tptregexp/Makefile
./programs/dtappbuilder/Makefile
./programs/dtappbuilder/src/abmf/Makefile
./programs/dtappbuilder/src/Makefile
./programs/dtappbuilder/src/libAButil/Makefile
./programs/dtappbuilder/src/ab/Makefile
./programs/dtappbuilder/src/libABobjXm/Makefile
./programs/dtappbuilder/src/libABil/Makefile
./programs/dtappbuilder/src/libABobj/Makefile
./programs/dtpdmd/Makefile
./programs/dtcm/server/Makefile
./programs/dtcm/libDtCmP/Makefile
./programs/dtcm/Makefile
./programs/dtcm/dtcm/Makefile
./programs/dtmail/Makefile
./programs/dtmail/dtmail/Makefile
./programs/dtmail/MotifApp/Makefile
./programs/dtmail/dtmailpr/Makefile
./programs/dtmail/libDtMail/Makefile
./programs/dtmail/libDtMail/RFC/Makefile
./programs/dtmail/libDtMail/Common/Makefile
./programs/dtsearchpath/dtappg/Makefile
./programs/dtsearchpath/dtsp/Makefile
./programs/dtsearchpath/Makefile
./programs/dtsearchpath/libCliSrv/Makefile
./programs/dtscreen/Makefile
./programs/dtexec/Makefile
./programs/dtsession/Makefile
./programs/tttypes/Makefile
./programs/dtpdm/Makefile
./programs/dtcreate/Makefile
./programs/dtdbcache/Makefile
./programs/dtdspmsg/Makefile
./programs/dtinfo/Makefile
./programs/dtinfo/clients/Makefile
./programs/dtinfo/clients/dtinfo_start/Makefile
./programs/dtinfo/DtMmdb/Makefile
./programs/dtinfo/DtMmdb/hmphf/Makefile
./programs/dtinfo/DtMmdb/dstr/Makefile
./programs/dtinfo/DtMmdb/utility/Makefile
./programs/dtinfo/DtMmdb/btree/Makefile
./programs/dtinfo/DtMmdb/diskhash/Makefile
./programs/dtinfo/DtMmdb/schema/Makefile
./programs/dtinfo/DtMmdb/misc/Makefile
./programs/dtinfo/DtMmdb/dynhash/Makefile
./programs/dtinfo/DtMmdb/dti_excs/Makefile
./programs/dtinfo/DtMmdb/mgrs/Makefile
./programs/dtinfo/DtMmdb/index/Makefile
./programs/dtinfo/DtMmdb/api/Makefile
./programs/dtinfo/DtMmdb/btree_berkeley/Makefile
./programs/dtinfo/DtMmdb/compression/Makefile
./programs/dtinfo/DtMmdb/object/Makefile
./programs/dtinfo/DtMmdb/oliasdb/Makefile
./programs/dtinfo/DtMmdb/storage/Makefile
./programs/dtinfo/dtinfogen/install/Makefile
./programs/dtinfo/dtinfogen/infolib/ja_JP.EUC-JP/Makefile
./programs/dtinfo/dtinfogen/infolib/ja_JP.EUC-JP/SGML/Makefile
./programs/dtinfo/dtinfogen/infolib/Makefile
./programs/dtinfo/dtinfogen/infolib/C.ISO-8859-1/Makefile
./programs/dtinfo/dtinfogen/infolib/C.ISO-8859-1/SGML/Makefile
./programs/dtinfo/dtinfogen/infolib/etc/Makefile
./programs/dtinfo/dtinfogen/Makefile
./programs/dtinfo/dtinfogen/mmdb/Makefile
./programs/dtinfo/dtinfogen/mmdb/src/Makefile
./programs/dtinfo/dtinfogen/mmdb/StyleSheet/Makefile
./programs/dtinfo/mmdb/HardCopy/Makefile
./programs/dtinfo/mmdb/Makefile
./programs/dtinfo/mmdb/hmphf/Makefile
./programs/dtinfo/mmdb/dti_cc/Makefile
./programs/dtinfo/mmdb/dstr/Makefile
./programs/dtinfo/mmdb/utility/Makefile
./programs/dtinfo/mmdb/btree/Makefile
./programs/dtinfo/mmdb/diskhash/Makefile
./programs/dtinfo/mmdb/schema/Makefile
./programs/dtinfo/mmdb/misc/Makefile
./programs/dtinfo/mmdb/dynhash/Makefile
./programs/dtinfo/mmdb/dti_excs/Makefile
./programs/dtinfo/mmdb/mgrs/Makefile
./programs/dtinfo/mmdb/index/Makefile
./programs/dtinfo/mmdb/api/Makefile
./programs/dtinfo/mmdb/btree_berkeley/Makefile
./programs/dtinfo/mmdb/compression/Makefile
./programs/dtinfo/mmdb/StyleSheet/Makefile
./programs/dtinfo/mmdb/object/Makefile
./programs/dtinfo/mmdb/oliasdb/Makefile
./programs/dtinfo/mmdb/storage/Makefile
./programs/dtinfo/tools/Makefile
./programs/dtinfo/tools/misc/Makefile
./programs/dtinfo/dtinfo/install/Makefile
./programs/dtinfo/dtinfo/install/lib/Makefile
./programs/dtinfo/dtinfo/install/lib/bitmaps/Makefile
./programs/dtinfo/dtinfo/install/lib/fonts/Makefile
./programs/dtinfo/dtinfo/wwl/Makefile
./programs/dtinfo/dtinfo/wwl/src/Makefile
./programs/dtinfo/dtinfo/Makefile
./programs/dtinfo/dtinfo/src/Query/Makefile
./programs/dtinfo/dtinfo/src/Graphics/Makefile
./programs/dtinfo/dtinfo/src/Messages/Makefile
./programs/dtinfo/dtinfo/src/Support/Makefile
./programs/dtinfo/dtinfo/src/Makefile
./programs/dtinfo/dtinfo/src/OnlineRender/Makefile
./programs/dtinfo/dtinfo/src/UAS/Makefile
./programs/dtinfo/dtinfo/src/UAS/DtSR/Makefile
./programs/dtinfo/dtinfo/src/UAS/MMDB/Makefile
./programs/dtinfo/dtinfo/src/UAS/Base/Makefile
./programs/dtinfo/dtinfo/src/Marks/Makefile
./programs/dtinfo/dtinfo/src/Preferences/Makefile
./programs/dtinfo/dtinfo/src/Other/Makefile
./programs/dtinfo/dtinfo/src/Basic/Makefile
./programs/dtinfo/dtinfo/src/Widgets/Makefile
./programs/dtinfo/dtinfo/src/cgm/Makefile
./programs/dtinfo/dtinfo/src/OliasSearch/Makefile
./programs/dtinfo/dtinfo/src/Managers/Makefile
./programs/dtinfo/dtinfo/src/Agents/Makefile
./programs/dtsr/Makefile
./logs/Makefile
./lib/DtSvc/Makefile
./lib/DtSvc/DtXpm/Makefile
./lib/DtSvc/DtUtil2/Makefile
./lib/DtSvc/DtEncap/Makefile
./lib/DtSvc/DtUtil1/Makefile
./lib/DtSvc/include/codelibs/Makefile
./lib/DtSvc/include/Makefile
./lib/DtSvc/include/SPC/Makefile
./lib/DtSvc/include/bms/Makefile
./lib/DtSvc/DtCodelibs/Makefile
./lib/Makefile
./lib/DtPrint/Makefile
./lib/tt/mini_isam/Makefile
./lib/tt/Makefile
./lib/tt/demo/edit_demo/Makefile
./lib/tt/demo/ttsample/Makefile
./lib/tt/slib/Makefile
./lib/tt/bin/shell/Makefile
./lib/tt/bin/Makefile
./lib/tt/bin/dbck/Makefile
./lib/tt/bin/ttsession/Makefile
./lib/tt/bin/tttar/Makefile
./lib/tt/bin/ttdbserverd/Makefile
./lib/tt/bin/scripts/Makefile
./lib/tt/bin/ttauth/Makefile
./lib/tt/bin/tt_type_comp/Makefile
./lib/tt/bin/tttrace/Makefile
./lib/tt/lib/db/Makefile
./lib/tt/lib/Makefile
./lib/tt/lib/util/Makefile
./lib/tt/lib/tttk/Makefile
./lib/tt/lib/mp/Makefile
./lib/tt/lib/api/Makefile
./lib/tt/lib/api/c/Makefile
./lib/tt/lib/api/dnd/Makefile
./lib/DtMrm/Makefile
./lib/csa/Makefile
./lib/DtWidget/Makefile
./lib/DtXinerama/Makefile
./lib/DtTerm/Term/Makefile
./lib/DtTerm/Makefile
./lib/DtTerm/TermView/Makefile
./lib/DtTerm/TermPrim/Makefile
./lib/DtHelp/Makefile
./lib/DtHelp/il/Makefile
./lib/DtSearch/Makefile
./lib/DtSearch/raima/Makefile
./databases/Makefile
./include/Makefile
./include/Xm/Makefile

Building Release 2.3.2 of CDE

I hope you checked the configuration parameters in ./config/cf
to see if you need to pass BOOTSTRAPCFLAGS.

Tue Jul 19 11:24:47 CST 2022

cd ./config/imake && make -j2 --jobserver-auth=3,4 -f Makefile.ini BOOTSTRAPCFLAGS="" clean
make[1]: warning: -j2 forced in submake: resetting jobserver mode.
make[1]: Entering directory '/home/nphuracm/cdesktopenv/src/cde-2.3.2/config/imake'
rm -f ccimake imake.o imake
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a tags TAGS make.log \#*
rm -f -r Makefile.proto Makefile Makefile.dep bootstrap .depend
make[1]: Leaving directory '/home/nphuracm/cdesktopenv/src/cde-2.3.2/config/imake'
make -j2 --jobserver-auth=3,4 Makefile.boot
make[1]: warning: -j2 forced in submake: resetting jobserver mode.
make[1]: Entering directory '/home/nphuracm/cdesktopenv/src/cde-2.3.2'
cd ./config/imake && make -w -j2 --jobserver-auth=5,6 -f Makefile.ini BOOTSTRAPCFLAGS=""
./config/imake/imake -I./config/cf  -s ./config/makedepend/Makefile.proto -f ./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend
make[1]: ./config/imake/imake: No such file or directory
make[1]: *** [Makefile:136: config/makedepend/Makefile.proto] Error 127
make[1]: *** Waiting for unfinished jobs....
make[2]: Entering directory '/home/nphuracm/cdesktopenv/src/cde-2.3.2/config/imake'
make[2]: warning: -j2 forced in submake: resetting jobserver mode.
making imake with BOOTSTRAPCFLAGS= in config/imake
cc -o ccimake  -O -I../../include -I/usr/local/include/X11 -I/usr/include/X11 -I/usr/X11R6/include/X11 -I/usr/X11R7/include/X11 ccimake.c
cc -c  -O -I../../include -I/usr/local/include/X11 -I/usr/include/X11 -I/usr/X11R6/include/X11 -I/usr/X11R7/include/X11 `./ccimake` imake.c
cc -o imake imake.o
make[2]: Leaving directory '/home/nphuracm/cdesktopenv/src/cde-2.3.2/config/imake'
rm -f ./config/makedepend/Makefile.proto ./config/makedepend/.depend
make[1]: Leaving directory '/home/nphuracm/cdesktopenv/src/cde-2.3.2'
make: *** [Makefile:51: World] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

-

seth wrote:

you could contact the AUR maintainer to add a patch and upstream to fix it.

Just went to the AUR, only to find that the 'cdesktopenv' (not 'cdesktopenv-git') package I am using is actually orphaned. Silly me.

Last edited by nphuracm (2022-07-19 03:31:55)

Offline

#19 2022-07-19 06:24:51

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: [SOLVED] CDE not starting & other related (and common?) Xorg issues

d'ohh - see whether you got more success w/ cdesktopenv-git and if so, please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#20 2022-07-19 09:15:37

nphuracm
Member
From: China
Registered: 2022-07-16
Posts: 59

Re: [SOLVED] CDE not starting & other related (and common?) Xorg issues

seth wrote:

d'ohh - see whether you got more success w/ cdesktopenv-git and if so, please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

The yay log... (sigh)
Something even weirder happened. I can't understand the cause at all just by looking at this log.
Didn't succeed. Not going to mark as [SOLVED] yet.

Offline

#21 2022-07-19 11:28:57

seth
Member
Registered: 2012-09-03
Posts: 51,056

Re: [SOLVED] CDE not starting & other related (and common?) Xorg issues

en_US.UTF-8: unknown locale

https://wiki.archlinux.org/title/Locale … ng_locales

You should also adjust the subject more, this is exclusively a CDE issue ( and techinically belongs into https://bbs.archlinux.org/viewforum.php?id=38 )

Offline

#22 2022-07-19 12:15:23

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,846
Website

Re: [SOLVED] CDE not starting & other related (and common?) Xorg issues

Mod note: Moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#23 2022-07-19 12:36:44

nphuracm
Member
From: China
Registered: 2022-07-16
Posts: 59

Re: [SOLVED] CDE not starting & other related (and common?) Xorg issues

Works now. Marked as SOLVED.
https://0x0.st/o1hP.png
Witness the disunity. (is this the right word?)

Note to incoming readers: If you came around here and had encountered some permission denied shit with  /dev/ttyX or /dev/fb0 or something like that (which put me in overdrive and led me to post this) just chmod 7777 on those device files. It does work but since it's more like a hacky workaround I don't recommend this

Mod Edit - Replaced oversized image with link.
CoC - Pasting pictures and code

Last edited by nphuracm (2022-07-19 15:31:34)

Offline

Board footer

Powered by FluxBB