trunkmaster / nextspace

NeXTSTEP-like desktop environment for Linux
https://trunkmaster.github.io
GNU General Public License v3.0
1.89k stars 69 forks source link

make install of Frameworks failed for me #20

Closed clauseggers closed 6 years ago

clauseggers commented 6 years ago

I got as far as make install, then this error.

[luser@centos Frameworks]$ make && make install
GNUmakefile:4: /common.make: No such file or directory
GNUmakefile:14: /aggregate.make: No such file or directory
make: *** No rule to make target \/aggregate.make'. Stop.`
armm77 commented 6 years ago

Hello @clauseggers, If you follow these steps you can compile without problem. https://github.com/trunkmaster/nextspace/wiki/Build-and-install

clauseggers commented 6 years ago

That is what I did. From a fresh install in a VM. I can note however, that there are several errors and omissions in the Wiki article on building and installing. The biggest omission is that libbsd was required, but it is not in the CentOS repos, so I instead installed 0.6.0 from RHEL.

trunkmaster commented 6 years ago

@clauseggers, you should better add EPEL repo https://fedoraproject.org/wiki/EPEL. Thank you for report - I'll update article ASAP. Have you noticed other errors in the article?

trunkmaster commented 6 years ago

@clauseggers, I've added instructions about EPEL repository to article. Do you still have problems with Frameworks build proces?

clauseggers commented 6 years ago

Yes, I’m getting the same error again:

[claus@centos Frameworks]$ sudo make install
GNUmakefile:4: /common.make: No such file or directory
GNUmakefile:14: /aggregate.make: No such file or directory
make: *** No rule to make target `/aggregate.make'.  Stop.

Errors in the Build & Install wiki: You need to add yum install git under install packages. In 3.4 it should be: # yum install $(grep "BuildRequires" nextspace-frameworks.spec | awk -c '{print $2}') In 3.6 it should be: # yum install $(grep "BuildRequires" nextspace-desktop.spec | awk -c '{print $2}')

trunkmaster commented 6 years ago

Try using sudo -s make install instead of sudo make install. Another option is to use su - and make install. The problem is in environment varialbles which are loaded at login time from /etc/profile.d/nextspace.sh file. I've fixed errors in wiki article. Thank you.

clauseggers commented 6 years ago

Bingo. su did the trick. However starting the loginwindow fails:

-- Unit session-1.scope has finished starting up.
--
-- The start-up result is done.
Jun 13 14:36:29 centos.localdomain systemd[1]: Starting Session 1 of user claus.
-- Subject: Unit session-1.scope has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit session-1.scope has begun starting up.
Jun 13 14:36:29 centos.localdomain sshd[1414]: pam_unix(sshd:session): session opened for user claus by (uid=0)
Jun 13 14:36:42 centos.localdomain sudo[1438]:    claus : TTY=pts/0 ; PWD=/home/claus ; USER=root ; COMMAND=/bin/systemctl start loginwindow
Jun 13 14:36:42 centos.localdomain polkitd[744]: Registered Authentication Agent for unix-process:1442:3798 (system bus name :1.21 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Jun 13 14:36:42 centos.localdomain systemd[1]: Stopping Getty on tty1...
-- Subject: Unit getty@tty1.service has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit getty@tty1.service has begun shutting down.
Jun 13 14:36:42 centos.localdomain systemd[1]: Stopped Getty on tty1.
-- Subject: Unit getty@tty1.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit getty@tty1.service has finished shutting down.
Jun 13 14:36:42 centos.localdomain systemd[1]: Ignoring invalid environment assignment 'export PATH=$NS_PATH:$PATH': /etc/profile.d/nextspace.sh
Jun 13 14:36:42 centos.localdomain systemd[1]: Ignoring invalid environment assignment 'export MANPATH=:/Library/Documentation/man:/usr/NextSpace/Documentation/man': /etc/profile.d/nextspace.sh
Jun 13 14:36:42 centos.localdomain systemd[1]: Ignoring invalid environment assignment 'export GNUSTEP_MAKEFILES=/Developer/Makefiles': /etc/profile.d/nextspace.sh
Jun 13 14:36:42 centos.localdomain systemd[1]: Ignoring invalid environment assignment 'export LD_LIBRARY_PATH=$HOME/Library/Libraries': /etc/profile.d/nextspace.sh
Jun 13 14:36:42 centos.localdomain systemd[1]: Ignoring invalid environment assignment 'export GNUSTEP_PATHLIST=$HOME:/:/usr/NextSpace:/Network': /etc/profile.d/nextspace.sh
Jun 13 14:36:42 centos.localdomain systemd[1]: Ignoring invalid environment assignment 'export INFOPATH=$HOME/Library/Documentation/info:/Library/Documentation/info:/usr/NextSpace/Documentation/info': /etc/profile.d/nextspace.sh
Jun 13 14:36:42 centos.localdomain systemd[1]: Ignoring invalid environment assignment 'export LC_CTYPE=en_US.UTF-8': /etc/profile.d/nextspace.sh
Jun 13 14:36:42 centos.localdomain systemd[1]: Ignoring invalid environment assignment 'export NS_SYSTEM=/usr/NextSpace': /etc/profile.d/nextspace.sh
Jun 13 14:36:42 centos.localdomain systemd[1]: Ignoring invalid environment assignment 'export USER=`whoami`': /etc/profile.d/nextspace.sh
Jun 13 14:36:42 centos.localdomain systemd[1]: Ignoring invalid environment assignment 'export LOGFILE=$GS_SECURE/console.log': /etc/profile.d/nextspace.sh
Jun 13 14:36:42 centos.localdomain systemd[1]: Ignoring invalid environment assignment 'export PATH=$NS_PATH:$PATH': /etc/profile.d/nextspace.sh
Jun 13 14:36:42 centos.localdomain systemd[1]: Ignoring invalid environment assignment 'export MANPATH=:/Library/Documentation/man:/usr/NextSpace/Documentation/man': /etc/profile.d/nextspace.sh
Jun 13 14:36:42 centos.localdomain systemd[1]: Ignoring invalid environment assignment 'export GNUSTEP_MAKEFILES=/Developer/Makefiles': /etc/profile.d/nextspace.sh
Jun 13 14:36:42 centos.localdomain systemd[1]: Ignoring invalid environment assignment 'export LD_LIBRARY_PATH=$HOME/Library/Libraries': /etc/profile.d/nextspace.sh
Jun 13 14:36:42 centos.localdomain systemd[1]: Ignoring invalid environment assignment 'export GNUSTEP_PATHLIST=$HOME:/:/usr/NextSpace:/Network': /etc/profile.d/nextspace.sh
Jun 13 14:36:42 centos.localdomain systemd[1]: Ignoring invalid environment assignment 'export INFOPATH=$HOME/Library/Documentation/info:/Library/Documentation/info:/usr/NextSpace/Documentation/info': /etc/profile.d/nextspace.sh
Jun 13 14:36:42 centos.localdomain systemd[1]: Ignoring invalid environment assignment 'export LC_CTYPE=en_US.UTF-8': /etc/profile.d/nextspace.sh
Jun 13 14:36:42 centos.localdomain systemd[1]: Ignoring invalid environment assignment 'export NS_SYSTEM=/usr/NextSpace': /etc/profile.d/nextspace.sh
Jun 13 14:36:42 centos.localdomain systemd[1]: Ignoring invalid environment assignment 'export USER=`whoami`': /etc/profile.d/nextspace.sh
Jun 13 14:36:42 centos.localdomain systemd[1]: Ignoring invalid environment assignment 'export LOGFILE=$GS_SECURE/console.log': /etc/profile.d/nextspace.sh
Jun 13 14:36:42 centos.localdomain systemd[1]: Starting NEXTSPACE Login Panel...
-- Subject: Unit loginwindow.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit loginwindow.service has begun starting up.
Jun 13 14:36:42 centos.localdomain Login[1450]: /usr/NextSpace/Apps/Login.app/Login: error while loading shared libraries: libNXFoundation.so.0: cannot open shared object file: No such file or directory
Jun 13 14:36:42 centos.localdomain systemd[1]: loginwindow.service: main process exited, code=exited, status=127/n/a
Jun 13 14:36:42 centos.localdomain systemd[1]: Failed to start NEXTSPACE Login Panel.
-- Subject: Unit loginwindow.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit loginwindow.service has failed.
--
-- The result is failed.
Jun 13 14:36:42 centos.localdomain systemd[1]: Unit loginwindow.service entered failed state.
Jun 13 14:36:42 centos.localdomain systemd[1]: Triggering OnFailure= dependencies of loginwindow.service.
Jun 13 14:36:42 centos.localdomain systemd[1]: loginwindow.service failed.
Jun 13 14:36:42 centos.localdomain systemd[1]: Starting Terminate Plymouth Boot Screen...
-- Subject: Unit plymouth-quit.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit plymouth-quit.service has begun starting up.
Jun 13 14:36:42 centos.localdomain polkitd[744]: Unregistered Authentication Agent for unix-process:1442:3798 (system bus name :1.21, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jun 13 14:36:42 centos.localdomain systemd[1]: Started Terminate Plymouth Boot Screen.
-- Subject: Unit plymouth-quit.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit plymouth-quit.service has finished starting up.
--
-- The start-up result is done.
trunkmaster commented 6 years ago

Jun 13 14:36:42 centos.localdomain Login[1450]: /usr/NextSpace/Apps/Login.app/Login: error while loading shared libraries: libNXFoundation.so.0: cannot open shared object file: No such file or directory The problem is in linker. Try running ldconfig and then restart Login: systemctl restart loginwindow.

clauseggers commented 6 years ago

Thank you, that fixed that issue. Next issue was the absence of Xwindow. That was remedied thusly (you should probably add this to the install wiki): yum -y groupinstall "X Window System"

Now starting or restarting the loginwindow gives me a segmentation fault:

● loginwindow.service - NEXTSPACE Login Panel
   Loaded: loaded (/usr/NextSpace/Apps/Login.app/Resources/loginwindow.service; enabled; vendor preset: disabled)
   Active: failed (Result: signal) since Wed 2018-06-13 17:27:33 CEST; 3min 43s ago
  Process: 1476 ExecStartPost=/bin/bash -c TERM=linux /usr/bin/clear > /dev/tty1 (code=exited, status=0/SUCCESS)
  Process: 1475 ExecStart=/usr/NextSpace/Apps/Login.app/Login (code=killed, signal=SEGV)
 Main PID: 1475 (code=killed, signal=SEGV)

Jun 13 17:27:28 centos.localdomain Login[1475]: 2018-06-13 18:27:28.084 Login[1475:1475] Login: awakeFromNib
Jun 13 17:27:33 centos.localdomain Login[1475]: 2018-06-13 18:27:33.131 Login[1475:1475] Exception occured while loading model: unable to contact GDNC server -
Jun 13 17:27:33 centos.localdomain Login[1475]: please check that the gdnc process is running.
Jun 13 17:27:33 centos.localdomain Login[1475]: I attempted to start it at '/Library/bin/gdnc'
Jun 13 17:27:33 centos.localdomain Login[1475]: 2018-06-13 18:27:33.131 Login[1475:1475] Failed to load Gorm
Jun 13 17:27:33 centos.localdomain Login[1475]: 2018-06-13 18:27:33.133 Login[1475:1475] Cannot load the main model file 'Login.gorm'
Jun 13 17:27:33 centos.localdomain systemd[1]: loginwindow.service: main process exited, code=killed, status=11/SEGV
Jun 13 17:27:33 centos.localdomain systemd[1]: Unit loginwindow.service entered failed state.
Jun 13 17:27:33 centos.localdomain systemd[1]: Triggering OnFailure= dependencies of loginwindow.service.
Jun 13 17:27:33 centos.localdomain systemd[1]: loginwindow.service failed.

The gdnc seems to be running:

[root@centos bin]# ps aux | grep gdnc
root       1143  0.0  0.3 205308 13868 ?        Ss   17:26   0:00 /Library/bin/gdnc --daemon
armm77 commented 6 years ago

Hi @clauseggers , you could disable SELinux and try again.

I just installed everything again in a new VM and if it works for me following the steps of the wiki, install the xorg with the command that you suggest. (yum -y groupinstall "X Window System").

clauseggers commented 6 years ago

Strange that I get a different result than you. I’m using VMWare Fusion (newest version), but that should hardly make such a difference.

Anyway, disabling SELinux did bring the loginwindow service a bit further, but now I’m stuck at:

-- Unit loginwindow.service has begun starting up.
Jun 13 19:40:19 centos.localdomain systemd[1]: Started NEXTSPACE Login Panel.
-- Subject: Unit loginwindow.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit loginwindow.service has finished starting up.
--
-- The start-up result is done.
Jun 13 19:40:19 centos.localdomain polkitd[756]: Unregistered Authentication Agent for unix-process:1447:4963 (system bus name :1.22, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jun 13 19:40:19 centos.localdomain Login[1455]: Loading two versions of NSIconWindow.  The class that will be used is undefined
Jun 13 19:40:19 centos.localdomain Login[1455]: 2018-06-13 20:40:19.285 Login[1455:1455] ================> Xorg is coming up <================
Jun 13 19:40:19 centos.localdomain Login[1455]: X.Org X Server 1.19.5
Jun 13 19:40:19 centos.localdomain Login[1455]: Release Date: 2017-10-12
Jun 13 19:40:19 centos.localdomain Login[1455]: X Protocol Version 11, Revision 0
Jun 13 19:40:19 centos.localdomain Login[1455]: Build Operating System:  3.10.0-693.17.1.el7.x86_64
Jun 13 19:40:19 centos.localdomain Login[1455]: Current Operating System: Linux centos.localdomain 3.10.0-862.3.2.el7.x86_64 #1 SMP Mon May 21 23:36:36 UTC 2018 x86_64
Jun 13 19:40:19 centos.localdomain Login[1455]: Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-862.3.2.el7.x86_64 root=/dev/mapper/centos_centos-root ro crashkernel=auto rd.lvm.lv=centos_centos/root rd.lvm.lv=centos_centos/swap rhgb quiet LANG=en_GB.UTF-8
Jun 13 19:40:19 centos.localdomain Login[1455]: Build Date: 11 April 2018  04:40:54PM
Jun 13 19:40:19 centos.localdomain Login[1455]: Build ID: xorg-x11-server 1.19.5-5.el7
Jun 13 19:40:19 centos.localdomain Login[1455]: Current version of pixman: 0.34.0
Jun 13 19:40:19 centos.localdomain Login[1455]: Before reporting problems, check http://wiki.x.org
Jun 13 19:40:19 centos.localdomain Login[1455]: to make sure that you have the latest version.
Jun 13 19:40:19 centos.localdomain Login[1455]: Markers: (--) probed, (**) from config file, (==) default setting,
Jun 13 19:40:19 centos.localdomain Login[1455]: (++) from command line, (!!) notice, (II) informational,
Jun 13 19:40:19 centos.localdomain Login[1455]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Jun 13 19:40:19 centos.localdomain Login[1455]: (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jun 13 19:40:19 2018
Jun 13 19:40:19 centos.localdomain Login[1455]: (==) Using config directory: "/etc/X11/xorg.conf.d"
Jun 13 19:40:19 centos.localdomain Login[1455]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
Jun 13 19:40:19 centos.localdomain Login[1455]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Jun 13 19:40:19 centos.localdomain Login[1455]: > Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
Jun 13 19:40:19 centos.localdomain Login[1455]: >                   Ignoring extra symbols
Jun 13 19:40:19 centos.localdomain Login[1455]: Errors from xkbcomp are not fatal to the X server
Jun 13 19:40:19 centos.localdomain Login[1455]: 2018-06-13 20:40:19.452 Login[1455:1455] ================> Xorg is ready <================
Jun 13 19:40:19 centos.localdomain Login[1455]: 2018-06-13 20:40:19.469 Login[1455:1455] Virtual1: become main display.
Jun 13 19:40:19 centos.localdomain Login[1455]: 2018-06-13 20:40:19.470 Login[1455:1455] Virtual1: Set resolution {width = 1024; height = 768} and origin {x = 0; y = 0}
Jun 13 19:40:19 centos.localdomain Login[1455]: 2018-06-13 20:40:19.522 gpbs[1466:1466] Unable to register with name server.
Jun 13 19:40:19 centos.localdomain Login[1455]: 2018-06-13 20:40:19.532 Login[1455:1455] Login: awakeFromNib
Jun 13 19:40:44 centos.localdomain Login[1455]: 2018-06-13 20:40:44.594 Login[1455:1455] Exception occured while loading model: unable to contact GDNC server -
Jun 13 19:40:44 centos.localdomain Login[1455]: please check that the gdnc process is running.
Jun 13 19:40:44 centos.localdomain Login[1455]: I attempted to start it at '/Library/bin/gdnc'
Jun 13 19:40:44 centos.localdomain Login[1455]: 2018-06-13 20:40:44.594 Login[1455:1455] Failed to load Gorm
Jun 13 19:40:44 centos.localdomain Login[1455]: 2018-06-13 20:40:44.598 Login[1455:1455] Login: awakeFromNib
Jun 13 19:40:49 centos.localdomain Login[1455]: 2018-06-13 20:40:49.620 Login[1455:1455] Exception occured while loading model: unable to contact GDNC server -
Jun 13 19:40:49 centos.localdomain Login[1455]: please check that the gdnc process is running.
Jun 13 19:40:49 centos.localdomain Login[1455]: I attempted to start it at '/Library/bin/gdnc'
Jun 13 19:40:49 centos.localdomain Login[1455]: 2018-06-13 20:40:49.620 Login[1455:1455] Failed to load Gorm
Jun 13 19:40:49 centos.localdomain Login[1455]: 2018-06-13 20:40:49.622 Login[1455:1455] Cannot load the main model file 'Login.gorm'
Jun 13 19:40:49 centos.localdomain kernel: traps: Login[1455] general protection ip:7fd5a1df98cc sp:7ffe5fadf998 error:0 in libobjc.so.4.6[7fd5a1de0000+24000]
Jun 13 19:40:49 centos.localdomain systemd[1]: loginwindow.service: main process exited, code=killed, status=11/SEGV
Jun 13 19:40:49 centos.localdomain systemd[1]: Unit loginwindow.service entered failed state.
Jun 13 19:40:49 centos.localdomain systemd[1]: Triggering OnFailure= dependencies of loginwindow.service.
Jun 13 19:40:49 centos.localdomain systemd[1]: loginwindow.service failed.
Jun 13 19:40:49 centos.localdomain systemd[1]: Starting Terminate Plymouth Boot Screen...
-- Subject: Unit plymouth-quit.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit plymouth-quit.service has begun starting up.
Jun 13 19:40:49 centos.localdomain systemd[1]: Started Terminate Plymouth Boot Screen.
-- Subject: Unit plymouth-quit.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
clauseggers commented 6 years ago

When I restart the loginwindow I get a black screen. When I then SSH in to the box, and do a shutdown now I get this screen https://i.imgur.com/PinTjtF.png

armm77 commented 6 years ago

hi @clauseggers, I also use fusion, I share my installation history, just that I have the habit of doing the make in my user account and the installation in root.

note: omit the commands that are not necessary and my typing mistakes. axmf.txt history.txt

axmf me

trunkmaster commented 6 years ago

@clauseggers, I don't know why it sometimes happens. Try to remove /tmp/GNUstepSecure0 directory and restart gdomap, gdnc and loginwindow services as root. I'll add notes about X Window and SELinux into wiki article.

trunkmaster commented 6 years ago

@armm77, you have some problems with fonts setup. However at second screenshot window content uses Helvetica, window title bar is not. Try to replace user home directory content with files from git source tree (System/etc/skel).

trunkmaster commented 6 years ago

Guys, I've made necessary changes into wiki article. Please check it out.

armm77 commented 6 years ago

hi @trunkmaster, in the axmf profile change the typeface when I observed the strange typography of the window titles. I'm going to build a new vm following the new changes in the wiki and I'll tell you if I get something. fonts

trunkmaster commented 6 years ago

@armm77, unfortunately, Font Preferences doesn't manage window titles font. Good idea - I need to implement this.

trunkmaster commented 6 years ago

@clauseggers, have you succeeded?

clauseggers commented 6 years ago

No success. I have no idea why it doesn’t work.

armm77 commented 6 years ago

hi @clauseggers , unfortunately I have had random failures when starting the Login service, while it is solved, I recommend installing lightdm and adding the nextspace.desktop to be able to test NEXTSPACE and see its progress.

trunkmaster commented 6 years ago

@clauseggers, what does systemctl status gdnc command show if you run it as root?

clauseggers commented 6 years ago
[root@centos claus]# systemctl status gdnc
● gdnc.service - GNUstep Distributed Notification Center
   Loaded: loaded (/usr/NextSpace/lib/systemd/gdnc.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2018-06-18 16:48:52 CEST; 37s ago
 Main PID: 1239 (gdnc)
   CGroup: /system.slice/gdnc.service
           └─1239 /Library/bin/gdnc --daemon

Jun 18 16:48:52 centos.localdomain systemd[1]: Started GNUstep Distributed Notification Center.
Jun 18 16:48:52 centos.localdomain systemd[1]: Starting GNUstep Distributed Notification Center...
clauseggers commented 6 years ago

If I then do a systemctl restart loginwindow and then a status I get this:

[root@centos claus]# systemctl status loginwindow -l
● loginwindow.service - NEXTSPACE Login Panel
   Loaded: loaded (/usr/NextSpace/Apps/Login.app/Resources/loginwindow.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2018-06-18 16:50:51 CEST; 19s ago
  Process: 1473 ExecStartPost=/bin/bash -c TERM=linux /usr/bin/clear > /dev/tty1 (code=exited, status=0/SUCCESS)
 Main PID: 1471 (Login)
   CGroup: /system.slice/loginwindow.service
           ├─1471 /usr/NextSpace/Apps/Login.app/Login
           └─1477 /bin/Xorg :0 -noreset -background none -seat seat0 -nolisten tcp -keeptty vt1

Jun 18 16:50:51 centos.localdomain Login[1471]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
Jun 18 16:50:52 centos.localdomain Login[1471]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Jun 18 16:50:52 centos.localdomain Login[1471]: > Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
Jun 18 16:50:52 centos.localdomain Login[1471]: >                   Ignoring extra symbols
Jun 18 16:50:52 centos.localdomain Login[1471]: Errors from xkbcomp are not fatal to the X server
Jun 18 16:50:52 centos.localdomain Login[1471]: 2018-06-18 17:50:52.874 Login[1471:1471] ================> Xorg is ready <================
Jun 18 16:50:52 centos.localdomain Login[1471]: 2018-06-18 17:50:52.929 Login[1471:1471] Virtual1: become main display.
Jun 18 16:50:52 centos.localdomain Login[1471]: 2018-06-18 17:50:52.930 Login[1471:1471] Virtual1: Set resolution {width = 1024; height = 768} and origin {x = 0; y = 0}
Jun 18 16:50:53 centos.localdomain Login[1471]: 2018-06-18 17:50:53.007 gpbs[1483:1483] Unable to register with name server.
Jun 18 16:50:53 centos.localdomain Login[1471]: 2018-06-18 17:50:53.567 Login[1471:1471] Login: awakeFromNib

Line of interest is perhaps this one:

Jun 18 16:50:53 centos.localdomain Login[1471]: 2018-06-18 17:50:53.007 gpbs[1483:1483] Unable to register with name server.

?

trunkmaster commented 6 years ago

@clauseggers, do you have gpbs service running? show me the systemctl status gpbs output.

clauseggers commented 6 years ago
[claus@centos ~]$ sudo systemctl status gpbs -l
● gpbs.service - GNUstep Pasteboard Service
   Loaded: loaded (/usr/NextSpace/lib/systemd/gpbs.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2018-06-19 19:00:33 CEST; 2min 55s ago
 Main PID: 1184 (gpbs)
   CGroup: /system.slice/gpbs.service
           └─1184 /Library/bin/gpbs --daemon

Jun 19 19:00:33 centos.localdomain systemd[1]: Started GNUstep Pasteboard Service.
Jun 19 19:00:33 centos.localdomain systemd[1]: Starting GNUstep Pasteboard Service...
Jun 19 19:00:36 centos.localdomain gpbs[1184]: 2018-06-19 20:00:36.260 gpbs[1184:1184] Unable to open X display - no X interoperation available
trunkmaster commented 6 years ago

Everything seems correct. Another suggestion: try to disable gpbs service with systemctl disable gpbs and restart loginwindow systemctl restart loginwindow. gpbsd will be started by GNUstep automatically after first request from Login application.

clauseggers commented 6 years ago

Got this:

[root@centos claus]# systemctl disable gpbs
Removed symlink /etc/systemd/system/multi-user.target.wants/gpbs.service.
Removed symlink /etc/systemd/system/gpbs.service.
[root@centos claus]# systemctl restart loginwindow
[root@centos claus]# systemctl status loginwindow
● loginwindow.service - NEXTSPACE Login Panel
   Loaded: loaded (/usr/NextSpace/Apps/Login.app/Resources/loginwindow.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2018-06-19 23:49:49 CEST; 18s ago
  Process: 2203 ExecStartPost=/bin/bash -c TERM=linux /usr/bin/clear > /dev/tty1 (code=exited, status=0/SUCCESS)
 Main PID: 2202 (Login)
   CGroup: /system.slice/loginwindow.service
           ├─2202 /usr/NextSpace/Apps/Login.app/Login
           └─2207 /bin/Xorg :0 -noreset -background none -seat seat0 -nolisten tcp -keeptty vt1

Jun 19 23:49:49 centos.localdomain Login[2202]: (==) Using system config directory "/usr/share/X11/xorg...f.d"
Jun 19 23:49:49 centos.localdomain Login[2202]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Jun 19 23:49:49 centos.localdomain Login[2202]: > Warning:          Type "ONE_LEVEL" has 1 levels, but ...bols
Jun 19 23:49:49 centos.localdomain Login[2202]: >                   Ignoring extra symbols
Jun 19 23:49:49 centos.localdomain Login[2202]: Errors from xkbcomp are not fatal to the X server
Jun 19 23:49:50 centos.localdomain Login[2202]: 2018-06-20 00:49:50.043 Login[2202:2202] ==============...====
Jun 19 23:49:50 centos.localdomain Login[2202]: 2018-06-20 00:49:50.059 Login[2202:2202] Virtual1: beco...lay.
Jun 19 23:49:50 centos.localdomain Login[2202]: 2018-06-20 00:49:50.059 Login[2202:2202] Virtual1: Set ...= 0}
Jun 19 23:49:50 centos.localdomain Login[2202]: 2018-06-20 00:49:50.101 Login[2202:2202] Login: awakeFromNib
Jun 19 23:49:50 centos.localdomain Login[2202]: 2018-06-20 00:49:50.104 gpbs[2213:2213] Unable to regis...ver.
Hint: Some lines were ellipsized, use -l to show in full.
[root@centos claus]# systemctl status loginwindow
● loginwindow.service - NEXTSPACE Login Panel
   Loaded: loaded (/usr/NextSpace/Apps/Login.app/Resources/loginwindow.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2018-06-19 23:49:49 CEST; 25s ago
  Process: 2203 ExecStartPost=/bin/bash -c TERM=linux /usr/bin/clear > /dev/tty1 (code=exited, status=0/SUCCESS)
 Main PID: 2202 (Login)
   CGroup: /system.slice/loginwindow.service
           ├─2202 /usr/NextSpace/Apps/Login.app/Login
           ├─2207 /bin/Xorg :0 -noreset -background none -seat seat0 -nolisten tcp -keeptty vt1
           ├─2218 /Library/bin/gdnc -GSPublic YES --auto --daemon
           └─2220 /Library/bin/gdnc -GSPublic YES --auto --daemon

Jun 19 23:49:50 centos.localdomain Login[2202]: 2018-06-20 00:49:50.043 Login[2202:2202] ================> Xorg is ready <================
Jun 19 23:49:50 centos.localdomain Login[2202]: 2018-06-20 00:49:50.059 Login[2202:2202] Virtual1: become main display.
Jun 19 23:49:50 centos.localdomain Login[2202]: 2018-06-20 00:49:50.059 Login[2202:2202] Virtual1: Set resolution {width = 1024; height = 768} and o...0; y = 0}
Jun 19 23:49:50 centos.localdomain Login[2202]: 2018-06-20 00:49:50.101 Login[2202:2202] Login: awakeFromNib
Jun 19 23:49:50 centos.localdomain Login[2202]: 2018-06-20 00:49:50.104 gpbs[2213:2213] Unable to register with name server.
Jun 19 23:50:15 centos.localdomain Login[2202]: 2018-06-20 00:50:15.176 Login[2202:2202] Exception occured while loading model: unable to contact GDNC server -
Jun 19 23:50:15 centos.localdomain Login[2202]: please check that the gdnc process is running.
Jun 19 23:50:15 centos.localdomain Login[2202]: I attempted to start it at '/Library/bin/gdnc'
Jun 19 23:50:15 centos.localdomain Login[2202]: 2018-06-20 00:50:15.177 Login[2202:2202] Failed to load Gorm
Jun 19 23:50:15 centos.localdomain Login[2202]: 2018-06-20 00:50:15.181 Login[2202:2202] Login: awakeFromNib
Hint: Some lines were ellipsized, use -l to show in full.
[root@centos claus]# systemctl status loginwindow -l
● loginwindow.service - NEXTSPACE Login Panel
   Loaded: loaded (/usr/NextSpace/Apps/Login.app/Resources/loginwindow.service; enabled; vendor preset: disabled)
   Active: failed (Result: signal) since Tue 2018-06-19 23:50:21 CEST; 7s ago
  Process: 2203 ExecStartPost=/bin/bash -c TERM=linux /usr/bin/clear > /dev/tty1 (code=exited, status=0/SUCCESS)
  Process: 2202 ExecStart=/usr/NextSpace/Apps/Login.app/Login (code=killed, signal=SEGV)
 Main PID: 2202 (code=killed, signal=SEGV)

Jun 19 23:50:15 centos.localdomain Login[2202]: 2018-06-20 00:50:15.181 Login[2202:2202] Login: awakeFromNib
Jun 19 23:50:20 centos.localdomain Login[2202]: 2018-06-20 00:50:20.221 Login[2202:2202] Exception occured while loading model: unable to contact GDNC server -
Jun 19 23:50:20 centos.localdomain Login[2202]: please check that the gdnc process is running.
Jun 19 23:50:20 centos.localdomain Login[2202]: I attempted to start it at '/Library/bin/gdnc'
Jun 19 23:50:20 centos.localdomain Login[2202]: 2018-06-20 00:50:20.221 Login[2202:2202] Failed to load Gorm
Jun 19 23:50:20 centos.localdomain Login[2202]: 2018-06-20 00:50:20.222 Login[2202:2202] Cannot load the main model file 'Login.gorm'
Jun 19 23:50:20 centos.localdomain systemd[1]: loginwindow.service: main process exited, code=killed, status=11/SEGV
Jun 19 23:50:21 centos.localdomain systemd[1]: Unit loginwindow.service entered failed state.
Jun 19 23:50:21 centos.localdomain systemd[1]: Triggering OnFailure= dependencies of loginwindow.service.
Jun 19 23:50:21 centos.localdomain systemd[1]: loginwindow.service failed.
[root@centos claus]#
trunkmaster commented 6 years ago

gpbs[2213:2213] Unable to register with name server. Looks like gdomap is not running. systemctl status gdomap?

clauseggers commented 6 years ago

Seem to be running:

[root@centos claus]# systemctl status gdomap -l
● gdomap.service - GNUstep Distributed Objects
   Loaded: loaded (/usr/NextSpace/lib/systemd/gdomap.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2018-06-19 19:00:33 CEST; 5h 16min ago
 Main PID: 1182 (gdomap)
   CGroup: /system.slice/gdomap.service
           └─1182 /Library/bin/gdomap -p -a /usr/NextSpace/etc/gdomap.interfaces

Jun 19 19:00:33 centos.localdomain systemd[1]: Starting GNUstep Distributed Objects...
Jun 19 19:00:33 centos.localdomain systemd[1]: Started GNUstep Distributed Objects.
trunkmaster commented 6 years ago

cat /etc/hosts? try to add centos centos.localdomain at the end of the line that starts with 127.0.0.1. I hope it will help.

clauseggers commented 6 years ago

Bingo! https://i.imgur.com/los6o4S.png hosts was:

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

so I added centos.localdomain, rebooted, and not it works.

trunkmaster commented 6 years ago

At last! I need to add instruction line to "Build and install" wiki article. Thank you for your patience!

clauseggers commented 6 years ago

You’re welcome! I’m quite impressed with how far you have come with this endeavour. Besides all the stuff that is not done yet, do you have any plans to modernise it, specifically in regards to high PPI displays?

trunkmaster commented 6 years ago

Sure! Not at the first place but I understand the need to adapt to high PPI displays. At the first sight main development effort will be inside GNUstep libraries. It's quite easy to adapt WindowMaker part of Workspace... But most work should be done with icons (switch to vector format - e.g. SVG), GNUstep controls, etc. Once I reached the 1.0 version (read as "implement features I consider important") and synchronize GNUstep libraries to current source tree and start enhance GNUstep part of project.

clauseggers commented 6 years ago

Great. I love NextStep/OpenStep as a window manager come desktop environment, but I just realised that I have no more computers with low-res displays anymore. The future snuck up on me.

trunkmaster commented 6 years ago

It's great to meet somebody with the same desktop vision and expectations. :) Stay tuned.

trunkmaster commented 6 years ago

@clauseggers, I've updated "Build and install" document. Check it out please and confirm issue can be closed.

clauseggers commented 6 years ago

It looks alright. The only detail missing is a $2 in the command under §3.5, so that it becomes:

# yum install `grep "BuildRequires" nextspace-frameworks.spec | awk -c '{print $2}'`
trunkmaster commented 6 years ago

You are very attentive. Thank you, I've fixed this.