Re: [gnome-flashback] Issue with Metacity



gnome-session.service file use $DESKTOP_SESSION env to decide which session to start. My guess is that ldm somehow sets wrong value for it.

You should have this file. Create backup of that file and then then set DESKTOP_SESSION to gnome-flashback-metacity:
DESKTOP_SESSION=gnome-flashback-metacity

Now you should be logged in Metacity session, if I am not wrong. If that still doesn't work then problem might be somewhere else, but if that works you should report this bug here - https://bugs.launchpad.net/ltsp/+filebug


On Mon, Oct 15, 2018 at 1:54 PM Michael Crider - HOEC <mcrider hoecoop org> wrote:
I'm not sure if this is what you are looking for, but here is the contents from /lib/systemd/system/gnome-session-flashback.target, which is identical to /usr/lib/systemd/user/gnome-session-flashback.target:
[Unit]
Description=User systemd services for the GNOME Flashback sessions
Requires=graphical-session-pre.target
Requires=indicators-pre.target
# start/tear down graphical-session.target along with the ubuntu session
BindsTo=graphical-session.target
# session leader -- if this dies, die along with it
BindsTo=gnome-session.service
# here we list the indicators that we want to load
Wants=indicator-application.service
Wants=indicator-bluetooth.service
Wants=indicator-datetime.service
Wants=indicator-keyboard.service
Wants=indicator-messages.service
Wants=indicator-power.service
Wants=indicator-session.service
Wants=indicator-sound.service
Wants=indicator-printers.service

This file comes from the 3.28.0-1 package in Ubuntu's universe repository.

Let me know if there is anything else I can provide.

On 10/13/2018 04:11 AM, Alberts Muktupāvels via gnome-flashback-list wrote:
Hi!

Do you know where I could find/see systemd services for the GNOME Flashback sessions. From output it looks like these files are provided by someone else / does not look like upstream files.


On Fri, Oct 12, 2018 at 11:37 PM Michael Crider - HOEC <mcrider hoecoop org> wrote:
I am having an issue that has so many moving parts involved I'm not sure where the problem lies. I am trying to build an LTSP server using Ubuntu 18.04. For those not familiar with LTSP (Linux Terminal Server Project), it creates an image suitable for downloading to thick clients via tftp at boot. The greeter is LDM, but it uses an ssh session to the server for authentication. We have used it for many years, with Gnome Flashback (Metacity) our desktop of choice since it became available in Ubuntu LTS. Recently LTSP for Ubuntu development has focused on Ubuntu MATE (instructions for 18.04 at http://wiki.ltsp.org/wiki/Installation/Ubuntu). Following these instructions, I added the package gnome-session-flashback, and booted a thick client. The session list gives both GNOME Flashback (Compiz) and GNOME Flashback (Metacity). No matter which one I choose, I get compiz. I started over building the server with standard Ubuntu Desktop and added the gnome-session-flashback package, which suggested but did not install the compiz package. The session list gives only GNOME Flashback (Metacity), but when logging in it gives a black screen with a spinning cursor for a moment, then goes back to the login. Both methods show similar messages in syslog:
systemd[1857]: Started GNOME Session Manager.
systemd[1857]: Reached target User systemd services for the GNOME Flashback sessions.
sh[2103]: + [ gnome-flashback-compiz != gnome-classic ]
sh[2103]: + export GNOME_SESSION_XDG_SESSION_PATH=
sh[2103]: + [ gnome-flashback-compiz = gnome-flashback-metacity ]
sh[2103]: + exec gnome-session --session=gnome-flashback-compiz
If I log in at the console of the server and choose Metacity, I get Metacity. The syslog looks like this:
systemd[4589]: Started GNOME Session Manager.
sh[5053]: + [ gnome-flashback-metacity != gnome-classic ]
sh[5053]: + export GNOME_SESSION_XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
sh[5053]: + [ gnome-flashback-metacity = gnome-flashback-metacity ]
sh[5053]: + exec gnome-session --session=gnome-flashback-metacity --disable-acceleration-check
systemd[4589]: Reached target User systemd services for the GNOME Flashback sessions.
Can someone more familiar with the inner workings of GNOME Flashback point me to where the issue might be, or advise what might give better info for troubleshooting?
--
Michael Crider, IT Supervisor
Howell-Oregon Electric Cooperative
West Plains MO
http://www.hoecoop.org
_______________________________________________
gnome-flashback-list mailing list
gnome-flashback-list gnome org
https://mail.gnome.org/mailman/listinfo/gnome-flashback-list


--
Alberts Muktupāvels


_______________________________________________
gnome-flashback-list mailing list
gnome-flashback-list gnome org
https://mail.gnome.org/mailman/listinfo/gnome-flashback-list



--
Alberts Muktupāvels


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]