You are not logged in.

#1 2015-12-22 11:24:29

fib
Member
Registered: 2012-06-13
Posts: 13

[SOLVED] starting gnome-session without DM

Hi everybody,

I'm facing a problem with correctly starting gnome-session (last version) from virtual terminal.
In details:

from non-root login:
1) I run 'startx /usr/bin/gnome-session':
    --> gnome-shell starts correctly
    --> some apps do not start (e.g  gnome-terminal).
    --> I start xterm:
             --> running gnome-terminal returns an error about failed dbus name owning.
                        ---> browsing with dfeet toward that service also fails to introspect it (although the service name is there)
             --> running sudo gnome-terminal works fine.
2) logout from X

3) I start gnome-session on Wayland  "gnome-session --session=gnome-wayland"
     --> everything works out of the box
     --> logout from wayland
     --> start X as in (1)
     --> everthing works!

I checked the processes running during the above simulation and I saw that when loggin out from wayland in point (3) many services owned by the user are still running.

Is this problem valid also for you or is it a problem relative to my configuration?

Last edited by fib (2015-12-23 10:31:47)

Offline

#2 2015-12-22 16:09:05

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,720

Re: [SOLVED] starting gnome-session without DM

I assume your title should say, "... without a DM" (Display Manger), rather than, "... without a DE" (Desktop Environment).  Gnome is a DE.

Can you share your ~/.xinitrc file


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2015-12-23 01:52:22

fib
Member
Registered: 2012-06-13
Posts: 13

Re: [SOLVED] starting gnome-session without DM

You're right, I didn't realize the typo.

Actually I am using no xinitrc file, just the above mentioned command.

Offline

#4 2015-12-23 02:10:10

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: [SOLVED] starting gnome-session without DM

You need to use a .xinitrc (not necessary this name, you can specify a file: `startx ~/somefile`) with this at the top: https://ptpb.pw/dREl.txt , which will make startx source the scripts in /etc/X11/xinit/xinitrc.d/. In your case, for example, 50-systemd-user.sh can't be missed for apps like gnome-terminal.

Offline

Board footer

Powered by FluxBB