On 11/16/21 6:12 PM, Murray Blakeman wrote:
I've built and installed CDE 2.4.0 using the spec files, etc from;

https://github.com/mbert/cderpm <https://github.com/mbert/cderpm>

I did make some minor changes to the spec file but it's largely unchanged.

I'm able to run a CDE session from gdm but I have the following issues.

 1. The lock screen can't be unlocked.  It just remains after entering
    the user password to unlock.


This one may be caused by missing dev packages.  In 2.4.0, support for PAM an utempter was added - this makes it possible to run dtterm and dtsession w/o needing SUID root.  Make sure that the libutempter-devel and pam-devel packages are installed.

 1. The Application Manager has a "generic-display-0" folder in the
    root, rather than the actual applications.  If I open that folder,
    the applications are shown.


That one, I've not yet seen.

I've attached some pics for reference.

Here's some info which may/may not help.

 # ls -lR /var/dt/appconfig/appmanager/
/var/dt/appconfig/appmanager/:
total 0
dr-xr-xr-x. 2 username username 227 Nov 17 11:43 generic-display-0


Seems like an issue determining your hostname.

/var/dt/appconfig/appmanager/generic-display-0:
total 0
lrwxrwxrwx. 1 username username 42 Nov 17 11:43 brave-browser -> /home/username/.dt/appmanager/brave-browser lrwxrwxrwx. 1 username username 43 Nov 17 11:43 Desktop_Apps -> /usr/dt/appconfig/appmanager/C/Desktop_Apps lrwxrwxrwx. 1 username username 44 Nov 17 11:43 Desktop_Tools -> /usr/dt/appconfig/appmanager/C/Desktop_Tools lrwxrwxrwx. 1 username username 40 Nov 17 11:43 Education -> /usr/dt/appconfig/appmanager/C/Education lrwxrwxrwx. 1 username username 36 Nov 17 11:43 Games -> /usr/dt/appconfig/appmanager/C/Games lrwxrwxrwx. 1 username username 39 Nov 17 11:43 Graphics -> /usr/dt/appconfig/appmanager/C/Graphics lrwxrwxrwx. 1 username username 42 Nov 17 11:43 Information -> /usr/dt/appconfig/appmanager/C/Information lrwxrwxrwx. 1 username username 39 Nov 17 11:43 Internet -> /usr/dt/appconfig/appmanager/C/Internet lrwxrwxrwx. 1 username username 42 Nov 17 11:43 Media_Tools -> /usr/dt/appconfig/appmanager/C/Media_Tools lrwxrwxrwx. 1 username username 37 Nov 17 11:43 Office -> /usr/dt/appconfig/appmanager/C/Office lrwxrwxrwx. 1 username username 37 Nov 17 11:43 System -> /usr/dt/appconfig/appmanager/C/System lrwxrwxrwx. 1 username username 43 Nov 17 11:43 System_Admin -> /usr/dt/appconfig/appmanager/C/System_Admin lrwxrwxrwx. 1 username username 34 Nov 17 11:43 TeX -> /usr/dt/appconfig/appmanager/C/TeX

# ls -l /usr/dt/bin/dtsession
-rwxr-xr-x. 1 root root 225808 Nov 12 15:38 /usr/dt/bin/dtsession
# ls -l /usr/dt/bin/dtscreen
-rwxr-xr-x. 1 root root 63888 Nov 12 15:38 /usr/dt/bin/dtscreen

I have tried running with both of these files setuid but it doesn't make any difference.


Try making sure those packages I mentioned above are present. dtsession is what handles the password unlock on behalf of dtscreen.

Also, FYI, I still have selinux active.  I haven't tried running with selinux disabled.


I have never run with that enabled on centos 8 (well, now I am running Rocky linux in a VM), so I don't know what effect that would have.

What have I broken in my build/install?


I think as far as the unlocking at least, you just need the utempter package.  Places you can look are ~/.dt/errorlog, ~/.dt/startlog, and perhaps other files in ~/.dt/

-jon

Regards

Murray






_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

--
Jon Trulson

  "This Unit must survive."
                           -- M5

_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to