Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dantrell's GNOME Without Systemd Project (Part 2)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 12, 13, 14, 15, 16  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
necktwi
Apprentice
Apprentice


Joined: 24 Aug 2018
Posts: 171

PostPosted: Fri Feb 15, 2019 6:07 pm    Post subject: Reply with quote

I've finished following all the steps in https://wiki.gentoo.org/wiki/GNOME/GNOME_Without_systemd but i don't get the login screen.

when i do sudo gdm
Code:
Feb 16 05:04:14 DeepGentoo sudo[6200]: pam_unix(sudo:session): session opened for user root by Necktwi(uid=0)
Feb 16 05:04:14 DeepGentoo sudo[6200]: pam_elogind(sudo:session): Cannot create session: Already running in a session or user slice

but i think its related to sudo. its printed everytime I use sudo.

How to debug? I don't find any log in /var/log/gdm/
Back to top
View user's profile Send private message
runningnak3d
n00b
n00b


Joined: 05 Sep 2018
Posts: 62

PostPosted: Fri Feb 15, 2019 7:32 pm    Post subject: Reply with quote

Do you have a laptop with nVidia Optimus?

-- Brian
Back to top
View user's profile Send private message
necktwi
Apprentice
Apprentice


Joined: 24 Aug 2018
Posts: 171

PostPosted: Fri Feb 15, 2019 11:10 pm    Post subject: Reply with quote

No, mine a Lenovo G570 with Intel Core i3-2350M HD Graphics 3000
and AMD Radeon HD 6300M switchable graphics.
I've set VIDEO_CARDS="intel i965 radeon vmware". (vmware to boot the hard disk partition from windows VMWare virtual machine)
Back to top
View user's profile Send private message
dantrell
l33t
l33t


Joined: 01 Jun 2007
Posts: 915
Location: Earth

PostPosted: Sat Feb 16, 2019 4:38 am    Post subject: Reply with quote

necktwi wrote:
I've finished following all the steps in https://wiki.gentoo.org/wiki/GNOME/GNOME_Without_systemd but i don't get the login screen.

when i do sudo gdm [...]

I don't know what "sudo gdm" is supposed to do. If you want that to work, you are on your own.

The project documentation illustrates 2 ways of starting GNOME (after appropriate configuration):

1. eselect rc start xdm (or rc-service xdm start)

2. startx

The project documentation also assumes you had X working before you activated the project overlays.

necktwi wrote:
How to debug? I don't find any log in /var/log/gdm/

By running "gnome-session" directly (and without sudo):

Code:
gnome-session

I suggest you try the xdm method first though.
_________________
Dantrell B.
Back to top
View user's profile Send private message
necktwi
Apprentice
Apprentice


Joined: 24 Aug 2018
Posts: 171

PostPosted: Sat Feb 16, 2019 5:23 am    Post subject: Reply with quote

rc-service gdm start gives no complain but startx or gnome-session through these errors/warnings:

https://paste.pound-python.org/show/YithbfnCpePWZfD5ou3J/

Thank you!
Back to top
View user's profile Send private message
dantrell
l33t
l33t


Joined: 01 Jun 2007
Posts: 915
Location: Earth

PostPosted: Sat Feb 16, 2019 7:49 pm    Post subject: Reply with quote

necktwi wrote:
rc-service gdm start gives no complain but startx or gnome-session through these errors/warnings [...]

If you are running a virtualized setup the only guaranteed™ way to start GNOME (assuming X works in the first place) is to use the "xdm" service.

"gnome-session" probably won't work without defining DISPLAY (especially if your setup involves a nested X session).
_________________
Dantrell B.
Back to top
View user's profile Send private message
necktwi
Apprentice
Apprentice


Joined: 24 Aug 2018
Posts: 171

PostPosted: Sat Feb 16, 2019 10:39 pm    Post subject: Reply with quote

I am sorry. I meant rc-service xdm start. not gdm.

how to set DISPLAY? I've already set DISPLAYMANAGER to gdm in /etc/conf.d/xdm.

Mine just a laptop with out any external monitors. I don't know what a nested X session is. I am not running gentoo in any virtual machine.
Back to top
View user's profile Send private message
dantrell
l33t
l33t


Joined: 01 Jun 2007
Posts: 915
Location: Earth

PostPosted: Sun Feb 17, 2019 12:38 am    Post subject: Reply with quote

necktwi wrote:
I am not running gentoo in any virtual machine.

To be clear you are saying starting GNOME via the "xdm" service works but nothing else does?
_________________
Dantrell B.
Back to top
View user's profile Send private message
necktwi
Apprentice
Apprentice


Joined: 24 Aug 2018
Posts: 171

PostPosted: Sun Feb 17, 2019 4:02 am    Post subject: Reply with quote

As you can see in the paste, rc-service xdm start says [ok] but I don't get a login screen or gui. gnome-session and startx throws errors as shown in the paste.
Back to top
View user's profile Send private message
dantrell
l33t
l33t


Joined: 01 Jun 2007
Posts: 915
Location: Earth

PostPosted: Sun Feb 17, 2019 7:03 am    Post subject: Reply with quote

necktwi wrote:
As you can see in the paste, rc-service xdm start says [ok] but I don't get a login screen or gui. gnome-session and startx throws errors as shown in the paste.

In that case, I misinterpreted your earlier post.

If you are not running a virtualized setup then both the "xdm" service and "gnome-session" command should just work.

Since they don't, I'm going to suggest you put GNOME on hold and make sure you actually have X working first.
_________________
Dantrell B.
Back to top
View user's profile Send private message
necktwi
Apprentice
Apprentice


Joined: 24 Aug 2018
Posts: 171

PostPosted: Sun Feb 17, 2019 7:11 am    Post subject: Reply with quote

I believe X and Wayland are counterparts. I want Wayland. So I have put "-X" in USE flag.

USE="-X egl gles2 gles wayland -ck elogind egl" are my flags.

Should I remove -X? what should be my new USE now?

Thank you!
Back to top
View user's profile Send private message
necktwi
Apprentice
Apprentice


Joined: 24 Aug 2018
Posts: 171

PostPosted: Sun Feb 17, 2019 1:59 pm    Post subject: Reply with quote

What is the difference between default gnome profile and dantrell gnome profile?

default/linux/amd64/17.0/desktop/gnome
vs
dantrell-gnome-3-24:default/linux/amd64/17.0/desktop/gnome/3.24
?

Thank you!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31268
Location: here

PostPosted: Sun Feb 17, 2019 2:36 pm    Post subject: Reply with quote

necktwi wrote:
default/linux/amd64/17.0/desktop/gnome

This is the official gentoo profile for gnome that use systemd

necktwi wrote:
dantrell-gnome-3-24:default/linux/amd64/17.0/desktop/gnome/3.24

This is default drantrell-gnome (gnome without systemd) profile. Use this if you want gnome without systemd
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
necktwi
Apprentice
Apprentice


Joined: 24 Aug 2018
Posts: 171

PostPosted: Sun Feb 17, 2019 2:38 pm    Post subject: Reply with quote

then what is default/linux/amd64/17.0/desktop/gnome/systemd vs default/linux/amd64/17.0/desktop/gnome

and how do I make sure I have X working as suggested by dantrell?
Back to top
View user's profile Send private message
dantrell
l33t
l33t


Joined: 01 Jun 2007
Posts: 915
Location: Earth

PostPosted: Sun Feb 17, 2019 4:33 pm    Post subject: Reply with quote

necktwi wrote:
I believe X and Wayland are counterparts. I want Wayland. So I have put "-X" in USE flag.

USE="-X egl gles2 gles wayland -ck elogind egl" are my flags.

Should I remove -X? what should be my new USE now?

The project documentation is designed to be followed immediately after extracting a fresh stage 3 tarball and following the Gentoo Handbook. No manual USE flags are suggested at all since the bundled profiles cover everything.

As for Wayland, these are the only configuration instructions I provide (and they assume you have met all the conditions for Wayland to work).

You can feel free to make whatever undocumented USE flag changes you want after GNOME is running because then you'll know the cause of whatever problems you have.

necktwi wrote:
then what is default/linux/amd64/17.0/desktop/gnome/systemd vs default/linux/amd64/17.0/desktop/gnome

Gentoo started rolling out elogind support for GNOME so if that currently works (which I don't know since I haven't tested it) then the default/linux/amd64/17.0/desktop/gnome profile can be used but you have to turn on the elogind "knobs" yourself.

Obviously, that's not something I provide support for.

necktwi wrote:
and how do I make sure I have X working as suggested by dantrell?

As I stated earlier, the project documentation assumes you had X working before you activated the project overlays. It provides a list of dependencies and links to their corresponding Gentoo Wiki pages.

Please follow the link for the X Window server and read the second half of the startx section.

Help with the prerequisites also aren't really something I provide support for but your problem probably is related to the USE flag change you mentioned so please compare your setup against the project documentation (and against what I said about how the project documentation was designed to be followed) to ensure you didn't make any contrary changes.
_________________
Dantrell B.
Back to top
View user's profile Send private message
Shibotto
Apprentice
Apprentice


Joined: 19 Jun 2015
Posts: 157
Location: CET/CEST

PostPosted: Thu Feb 21, 2019 9:37 am    Post subject: Reply with quote

Quick fix: media-gfx/gthumb needs this Gentoo patch targeting 3.6.2 to build against the recently stabilized media-gfx/exiv2-0.27.0-r2.
Back to top
View user's profile Send private message
dantrell
l33t
l33t


Joined: 01 Jun 2007
Posts: 915
Location: Earth

PostPosted: Fri Feb 22, 2019 12:08 am    Post subject: Reply with quote

Shibotto wrote:
Quick fix: media-gfx/gthumb needs this Gentoo patch targeting 3.6.2 to build against the recently stabilized media-gfx/exiv2-0.27.0-r2.

Done. ;)

dantrell wrote:
Said move is complete.

I took the time yesterday to review EAPI 7, Python 3.7 and GCC 8.2 which led me to also review my secret overlay toolkit where (once again) I found some room for improvement.

I am holding off on EAPI 7 but Python 3.7 should be good to go after a final review. A review of a new GCC release actually means I check if the previous version achieves build passing and we should be good there too.

The official documentation was also updated to drop support for Funtoo Linux (there are portage tree compatibility issues that need to be resolved on their end).

This leaves Shibotto's problem from last month (the poor lad is still on fire, whoops). :twisted:

With GNOME 3.32 on the horizon (March 13) I thought I'd continue my overall status update from last year.

As I said mentioned in a recent post, Gentoo started rolling out elogind support for GNOME and provides the default/linux/[arch]/x.y/desktop/gnome profiles which don't pull in systemd but you have to turn on the elogind "knobs" yourself. I haven't tested this myself so I don't know if it works but since Funtoo switched to this implementation I'm going to guess it does.

You can track elogind integration on Gentoo bug #599470 and find the instructions to turn on the "knobs" on the elogind Wiki page.

That said, since I still use GNOME (which was one of the two conditions for long-term support) I will continue supporting the project. My objectives for GNOME 3.32 would be to:

1. hard-sync against Gentoo where applicable

2. review and possibly implement EAPI 7 for the non-generic overlays

3. review GCC 9.0 and confirm build against GCC 8.2

4. make sure Shibotto doesn't catch fire :twisted:
_________________
Dantrell B.
Back to top
View user's profile Send private message
Child_of_Sun_24
l33t
l33t


Joined: 28 Jul 2004
Posts: 602

PostPosted: Fri Feb 22, 2019 8:59 am    Post subject: Reply with quote

Hi @all
When i try to update to media-libs/libchamplain-0.12.18 the following error occurs:

Code:
 * Package:    media-libs/libchamplain-0.12.18
 * Repository: dantrell-gnome
 * Maintainer: gnome@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc gtk introspection kernel_linux userland_GNU vala
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking libchamplain-0.12.18.tar.xz to /var/tmp/portage/media-libs/libchamplain-0.12.18/work
>>> Source unpacked in /var/tmp/portage/media-libs/libchamplain-0.12.18/work
>>> Preparing source in /var/tmp/portage/media-libs/libchamplain-0.12.18/work/libchamplain-0.12.18 ...
sed: docs/reference/Makefile.in kann nicht gelesen werden: Datei oder Verzeichnis nicht gefunden
 * ERROR: media-libs/libchamplain-0.12.18::dantrell-gnome failed (prepare phase):
 *   sed (1) failed
 *
 * Call stack:
 *     ebuild.sh, line 124:  Called src_prepare
 *   environment, line 2674:  Called die
 * The specific snippet of code:
 *    sed -e "s/^DOC_MODULE.*/DOC_MODULE = ${PN}-${SLOT}/" -i docs/reference/Makefile.{am,in} || die "sed (1) failed";
 *
 * If you need support, post the output of `emerge --info '=media-libs/libchamplain-0.12.18::dantrell-gnome'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/libchamplain-0.12.18::dantrell-gnome'`.
 * The complete build log is located at '/var/log/portage/media-libs:libchamplain-0.12.18:20190222-085619.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-libs/libchamplain-0.12.18/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/libchamplain-0.12.18/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/libchamplain-0.12.18/work/libchamplain-0.12.18'
 * S: '/var/tmp/portage/media-libs/libchamplain-0.12.18/work/libchamplain-0.12.18'
Back to top
View user's profile Send private message
dantrell
l33t
l33t


Joined: 01 Jun 2007
Posts: 915
Location: Earth

PostPosted: Fri Feb 22, 2019 8:38 pm    Post subject: Reply with quote

Child_of_Sun_24 wrote:
When i try to update to media-libs/libchamplain-0.12.18 the following error occurs [...]

I took a closer look and it turns out this package moved to the Meson build system.

I have accounted for this so you should be good to go (but if there are still issues I'm probably going to table it until GNOME 3.32).
_________________
Dantrell B.
Back to top
View user's profile Send private message
Shibotto
Apprentice
Apprentice


Joined: 19 Jun 2015
Posts: 157
Location: CET/CEST

PostPosted: Sat Feb 23, 2019 8:40 pm    Post subject: Reply with quote

dantrell wrote:
4. make sure Shibotto doesn't catch fire :twisted:

LOL
Back to top
View user's profile Send private message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1289

PostPosted: Sat Feb 23, 2019 9:10 pm    Post subject: Reply with quote

Synced and tried upgrading system gave me
Code:
These are the packages that would be merged, in order:

Calculating dependencies                         ... done!           

!!! All ebuilds that could satisfy ">=sys-apps/dbus-1.9.8[systemd]" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-apps/dbus-1.12.12-r1::dantrell-gnome (masked by: missing keyword)
- sys-apps/dbus-1.12.12-r1::gentoo (masked by: package.mask, ~amd64 keyword)
- sys-apps/dbus-1.12.12::dantrell-gnome (masked by: missing keyword)
- sys-apps/dbus-1.10.24::gentoo (masked by: package.mask)
- sys-apps/dbus-1.10.18::gentoo (masked by: package.mask)

(dependency required by "sys-apps/systemd-239-r4::gentoo" [ebuild])
(dependency required by "www-misc/profile-sync-daemon-6.31::gentoo" [ebuild])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

Thought, I should report this here :twisted:
Back to top
View user's profile Send private message
dantrell
l33t
l33t


Joined: 01 Jun 2007
Posts: 915
Location: Earth

PostPosted: Sun Feb 24, 2019 6:58 am    Post subject: Reply with quote

Elleni wrote:
Synced and tried upgrading system gave me [...]

I'm pleased to announce that this one wasn't my fault. :P

>=www-misc/profile-sync-daemon-6.31 now hard depends on systemd and the older (more friendly) versions were dropped from the main tree.

For details see Gentoo bug #678658.
_________________
Dantrell B.
Back to top
View user's profile Send private message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1289

PostPosted: Mon Feb 25, 2019 6:56 pm    Post subject: Reply with quote

I wasn't aware of this package, and as equery d revealed, there is nothing depending on it, emerge -C did the trick :)

Thanks for your great work, dantrell :D
Back to top
View user's profile Send private message
Leio
Developer
Developer


Joined: 27 Feb 2003
Posts: 494
Location: Estonia

PostPosted: Wed Feb 27, 2019 4:17 pm    Post subject: Reply with quote

How is gdm-3.30.2 in your overlay functional with --with-initial-vt=7? For me on systemd then it won't start up the login screen until manually going to VT7 with alt+F7. Does it behave different under elogind?
_________________
GNOME team lead; GStreamer; MIPS/ARM64
Back to top
View user's profile Send private message
drudox
l33t
l33t


Joined: 28 Jan 2016
Posts: 919

PostPosted: Wed Feb 27, 2019 6:53 pm    Post subject: Reply with quote

Hi Dandrell , O've just decide to install gnome in my gentoo, follow the wiki : https://wiki.gentoo.org/wiki/GNOME/GNOME_Without_systemd

I have modified the profile to
Code:

Current /etc/portage/make.profile symlink:
  dantrell-gnome-3-30:default/linux/amd64/17.0/desktop/gnome/3.30/extended


and than give :
Code:

 emerge --deep --with-bdeps=y --changed-use --update --ask --verbose @world


I got several build errors :

gdk-pixbuf this is thel log : http://dpaste.com/3P14MZJ
gtk+ : http://dpaste.com/1PMQDK1
polkit : http://dpaste.com/061HKSR

what's going on ??
thanks in advance for your precious support
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3 ... 12, 13, 14, 15, 16  Next
Page 13 of 16

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum