program Synaptic no open

New to Debian (Or Linux in general)? Ask your questions here!

program Synaptic no open

Postby marcosmada » 2018-04-07 20:49

run Synaptic

marcos@Marte:~$ sudo synaptic
[sudo] password for marcos:
No protocol specified

** (synaptic:3971): WARNING **: Could not open X display
No protocol specified
Unable to init server: Não foi possível conectar: Conexão recusada

(synaptic:3971): Gtk-WARNING **: cannot open display: :1

I try

marcos@Marte:~$ sudo su
root@Marte:/home/marcos# touch .Xauthority
root@Marte:/home/marcos# echo $DISPLAY
:1
root@Marte:/home/marcos# xauth merge ~marcos/ .Xauthority
xauth: (argv):1: unable to read any entries from file "/home/marcos/"
xauth: (argv):1: unable to read any entries from file ".Xauthority"

root@Marte:/home/marcos# dpkg -l | grep synaptics
ii xserver-xorg-input-synaptics 1.8.1-1 amd64 Synaptics TouchPad driver for X.Org server

why no run? what am I do? tanks
marcosmada
 
Posts: 8
Joined: 2018-04-07 20:36

Re: program Synaptic no open

Postby arochester » 2018-04-07 21:07

Since this is your first post I need to say that Debian does not use sudo by default. Unless you have installed it and configured it.

Become Root by inputting into your Terminal: su
Then input: synaptic
What is the result?
arochester
 
Posts: 1349
Joined: 2010-12-07 19:55

Re: program Synaptic no open

Postby marcosmada » 2018-04-08 16:41

the result was this:

root@Marte:/home/marcos/testes# synaptic
No protocol specified

** (synaptic:6021): WARNING **: Could not open X display
No protocol specified
Falha de segmentação

thanks for listening!
marcosmada
 
Posts: 8
Joined: 2018-04-07 20:36

Re: program Synaptic no open

Postby bw123 » 2018-04-08 16:56

I don.t use synaptic, but I think many gui apps need to authorize through policykit, so try

$ pkexec synaptic

as your regular user, not root.
User avatar
bw123
 
Posts: 3572
Joined: 2011-05-09 06:02
Location: TN_USA

Re: program Synaptic no open

Postby marcosmada » 2018-04-08 18:56

marcos@Marte:~/testes$ pkexec synaptic
Cannot run program synaptic: No such file or directory
marcosmada
 
Posts: 8
Joined: 2018-04-07 20:36

Re: program Synaptic no open

Postby arochester » 2018-04-08 19:04

Try

Become Root by inputting: su
Connect to the Internet and input in a Terminal: apt install synaptic

Then try in a Terminal again: synaptic
arochester
 
Posts: 1349
Joined: 2010-12-07 19:55

Re: program Synaptic no open

Postby Wheelerof4te » 2018-04-08 19:07

Post output of:
Code: Select all
nano /etc/apt/sources.list


Synaptic is just a GUI front-end for apt. I suggest you learn how to use apt instead.
Code: Select all
man apt

https://wiki.debian.org/Apt
User avatar
Wheelerof4te
 
Posts: 1134
Joined: 2015-08-30 20:14

Re: program Synaptic no open

Postby sunrat » 2018-04-08 22:42

marcosmada wrote:root@Marte:/home/marcos# dpkg -l | grep synaptics

That is incorrect. Try
Code: Select all
dpkg -l | grep synaptic


Synaptic should be able to be started from the graphical menu. Did you try that?
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2495
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: program Synaptic no open

Postby marcosmada » 2018-04-09 21:43

sunrat wrote:
marcosmada wrote:root@Marte:/home/marcos# dpkg -l | grep synaptics

That is incorrect. Try
Code: Select all
dpkg -l | grep synaptic


Synaptic should be able to be started from the graphical menu. Did you try that?



marcos@Marte:~$ dpkg -l | grep synaptic
ii synaptic 0.81.2 amd64 Graphical package manager
ii xserver-xorg-input-synaptics 1.8.1-1 amd64 Synaptics TouchPad driver for X.Org server
marcosmada
 
Posts: 8
Joined: 2018-04-07 20:36

Re: program Synaptic no open

Postby marcosmada » 2018-04-09 21:46

arochester wrote:Try

Become Root by inputting: su
Connect to the Internet and input in a Terminal: apt install synaptic

Then try in a Terminal again: synaptic



root@Marte:/home/marcos# apt install synaptic
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
synaptic já é a versão mais nova.
Você deve querer executar 'apt-get -f install' para corrigí-los:
Os pacotes a seguir têm dependências desencontradas:
browser-plugin-vlc : Depende: vlc mas não será instalado
vlc-plugin-notify : Depende: vlc-nox (= 1:2.2.8-dmo1+deb8u1) mas 1:2.2.6-dmo1~bpo8+2 está para ser instalado
E: Dependências desencontradas. Tente 'apt-get -f install' sem nenhum pacote (ou especifique uma solução).
marcosmada
 
Posts: 8
Joined: 2018-04-07 20:36

Re: program Synaptic no open

Postby marcosmada » 2018-04-09 21:49

Wheelerof4te wrote:Post output of:
Code: Select all
nano /etc/apt/sources.list


Synaptic is just a GUI front-end for apt. I suggest you learn how to use apt instead.
Code: Select all
man apt

https://wiki.debian.org/Apt



Thank you for your suggestion.
marcosmada
 
Posts: 8
Joined: 2018-04-07 20:36

Re: program Synaptic no open

Postby marcosmada » 2018-04-09 21:51

sunrat wrote:
marcosmada wrote:root@Marte:/home/marcos# dpkg -l | grep synaptics

That is incorrect. Try
Code: Select all
dpkg -l | grep synaptic


Synaptic should be able to be started from the graphical menu. Did you try that?



Synaptic Graphics Mode Does Not Open
marcosmada
 
Posts: 8
Joined: 2018-04-07 20:36

Re: program Synaptic no open

Postby jibberjabber » 2018-04-09 22:03

Looks like jibberish to me, What language is that ? So I can translate it using "google translate" or some thing.

I also think it would be interesting to see what the /etc/apt/sources.list file has in it on this one.
In fact, it might help us understand why you can not install the package, so please post a copy of your sources.list file, use code boxes, please.

Never mind, the translator say it is Portugese, ....
Also , using code boxes makes it easier to read:
Code: Select all
Root @ Mars:/home/Marcos # Apt Install synaptic
Reading packet lists... Ready
Building Dependency Tree
Reading state information... Ready
Synaptic is already the newest version.
You might want to run ' apt-get-f install ' to fix them:
The following packages have unfounded dependencies:
Browser-plugin-VLC: depends on: VLC but will not be installed
VLC-plugin-notify: Depends on: VLC-NOx (= 1:2.2.8-dmo1 + deb8u1) but 1:2.2.6-dmo1 ~ Bpo8 + 2 is to be installed
And: unfounded dependencies. Try ' apt-get-f install ' without any packages (or specify a solution).
written by HelpBot#8453
Alias jibberjabber
I am sorry, my english is not that good, and I sometimes have other problems,so my response might not be perfect.
N5RLX > "Jibber jabber ,all day and all night, jibber jabber jibber jabber"
jibberjabber
 
Posts: 122
Joined: 2016-01-10 16:58

Re: program Synaptic no open

Postby marcosmada » 2018-04-09 23:38

i was give up install and use synaptic program. now i will use apt command. thanks the all. sorry anything.

PS: i uninstall VLC program and yours dependences. (apt purge vlc). the debian system is normal now as it has always been.
marcosmada
 
Posts: 8
Joined: 2018-04-07 20:36

Re: program Synaptic no open

Postby stevepusser » 2018-04-10 00:07

If you still have the deb-multimedia repository added to your sources, you might still get broken packages in the future. I could suggest my own repo for many of the same packages that doesn't have the same sort of issues: viewtopic.php?f=6&t=127574

The fact that you can't run Synaptic means that your system is still broken somehow. Using command line is just a workaround--it's still broken. What other outside repositories have you added besides deb-multimedia?
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, 4.19.5 kernel, wine-staging 4.0~rc1, Pale Moon 28.2.2, Mesa 18.2.6, Midori 7.0
User avatar
stevepusser
 
Posts: 10273
Joined: 2009-10-06 05:53


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable