LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-03-2020, 02:15 PM   #31
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370

Quote:
Originally Posted by saxa View Post
Dont waste your time, unless you want to fix it GDM does not work as of now. You have to start gnome with startx.
Wayland is also not working in standalone, but only with --nested from an X11 session. This is why is it still in testing.
If you want to start gnome from the console as a wayland session then this script works for me:

Code:
#!/bin/sh

export QT_QPA_PLATFORM=wayland
export XDG_SESSION_TYPE=wayland

exec dbus-run-session gnome-session
I also have no problem starting both gnome and xfce using lightdm as a DM with the lightdm-gtk-greeter front end. You can also start gnome with SDDM.

Last edited by chrisVV; 06-03-2020 at 02:17 PM.
 
Old 06-03-2020, 02:51 PM   #32
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,213

Rep: Reputation: 295Reputation: 295Reputation: 295
Ok, good to hear that. I just tried it manually and it does not work for me here. I would be curious to see other configurations and packages which you have installed, especially the pam and elogind configs. Is that all without modifications ?
 
Old 06-03-2020, 03:20 PM   #33
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by saxa View Post
Ok, good to hear that. I just tried it manually and it does not work for me here. I would be curious to see other configurations and packages which you have installed, especially the pam and elogind configs. Is that all without modifications ?
What errors do you get? I cannot see how the wayland script I mentioned could fail to work if wayland works when nested in X11.

Having said that, I don't use dropline (I have my own guile scripts which compile and install gnome for me). I had to patch mutter-3.36.0 to get it to work well with wayland but mutter-3.36.2 should be OK. I also had to patch cogl-1.22.6 to deal with a header issue I think brought about by slackware's introduction of libglvnd, and patch gnome-control-center-3.36 to keep it compiling with udisks-2.6.5 (if unpatched it now requires udisks-2.8 or greater). For PAM I use slackware-current's stock installation.

How do the wayland problems manifest themselves?
 
Old 06-03-2020, 04:34 PM   #34
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,213

Rep: Reputation: 295Reputation: 295Reputation: 295
I get the following error:
mutter-WARNING **: Failed to create backend: Could not get session ID: User 1001 has no sessions.
 
Old 06-03-2020, 05:15 PM   #35
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by saxa View Post
I get the following error:
mutter-WARNING **: Failed to create backend: Could not get session ID: User 1001 has no sessions.
That looks like an elogind issue, and that the daemon hasn't started. In that case, I wonder how it is that startx works for a X11 session? On looking at my PAM configuration I see that I have added '-session optional pam_elogind.so' to system-auth but I cannot see how that would be relevant to your issue. Try also forcing a new session with 'su [loginname]' before calling the script (yes I know you have already logged in, but ...) .
 
Old 06-04-2020, 05:39 AM   #36
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,213

Rep: Reputation: 295Reputation: 295Reputation: 295
Thanks for the suggestions, su did not worked. I will have to work that on the pam / elogind side. But I also think that maybe the patch you are using for mutter could be the thing. Can you post that patch please ?
 
Old 06-04-2020, 08:55 AM   #37
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by saxa View Post
Thanks for the suggestions, su did not worked. I will have to work that on the pam / elogind side. But I also think that maybe the patch you are using for mutter could be the thing. Can you post that patch please ?
Oh well. That is rather odd.

I attach two patches for mutter-3.36.0. However these are not needed (and will not apply) for mutter-3.36.2. mutter-3.36.2 should work OK as is.

However you will need the cogl patch which I also attach. Although prepared for cogl-1.22.4, it is also required by cogl-1.22.6, and is brought about by slackware's libglvnd.
Attached Files
File Type: txt mutter-3.36.0.crash.txt (490 Bytes, 5 views)
File Type: txt mutter-3.36.0.wayland.txt (980 Bytes, 7 views)
File Type: txt cogl-1.22.4.wayland.txt (1.5 KB, 3 views)
 
Old 06-04-2020, 09:09 AM   #38
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
By the way, if you want to test your mutter compositor for wayland without invoking the whole of gnome, you can start a wayland desktop under mutter from the console with:
Code:
dbus-launch --exit-with-session mutter --wayland --display-server
and then go to a different console and enter
Code:
dbus-launch xfce4-terminal --display=wayland-0
and then start wayland aware applications from the xfce4-terminal.

You can also start X11 clients on this wayland session via Xwayland by defining DISPLAY as :0.

You have to do 'killall mutter' from the second console to kill the mutter desktop.

Edit I should also mention that all GTK-3 programs in slackware-current are now "wayland aware" for this purpose, including most of xfce (but not the window manager).

Last edited by chrisVV; 06-04-2020 at 09:22 AM.
 
Old 06-04-2020, 09:37 AM   #39
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,213

Rep: Reputation: 295Reputation: 295Reputation: 295
Thanks, mutter starting from within gnome x11 session from terminal gives me the same error. So it does not see that my user has a session. I will try to apply yor patches , by the way cogl has a new version out today so I will try to build it with the patch you supply here. Will see if I have some time to play with this during this weekend.

Thanks for now.
 
Old 06-04-2020, 12:57 PM   #40
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by saxa View Post
I will try to apply yor patches , by the way cogl has a new version out today so I will try to build it with the patch you supply here.
With the new cogl-1.22.8 you don't need the patch I gave you - it has been incorporated upstream and is now already applied. So both the latest mutter and cogl should work for you without patching.
 
Old 06-04-2020, 02:37 PM   #41
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,213

Rep: Reputation: 295Reputation: 295Reputation: 295
Perfect, many thanks !
 
Old 06-16-2020, 05:24 AM   #42
LBuhler
LQ Newbie
 
Registered: Apr 2020
Location: The Netherlands
Distribution: Ubuntu
Posts: 11

Rep: Reputation: Disabled
Gnome on slack64-current using BLFS

Hi Saxa,

I'm building Gnome myself using the BLFS instructions. I've managed to compile almost everything, except GDM. I can't get GDM to build and configure without systemd. How did you manage to do that? The Arch/Gentoo build scripts for GDM also give me zilch. I can't seem to turn of the systemd component for GDM.

Thanks for your great work, really looking forward to the new Dropline Gnome version!
 
Old 06-16-2020, 05:29 AM   #43
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,213

Rep: Reputation: 295Reputation: 295Reputation: 295
Hi, you have to use elogind and set the SYSTEMD_LIBS and other flags to think it uses systemd. Take a look at the build scripts on sf.net
in the DLG_3_36 branch.
 
1 members found this post helpful.
Old 06-17-2020, 01:27 AM   #44
LBuhler
LQ Newbie
 
Registered: Apr 2020
Location: The Netherlands
Distribution: Ubuntu
Posts: 11

Rep: Reputation: Disabled
Thanks Saxa,

I'll dig into it with your buildscripts and keep you posted.

Cheers,

Laurens
 
Old 06-17-2020, 05:31 AM   #45
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
You might also want to look at the GUIX build for gdm at https://git.savannah.gnu.org/cgit/gu...ages/gnome.scm (search for "gdm"). Look in particular for "substitute*". Even so I've not got it to work under elogind, only under systemd, but clearly it can be done because GUIX manage it.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dropline GNOME 3.8 - testing packages saxa Slackware 124 11-26-2013 06:43 PM
current with dropline gnome berVi Slackware 25 06-21-2007 02:14 PM
Editing an .exe file (Dropline-GNOME and Slackware Current) DreameR-X Linux - General 4 06-05-2005 03:59 PM
slack-current of dropline ? Hi all :-) slack-current of dropline ? frochet Slackware 2 06-11-2004 11:57 AM
Gnome 2.6 in the current branch? (+Questions about Dropline) the who Slackware 6 05-06-2004 11:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration