As you will see from this: http://ubuntuforums.org/showthread.p...ighlight=samba
...you need to install: python-glade2.
I've now edited post#1 to relfect this change.
As you will see from this: http://ubuntuforums.org/showthread.p...ighlight=samba
...you need to install: python-glade2.
I've now edited post#1 to relfect this change.
Okay, Oneiric Ubuntu on AMD64. I have followed along installing:
* samba
* system-config-samba
* gvfs-bin
* gvfs-backends
trying to get samba to run so I can assign workgroup and shares. I have installed the above, the glade-2, etc. All I get is the password screen and then the flash of Samba-config trying to display but never runs.
If I terminal-launch
I get these errorsCode:gksudo gedit /etc/samba/smb.conf
any ideas? I do see that samba has changed. Some of the older diagnostic threads have commands that this samba does not recognize, eg, sudo service smbd restartCode:(gedit:2363): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory (gedit:2363): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.RAQR6V': No such file or directory (gedit:2363): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory (gedit:2363): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.072G6V': No such file or directory (gedit:2363): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory
"You don't do art because you want to, no, you do art because you have to." -- M. Buonarroti
Try opening a terminal and typing:-
...this may show you why the Samba config screen is not running correctly.Code:gksu system-config-samba
I thought that in Ubuntu you could right-click a file in Nautilus and share a file...does that approach work?
Are you running 64bit Ubuntu on AMD64?
The ONLY response I get with samba is terminal-based launch. Samba installation puts a menu item in Ubuntu, but that always fails.
So, yes, Oneiric AMD64-Ubuntu, install from apt-get install, using the extra stuff mentioned in this thread. On two AMD64 boxes, I might add. It would seem I can't access samba_user_data in the samba.config (that's a guess).
I get that error once, and all other attempts of terminal lauch gives me the silent fail.Code:~$ gksu system-config-samba 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.
ANY advice. I never see a workgroup or a network to begin configuring, but I am using a wireless LAN that works for internet access.
"You don't do art because you want to, no, you do art because you have to." -- M. Buonarroti
Many thanks. I will start another thread. Incidentally, other threads advise the same workaround of installing all the python and glade tools to try and get Samba to run. Thanks for your input...
"You don't do art because you want to, no, you do art because you have to." -- M. Buonarroti
Thanks for the tutorial, SteveDee. I had one problem that you didn't address: my hostname was too long, which prevented me from accessing my Windows shares through WORKGROUP or my Lubuntu shares through my Windows machines. This seems like it must be a common problem, so here is the solution from another thread:
Last edited by giantslor; March 4th, 2012 at 06:54 PM.
I am getting exactly the same response as UnderSeeBoot in post #14 from Lubuntu 11.10. However, as I am running it on a tiny un-upgradeable drive (4Gb on EEE PC) I have no room to install all the python and glade tools. Has anyone found a proper fix rather than the given workaround?
I have followed the directions here and have Samba up and running. I can now see the files on my Ubuntu 10.04 server but i can not access them to copy them or play them as the are mainly video files. the laptop im trying to do this from is running Lubuntu 12.04. my server has Samba properly setup and configured as i can access and play the files on the server from other devices( computers and media players) with no problems. i have the folders/files set for everyone to have full rights(read/write/delete). I even have another Ubuntu based laptop that can fully access and play said files with no problems.
Any suggestions would be help full as im testing this as an OS upgrade for ALL my Ubuntu based system because they are all running a no longer supported version and i would prefer to not upgrade to the version of Ubuntu that have the 'Unity' environments.
Bookmarks