[Bug 1882102] Re: [vmwgfx] Gnome Desktop only starting with root rights
** Changed in: xorg-server (Ubuntu) Status: Expired => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882102 Title: [vmwgfx] Gnome Desktop only starting with root rights To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1882102/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1882102] Re: [vmwgfx] Gnome Desktop only starting with root rights
[Expired for xorg-server (Ubuntu) because there has been no activity for 60 days.] ** Changed in: xorg-server (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882102 Title: [vmwgfx] Gnome Desktop only starting with root rights To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1882102/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1882102] Re: [vmwgfx] Gnome Desktop only starting with root rights
Ah, that makes much sense. If you are having problems you could help yourself. ;) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882102 Title: [vmwgfx] Gnome Desktop only starting with root rights To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1882102/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1882102] Re: [vmwgfx] Gnome Desktop only starting with root rights
I am using multi-user.target because I am compiling gnome-shell from scratch, for development. So also run it manually. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882102 Title: [vmwgfx] Gnome Desktop only starting with root rights To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1882102/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1882102] Re: [vmwgfx] Gnome Desktop only starting with root rights
You are using multi user target because you like to or also having some kind of problems? If I use (which means removing the if else) exec /usr/libexec/gnome-session-binary --systemd "$@" the result is the same. Still the same message for missing permission. And with exec /usr/libexec/gnome-session-binary --builtin "$@" the result is identical. I thought maybe it's good to sort out this error first and if there are no problems without starting GUI without root rights than maybe a second bug report for boot to gui. But I can also open another bug report now. I'm not sure if this bugs / problems are connected in any way or not. With 18.04 I did not have this kind of errors on both machines. The funny thing is: On my Raspberry Pi 4b it is working from start (ok, this is a special distribution for special hardware so it should run). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882102 Title: [vmwgfx] Gnome Desktop only starting with root rights To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1882102/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1882102] Re: [vmwgfx] Gnome Desktop only starting with root rights
> if I try to boot directly to GUI the resolution changes several times ... and then get's stuck. That sounds like an interesting separate bug which we might be able to fix or explain. Please open a new bug for that if you can. > I now switched both VPS to multi user target insted of graphical boot By chance I am also using multi-user.target right now. But 'startx' works for me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882102 Title: [vmwgfx] Gnome Desktop only starting with root rights To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1882102/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1882102] Re: [vmwgfx] Gnome Desktop only starting with root rights
BTW, the failing line 29 of script is systemd-related: if [ -d "${XDG_RUNTIME_DIR}/systemd" ]; then exec /usr/libexec/gnome-session-binary --systemd "$@" else exec /usr/libexec/gnome-session-binary --builtin "$@" fi So I wonder if you just need to remove ${XDG_RUNTIME_DIR}/systemd ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882102 Title: [vmwgfx] Gnome Desktop only starting with root rights To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1882102/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1882102] Re: [vmwgfx] Gnome Desktop only starting with root rights
To be clear - I have not found an edit option: -stop service gdm3 -start service gdm3 +sudo service gdm3 stop +sudo service gdm3 start This will not result in something visible in the VNC. sudo startx does. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882102 Title: [vmwgfx] Gnome Desktop only starting with root rights To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1882102/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1882102] Re: [vmwgfx] Gnome Desktop only starting with root rights
Can you log in normally from the login screen? Is it only an issue with 'startx'? No, if I try to boot directly to GUI the resolution changes several times (I can see that via VNC which is available at boot time for the VPS because the VNC size is changing several times) and then get's stuck. This happens on two different VPS. I have upgraded from 18.04 LTS. But this error is not connected to the update. I also tried to use a fresh install and the result was the same. Which means there is no login screen on both machines. If it get's stuck the beavior is different on both VPS even if I copy everything except /sys /run /proc (which means the same installation is used) one VPS gets stuck in a purple screen and it is possible to change to command line via Alt+F. The other one ends up in a blueish screen with lines and a blinking cursor but this one is totally stuck. I added two screenshots of that. Sometimes I see the desktop for a part of a socond between the resolution changes. I also tried to set a fixed resolution but was not sucessfull because the switching is still happening. If I stop the gdm serrvice startx with root is possible afterwards. IT took me a while to realize this because at first I thought I should focus on the GUI boot problem. I now switched both VPS to multi user target insted of graphical boot. If I use stop service gdm3 and start service gdm3 the result is the same like described above. XRDP combined with remote desktop is also only working via root login. Also please run: ls -l /usr/libexec/gnome-session-binary ls -l /usr/libexec/gnome-session-binary -rwxr-xr-x 1 root root 334664 Mar 26 13:22 /usr/libexec/gnome-session-binary On tests with xrdp I also saw some other errors in syslog which are more detailed as the gnome session permission error which does not seem to be the root cause: May 27 18:34:59 systemd[587724]: at-spi-dbus-bus.service: Failed to execute command: Permission denied May 27 18:34:59 systemd[587724]: at-spi-dbus-bus.service: Failed at step EXEC spawning /usr/libexec/at-spi-bus-launcher: Permission denied May 27 18:34:59 systemd[1678]: at-spi-dbus-bus.service: Main process exited, code=exited, status=203/EXEC I have seen some oher useers with this kind of problem which switched off at-spi-dbus-bus.service. I tried that and ended up with. That's where I stopped trying and switched at-spi-dbus-bus.service to start agein like before. Which means I'm now on standard settings after upgrade again: dbus-daemon[642845]: [session uid=0 pid=642843] Activating service name='org.freedesktop.systemd1' requested by ':1.20' (uid=0 pid=642800 comm="/usr/libexec/gnome-session-binary --builtin " label="unconfined") May 27 19:49:30 dbus-daemon[642845]: [session uid=0 pid=642843] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1 May 27 19:49:30 org.gtk.vfs.Daemon[642897]: A connection to the bus can't be made May 27 19:49:30 gnome-control-c[646635]: gnome-control-center-search-provider: Fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server :0. May 27 19:49:30 seahorse[643522]: seahorse: Fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server :0. May 27 19:49:30 org.gnome.Chara[646649]: org.gnome.Characters.BackgroundService: Fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server :0. May 27 19:49:30 gnome-calendar[643523]: gnome-calendar: Fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server :0. May 27 19:49:30 systemd[1]: root-.cache-gvfs.mount: Succeeded. May 27 19:49:30 systemd[225333]: root-.cache-gvfs.mount: Succeeded. May 27 19:49:30 org.gnome.Shell.CalendarServer[643029]: gnome-shell-calendar-server[643029]: Lost (or failed to acquire) the name org.gnome.Shell.CalendarServer - exiting May 27 19:49:30 systemd[1678]: root-.cache-gvfs.mount: Succeeded. May 27 19:49:30 systemd[1679]: root-.cache-gvfs.mount: Succeeded. May 27 19:49:30 org.gtk.vfs.Daemon[643591]: A connection to the bus can't be made May 27 19:49:30 org.gtk.vfs.Daemon[643694]: A connection to the bus can't be made -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882102 Title: [vmwgfx] Gnome Desktop only starting with root rights To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1882102/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1882102] Re: [vmwgfx] Gnome Desktop only starting with root rights
Also please run: ls -l /usr/libexec/gnome-session-binary and tell us what you see. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882102 Title: [vmwgfx] Gnome Desktop only starting with root rights To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1882102/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs