Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 31

Thread: Actual "ubuntu" session issues

  1. #11
    Join Date
    Jun 2007
    Beans
    17,304

    Re: Actual "ubuntu" session issues

    Quote Originally Posted by dino99 View Post
    Agrrrr; one reboot later, get again the same loop issue and the previous solution does not works
    Maybe try this.
    Open a terminal & go
    Code:
    journalctl -f > 1.log
    Then try to open synaptic normally, when it fails back in terminal go ctrl+c to quit.
    Then check out 1.log in home folder for any errors.
    (- may be apparmor issue..
    Last edited by mc4man; March 4th, 2020 at 09:49 PM. Reason: wrong comm

  2. #12
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Actual "ubuntu" session issues

    nothing special from systemctl -f
    but journalctl has logged:

    pkexec: Error executing command as another user: Not authorized [USER=root] [TTY=unknown] [CWD=/home/oem] [COMMAND=/usr/sbin/synaptic]

  3. #13
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!

    Re: Actual "ubuntu" session issues

    Looking back at your original post you said
    - synaptic now only loads via 'sudo' command line, icon click now loop. Previous version has also the same problem with the latest gnome upgrades.
    Did you really start it with a simple sudo synaptic command or did you perhaps use sudo -H synaptic?

    I hope it was the latter as using sudo for a GUI application can cause a number of problems for a user with their home files and folders becoming root owned.
    DISTRO: Xubuntu 20.04-64bit --- Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo --- Wireless-Info --- SolvedThreads

  4. #14
    Join Date
    Jun 2007
    Beans
    17,304

    Re: Actual "ubuntu" session issues

    Quote Originally Posted by dino99 View Post
    nothing special from systemctl -f
    but journalctl has logged:

    pkexec: Error executing command as another user: Not authorized [USER=root] [TTY=unknown] [CWD=/home/oem] [COMMAND=/usr/sbin/synaptic]
    Sorry, was on phone which is a hassle to post, meant journalctl which you figured out..
    The key part above is Not authorized. I'd assume you're in the sudo and admin groups so not sure what the issue is.
    There used to be a startup app for pkexec but don't believe it's used anymore.

    So what happens if you use pkexec directly, i.e
    Code:
    pkexec synaptic
    Do you get the auth pop up?
    Last edited by mc4man; March 4th, 2020 at 09:50 PM.

  5. #15
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Actual "ubuntu" session issues

    Same issue:

    pkexec synaptic
    Error executing command as another user: Not authorized

    This incident has been reported.

    Going to "System Settings Users" then click on Unlock, i also get a loop and stay locked indeed.

  6. #16
    Join Date
    Oct 2008
    Location
    Rezzoaglio (GE) Italy
    Beans
    331
    Distro
    Ubuntu Development Release

    Re: Actual "ubuntu" session issues

    I have Ubuntu 20.04 with Gnome - NO proposed - and synaptic works finel.
    Code:
    corrado@corrado-x4-ff-0303:~$ inxi -Sx
    System:
      Host: corrado-x4-ff-0303 Kernel: 5.4.0-14-generic x86_64 bits: 64 
      compiler: gcc v: 9.2.1 Desktop: Gnome 3.35.91 
      Distro: Ubuntu 20.04 LTS (Focal Fossa) 
    corrado@corrado-x4-ff-0303:~$ apt policy synaptic
    synaptic:
      Installed: 0.84.6ubuntu3
      Candidate: 0.84.6ubuntu3
      Version table:
     *** 0.84.6ubuntu3 500
            500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
            100 /var/lib/dpkg/status
    corrado@corrado-x4-ff-0303:~$
    Edit: both with X11 and Wayland session
    Last edited by corradoventu; March 5th, 2020 at 07:00 PM. Reason: Add note x11 or wayland

  7. #17
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Actual "ubuntu" session issues

    'proposed' is always activated on my side, as i like riding on the wild edge

    if i can grab some free time to dig around that issue, maybe i will find the faulty update(s): deactivating 'proposed' then downgrading to non proposed package version.
    I have also read some devs talks about the current known problems, and some fix upgrades are already pending; so there is no hurry with that testing install.

  8. #18
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!

    Re: Actual "ubuntu" session issues

    I'll repeat my query from post #13 related to your statement about using sudo synaptic.

    Was that the command you used or did you use a variation of it, eg sudo -H synaptic

    The warning about
    Error executing command as another user: Not authorized
    makes me wonder if you did actually use sudo synaptic which may have changed ownership of your home files and folders to root.
    DISTRO: Xubuntu 20.04-64bit --- Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo --- Wireless-Info --- SolvedThreads

  9. #19
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Actual "ubuntu" session issues

    yes, i have always used 'sudo' without alternative nor trouble, at least until now.

  10. #20
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!

    Re: Actual "ubuntu" session issues

    OK, so now let's see the output of ls -la in terminal; I suspect there may be some files and/or folders owned by root instead of your user which can cause all sorts of problems.

    You should NEVER use sudo alone in order to open a GUI application; see RootSudo in my signature below for info about this.
    DISTRO: Xubuntu 20.04-64bit --- Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo --- Wireless-Info --- SolvedThreads

Page 2 of 4 FirstFirst 1234 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •