LM 19.3 Mate no funciona compartir carpeta [Solved]

Spanish Forum

Moderators: tomeu, JCSenar

Post Reply
User avatar
Edgar1353
Level 1
Level 1
Posts: 9
Joined: Sun Feb 05, 2017 10:48 am
Location: Resistencia city, Argentina

LM 19.3 Mate no funciona compartir carpeta [Solved]

Post by Edgar1353 »

Hola gente, este es mi 2do intento para que funcione "compartir carpeta" en mi sistema. A continuación algunas salidas:

Code: Select all

ehf2@ehf-i3-lm193:/etc/samba$ apt list -a caja
Listando... Hecho
caja/tricia,now 1.22.2-2+tricia amd64 [instalado]
caja/tricia 1.22.2-1+tricia amd64
caja/bionic 1.20.2-4ubuntu1 amd64

ehf2@ehf-i3-lm193:/etc/samba$ apt recommends caja

No missing recommended packages were found for caja

ehf2@ehf-i3-lm193:/etc/samba$ 

Code: Select all

ehf2@ehf-i3-lm193:~$ system-config-samba 
Traceback (most recent call last):
  File "/usr/sbin/system-config-samba", line 45, in <module>
    mainWindow.MainWindow(debug_flag)
  File "/usr/share/system-config-samba/mainWindow.py", line 116, in __init__
    self.samba_user_data = sambaUserData.SambaUserData(self)
  File "/usr/share/system-config-samba/sambaUserData.py", line 46, in __init__
    self.readSmbPasswords()
  File "/usr/share/system-config-samba/sambaUserData.py", line 63, in readSmbPasswords
    raise RuntimeError, (_("You do not have permission to execute %s." % pdbeditcmd))
RuntimeError: You do not have permission to execute /usr/bin/pdbedit.
ehf2@ehf-i3-lm193:~$ sudo -H system-config-samba 
[sudo] contraseña para ehf2:          
Traceback (most recent call last):
  File "/usr/sbin/system-config-samba", line 45, in <module>
    mainWindow.MainWindow(debug_flag)
  File "/usr/share/system-config-samba/mainWindow.py", line 116, in __init__
    self.samba_user_data = sambaUserData.SambaUserData(self)
  File "/usr/share/system-config-samba/sambaUserData.py", line 46, in __init__
    self.readSmbPasswords()
  File "/usr/share/system-config-samba/sambaUserData.py", line 63, in readSmbPasswords
    raise RuntimeError, (_("You do not have permission to execute %s." % pdbeditcmd))
RuntimeError: You do not have permission to execute /usr/bin/pdbedit.
ehf2@ehf-i3-lm193:~$ pkexec system-config-samba
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
/usr/share/system-config-samba/mainWindow.py:62: Warning: invalid (NULL) pointer instance
  self.xml = gtk.glade.XML ("/usr/share/system-config-samba/system-config-samba.glade", domain="system-config-samba")
/usr/share/system-config-samba/mainWindow.py:62: Warning: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
  self.xml = gtk.glade.XML ("/usr/share/system-config-samba/system-config-samba.glade", domain="system-config-samba")
/usr/share/system-config-samba/mainWindow.py:62: GtkWarning: IA__gtk_settings_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
  self.xml = gtk.glade.XML ("/usr/share/system-config-samba/system-config-samba.glade", domain="system-config-samba")
/usr/share/system-config-samba/mainWindow.py:62: Warning: g_object_get: assertion 'G_IS_OBJECT (object)' failed
  self.xml = gtk.glade.XML ("/usr/share/system-config-samba/system-config-samba.glade", domain="system-config-samba")
/usr/share/system-config-samba/mainWindow.py:62: GtkWarning: IA__gdk_pango_context_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
  self.xml = gtk.glade.XML ("/usr/share/system-config-samba/system-config-samba.glade", domain="system-config-samba")
/usr/share/system-config-samba/mainWindow.py:62: PangoWarning: pango_context_set_font_description: assertion 'context != NULL' failed
  self.xml = gtk.glade.XML ("/usr/share/system-config-samba/system-config-samba.glade", domain="system-config-samba")
/usr/share/system-config-samba/mainWindow.py:62: PangoWarning: pango_context_set_base_dir: assertion 'context != NULL' failed
  self.xml = gtk.glade.XML ("/usr/share/system-config-samba/system-config-samba.glade", domain="system-config-samba")
/usr/share/system-config-samba/mainWindow.py:62: PangoWarning: pango_context_set_language: assertion 'context != NULL' failed
  self.xml = gtk.glade.XML ("/usr/share/system-config-samba/system-config-samba.glade", domain="system-config-samba")
/usr/share/system-config-samba/mainWindow.py:62: PangoWarning: pango_layout_new: assertion 'context != NULL' failed
  self.xml = gtk.glade.XML ("/usr/share/system-config-samba/system-config-samba.glade", domain="system-config-samba")
/usr/share/system-config-samba/mainWindow.py:62: PangoWarning: pango_layout_set_attributes: assertion 'layout != NULL' failed
  self.xml = gtk.glade.XML ("/usr/share/system-config-samba/system-config-samba.glade", domain="system-config-samba")
/usr/share/system-config-samba/mainWindow.py:62: PangoWarning: pango_layout_set_text: assertion 'layout != NULL' failed
  self.xml = gtk.glade.XML ("/usr/share/system-config-samba/system-config-samba.glade", domain="system-config-samba")
/usr/share/system-config-samba/mainWindow.py:62: PangoWarning: pango_layout_get_unknown_glyphs_count: assertion 'PANGO_IS_LAYOUT (layout)' failed
  self.xml = gtk.glade.XML ("/usr/share/system-config-samba/system-config-samba.glade", domain="system-config-samba")
/usr/share/system-config-samba/mainWindow.py:62: Warning: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
  self.xml = gtk.glade.XML ("/usr/share/system-config-samba/system-config-samba.glade", domain="system-config-samba")
/usr/share/system-config-samba/mainWindow.py:62: Warning: value "TRUE" of type 'gboolean' is invalid or out of range for property 'visible' of type 'gboolean'
  self.xml = gtk.glade.XML ("/usr/share/system-config-samba/system-config-samba.glade", domain="system-config-samba")
/usr/share/system-config-samba/mainWindow.py:62: GtkWarning: IA__gdk_screen_get_display: assertion 'GDK_IS_SCREEN (screen)' failed
  self.xml = gtk.glade.XML ("/usr/share/system-config-samba/system-config-samba.glade", domain="system-config-samba")
/usr/share/system-config-samba/mainWindow.py:62: GtkWarning: IA__gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
  self.xml = gtk.glade.XML ("/usr/share/system-config-samba/system-config-samba.glade", domain="system-config-samba")
Violación de segmento (`core' generado)
ehf2@ehf-i3-lm193:~$ sudo smbpasswd -a ehf2
WARNING: Ignoring invalid value 'share' for parameter 'security'
Can't load /etc/samba/smb.conf - run testparm to debug it
ehf2@ehf-i3-lm193:~$ 
En mi máquina virtual con LinuxMint 17.3 Mate 64 bit sí puedo instalar system-config-samba (y al contrario que 19.3, crea correctamente la entrada en el menú) y crear una carpeta compartida sin problemas. También instalé caja-share y funciona sin problemas.

En mi máquina virtual LinuxMint 19 Mate 32 bit instalé caja-share y system-config-samba en ese orden, funciona bien.

También funciona bien en mi pc del trabajo con LinuxMint 17.3 Mate 64 bit.

Tengo otras pc/notebook con sistemas Windows en la red y además quiero una forma fácil de compartir archivos con otros usuarios en la misma pc con LinuxMint.

Alguna idea?
Attachments
Captura de pantalla -2020-06-01 13-15-54.png
Last edited by Edgar1353 on Wed Aug 05, 2020 5:19 pm, edited 1 time in total.
Linux Mint 19.3 Mate 64bit user
User avatar
Edgar1353
Level 1
Level 1
Posts: 9
Joined: Sun Feb 05, 2017 10:48 am
Location: Resistencia city, Argentina

Re: LM 19.3 Mate no funciona compartir carpeta (ahora funciona)

Post by Edgar1353 »

Ahora con una reciente actualización de Samba funciona bien compartir carpetas tanto desde Caja (compartir carpeta del usuario actual) como con system-config-samba (compartir carpeta común, ej. /home/compartir para varios usuarios).
Durante la actualización pregunta si quiero reemplazar el archivo de configuración existente, yo le puse que sí.
Todavía no probé (por las dudas para evitar posibles nuevos problemas) de desinstalar y reinstalar para ver si agrega system-config-samba al menu.
Linux Mint 19.3 Mate 64bit user
Post Reply

Return to “Español (Spanish)”