UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.