Hello,
I haven't had any time to try this again with the suggestions you have
made. Work has been a little taxing on my time. I do have the steps to
re-produce the problem, which I have made in a build-script for Ubuntu
12.04. It seems to do the trick to get the same results both times I've
tried (each starting off on a fresh install of 12.04 - I've been trying
this on clean installs on a VM):
Thanks,
John
#Do all steps as root
#Install required packages
apt-get install git build-essential libxp-dev libxt-dev libxmu-dev
libxft-dev libmotif4 libmotif-dev libxaw7-dev libx11-dev x11-xserver-utils
libjpeg-dev libfreetype6-dev tcl-dev ksh ncompress xfonts-100dpi
xfonts-100dpi-transcoded rpcbind bison xbitmaps portmap
#Use git to download latest source
mkdir -pv ~/src/cdesktopenv-code
cd ~/src
git clone git://git.code.sf.net/p/cdesktopenv/code cdesktopenv-code
cd cdesktopenv-code/cde
#Link X11 headers
mkdir -p imports/x11/include
cd imports/x11/include
ln -s /usr/include/X11
#Build
cd ~/src/cdesktopenv-code/cde
make World
#Install
cd ~/src/cdesktopenv-code/cde/admin/IntegTools/dbTools
./installCDE -s ~/src/cdesktopenv-code/cde
cd ~/src/cdesktopenv-code/cde/admin/IntegTools/post_install/linux
./configRun -e
chmod -R a+rwx /var/dt
mkdir -p /usr/spool/calendar
#Link to lightdm
cat > /usr/share/xsessions/cde.desktop << "EOM"
[Desktop Entry]
Encoding=UTF-8
Name=CDE
Comment=Use this session to boot into the Common Desktop Environment
Exec=/usr/dt/bin/startxsession.sh
Icon=
Type=Application
EOM
cat > /usr/dt/bin/startxsession.sh << "EOM"
#!/bin/sh
export PATH=$PATH:/usr/dt/bin
export LANG=C
/usr/dt/bin/Xsession
EOM
sudo chmod 775 /usr/dt/bin/startxsession.sh
On Mon, Nov 5, 2012 at 10:09 AM, Frederic Koehler <f.koehler...@gmail.com>wrote:
> On Mon, Nov 5, 2012 at 4:18 AM, Marcin Cieslak <sa...@saper.info> wrote:
> > On Sun, 4 Nov 2012, John Reed wrote:
> >
> >> Hello Jon,
> >>
> >> I did follow those steps and it will run but when I go into it via the
> >> lightdm, it basically stays at the "Starting the Common Desktop
> >> Environment" blue screen with the /usr/dt/bin/ttsession -s process
> pegging
> >> the CPU at about 80-90%. Not sure what to do but I don't get this if I
> >> disable lightdm from startup and just run it from the command console.
> >
> > I think I was debugging this problem with John on IRC and after
> > some debugging we found out that ttsession probably runs fine
> > (it is listed in "rpcinfo -p" and the TCP port is reachable,
> > so no rpcbind problems), but something is strange with
> > a DISPLAY variable or something so that dtsession is unable
> > to contact the X server, or something like that.
> That's interesting. At least once there was an issue because the X
> server only allows "local" connections with e.g. DISPLAY=:0 but not
> what seems equivalent, e.g. DISPLAY=localhost:0. So maybe something
> similar is happening here [shot in the dark - and i don't really know
> why this problem wouldn't manifest _always_].
>
> In that case testing with e.g. Xephyr -ac would hopefully work, though.
> >
> > There was some entry in $HOME/.dt logs about wrong DISPLAY,
> > wasn't it? Or maybe it's some generic X authentication problem.
> >
> > //Marcin
> >
> >
> ------------------------------------------------------------------------------
> > LogMeIn Central: Instant, anywhere, Remote PC access and management.
> > Stay in control, update software, and manage PCs from one command center
> > Diagnose problems and improve visibility into emerging IT issues
> > Automate, monitor and manage. Do more in less time with Central
> > http://p.sf.net/sfu/logmein12331_d2d
> > _______________________________________________
> > cdesktopenv-devel mailing list
> > cdesktopenv-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
>
------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel