LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-03-2019, 01:20 PM   #1
lancebermudez
LQ Newbie
 
Registered: Nov 2019
Posts: 18

Rep: Reputation: Disabled
ubuntu 19.10 wayland blocking synaptic package manager


Can not ssh into my other computer to use synaptic package manager. ssh works but not synaptic package manager
Code:
lance@type40tardis:~$ ssh tardis
Authenticated to 192.168.1.1 ([192.168.1.1]:22).
Welcome to Ubuntu 19.10 (GNU/Linux 5.3.0-19-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage


0 updates can be installed immediately.
0 of these updates are security updates.

Last login: Sun Nov  3 11:32:34 2019 from 192.168.1.9
lance@tardis:~$ sudo synaptic
[sudo] password for lance: 
X11 connection rejected because of wrong authentication.
Unable to init server: Could not connect: Connection refused
Failed to initialize GTK.

Probably you're running Synaptic on Wayland with root permission.
Please restart your session without Wayland, or run Synaptic without root permission
how do I fix this?
 
Old 11-03-2019, 01:34 PM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
your title is misleading. If I understand well you mistyped your password.
Anyway, it is not related to wayland, ubuntu and synaptic at all, but an authentication issue. Either sudo configuration, or X related.
You may need to run ssh with -X, probably that will solve this issue.
 
Old 11-03-2019, 03:43 PM   #3
lancebermudez
LQ Newbie
 
Registered: Nov 2019
Posts: 18

Original Poster
Rep: Reputation: Disabled
I did not miss type the password I check on that

Code:
lance@type40tardis:~$ ssh -X tardis
Authenticated to 192.168.1.1 ([192.168.1.1]:22).
Welcome to Ubuntu 19.10 (GNU/Linux 5.3.0-19-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage


0 updates can be installed immediately.
0 of these updates are security updates.

Last login: Sun Nov  3 14:20:42 2019 from 192.168.1.9
lance@tardis:~$ sudo synaptic
[sudo] password for lance: 
X11 connection rejected because of wrong authentication.
Unable to init server: Could not connect: Connection refused
Failed to initialize GTK.

Probably you're running Synaptic on Wayland with root permission.
Please restart your session without Wayland, or run Synaptic without root permission
 
Old 11-04-2019, 01:31 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
ok, so root has no access right to your X server. You can find a lot of different solutions on the net, for example:
https://askubuntu.com/questions/1756...-app-with-sudo
https://blog.mobatek.net/post/how-to...er-su-or-sudo/
 
Old 02-04-2021, 12:48 PM   #5
arvid001
LQ Newbie
 
Registered: Apr 2018
Posts: 22

Rep: Reputation: Disabled
Wayland has broken launching of /usr/sbin/synaptic

Before Wayland one could open a terminal, su to root, and then launch /usr/sbin/synaptic.

With Wayland all I get is:

Unable to init server: Could not connect: Connection refused
Failed to initialize GTK.

Probably you're running Synaptic on Wayland with root permission.
Please restart your session without Wayland, or run Synaptic without root permission


Wayland seems to have broken many of the apps in Linux repositories. What was wrong
with traditional X.org? It "just worked".

Debian Buster on amd64x2 with 4GB RAM and 1TB HD

Arv
_._
 
Old 02-04-2021, 03:14 PM   #6
jmgibson1981
Senior Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 1,141

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Even if you get in as 19.10 is EOL the repos may have been moved. You really need to upgrade to 20.04 at least. Stay on 20.04 if you don't want to upgrade every 6 months.
 
Old 02-04-2021, 03:19 PM   #7
arvid001
LQ Newbie
 
Registered: Apr 2018
Posts: 22

Rep: Reputation: Disabled
This reply assumes Ubuntu Linux, when the post specifically said Debian.

Also, the reply does not address the problem I posted. The problem is
that Wayland is seriously broken.
 
Old 02-09-2021, 07:53 PM   #8
jmgibson1981
Senior Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 1,141

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Your reply assumes I answered you and not the op.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
Update Manager , Synaptic package manager & dpkg: warning error massage sa3paleasm Linux - Software 1 08-07-2013 04:45 PM
[SOLVED] Difference Between Synaptic Package Manager and Update Manager nasser019 Linux - Software 1 07-20-2010 07:12 AM
LXer: Simple Package management with Synaptic Package Manager LXer Syndicated Linux News 0 12-05-2006 06:33 PM
synaptic package manager forcing me to delete a broken package mbman Linux - Software 6 04-25-2006 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration