View previous topic :: View next topic |
Author |
Message |
necktwi Apprentice
Joined: 24 Aug 2018 Posts: 171
|
Posted: Fri Feb 15, 2019 6:07 pm Post subject: |
|
|
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 |
|
|
runningnak3d n00b
Joined: 05 Sep 2018 Posts: 62
|
Posted: Fri Feb 15, 2019 7:32 pm Post subject: |
|
|
Do you have a laptop with nVidia Optimus?
-- Brian |
|
Back to top |
|
|
necktwi Apprentice
Joined: 24 Aug 2018 Posts: 171
|
Posted: Fri Feb 15, 2019 11:10 pm Post subject: |
|
|
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 |
|
|
dantrell l33t
Joined: 01 Jun 2007 Posts: 915 Location: Earth
|
Posted: Sat Feb 16, 2019 4:38 am Post subject: |
|
|
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):
I suggest you try the xdm method first though. _________________ Dantrell B. |
|
Back to top |
|
|
necktwi Apprentice
Joined: 24 Aug 2018 Posts: 171
|
|
Back to top |
|
|
dantrell l33t
Joined: 01 Jun 2007 Posts: 915 Location: Earth
|
Posted: Sat Feb 16, 2019 7:49 pm Post subject: |
|
|
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 |
|
|
necktwi Apprentice
Joined: 24 Aug 2018 Posts: 171
|
Posted: Sat Feb 16, 2019 10:39 pm Post subject: |
|
|
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 |
|
|
dantrell l33t
Joined: 01 Jun 2007 Posts: 915 Location: Earth
|
Posted: Sun Feb 17, 2019 12:38 am Post subject: |
|
|
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 |
|
|
necktwi Apprentice
Joined: 24 Aug 2018 Posts: 171
|
Posted: Sun Feb 17, 2019 4:02 am Post subject: |
|
|
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 |
|
|
dantrell l33t
Joined: 01 Jun 2007 Posts: 915 Location: Earth
|
Posted: Sun Feb 17, 2019 7:03 am Post subject: |
|
|
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 |
|
|
necktwi Apprentice
Joined: 24 Aug 2018 Posts: 171
|
Posted: Sun Feb 17, 2019 7:11 am Post subject: |
|
|
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 |
|
|
necktwi Apprentice
Joined: 24 Aug 2018 Posts: 171
|
Posted: Sun Feb 17, 2019 1:59 pm Post subject: |
|
|
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 |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31268 Location: here
|
Posted: Sun Feb 17, 2019 2:36 pm Post subject: |
|
|
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 |
|
|
necktwi Apprentice
Joined: 24 Aug 2018 Posts: 171
|
Posted: Sun Feb 17, 2019 2:38 pm Post subject: |
|
|
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 |
|
|
dantrell l33t
Joined: 01 Jun 2007 Posts: 915 Location: Earth
|
Posted: Sun Feb 17, 2019 4:33 pm Post subject: |
|
|
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 |
|
|
Shibotto Apprentice
Joined: 19 Jun 2015 Posts: 157 Location: CET/CEST
|
Posted: Thu Feb 21, 2019 9:37 am Post subject: |
|
|
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 |
|
|
dantrell l33t
Joined: 01 Jun 2007 Posts: 915 Location: Earth
|
Posted: Fri Feb 22, 2019 12:08 am Post subject: |
|
|
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). |
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 _________________ Dantrell B. |
|
Back to top |
|
|
Child_of_Sun_24 l33t
Joined: 28 Jul 2004 Posts: 602
|
Posted: Fri Feb 22, 2019 8:59 am Post subject: |
|
|
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 |
|
|
dantrell l33t
Joined: 01 Jun 2007 Posts: 915 Location: Earth
|
Posted: Fri Feb 22, 2019 8:38 pm Post subject: |
|
|
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 |
|
|
Shibotto Apprentice
Joined: 19 Jun 2015 Posts: 157 Location: CET/CEST
|
Posted: Sat Feb 23, 2019 8:40 pm Post subject: |
|
|
dantrell wrote: | 4. make sure Shibotto doesn't catch fire |
LOL |
|
Back to top |
|
|
Elleni Veteran
Joined: 23 May 2006 Posts: 1289
|
Posted: Sat Feb 23, 2019 9:10 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
dantrell l33t
Joined: 01 Jun 2007 Posts: 915 Location: Earth
|
Posted: Sun Feb 24, 2019 6:58 am Post subject: |
|
|
Elleni wrote: | Synced and tried upgrading system gave me [...] |
I'm pleased to announce that this one wasn't my fault.
>=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 |
|
|
Elleni Veteran
Joined: 23 May 2006 Posts: 1289
|
Posted: Mon Feb 25, 2019 6:56 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
Leio Developer
Joined: 27 Feb 2003 Posts: 494 Location: Estonia
|
Posted: Wed Feb 27, 2019 4:17 pm Post subject: |
|
|
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 |
|
|
drudox l33t
Joined: 28 Jan 2016 Posts: 919
|
|
Back to top |
|
|
|