Reinstalling kubuntu after multiple uninstallations in a dual boot system

Asked by S.S.Mani on 2014-07-27

Before April, I installed Kubuntu 12.04 LTS using a USB with ISO image. However as I was not successful in using samba, I upgraded to 14.04 LTS from the net. Again I faced the same problem

I then went for new installation of 14.04 LTS using USB image. However my problem continued.

Then as I was a little more confident I decided to do some experiments.

I (many times) uninstalled using OS uninstaller to reinstall in the same partition by following all instruction. (http://punkbite.blogspot.in/2013/05/how-to-uninstall-kubuntuubuntu-from.html)

With each installation my problems increased which I could not describe fully because of my understanding limitations of the subject.

Update will go on for ever but nothing happened:
I lost the minimize, restore, close buttons:
Konsole started giving replies I cant understand:

While booting i tried using other options appearing there (I thought something similar to safe mode of windows)
With every day I was seeing my problems increase.

Finally i uninstalled, reformatted the drive (F) as NTFS and made it useful for Windows Vista back again. I checked again by saving a new windows user file also. However all new files in it and named using blue letters unlike the C drive that is in black!

Though windows is working well, i am noticing that it is not shutting down, and I had to force shut down. However with safe mode it got shut down nicely. i have to recheck it tomorrow when I sit with that system.

I have also wiped the USB clean and am ready with a fresh ISO imahe for Kubuntu 14.04 LTS.

Now my request for advice/guidance to you all is: ( I got shivers after reading the posts at https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1265192)

Can I install Kubuntu again in the newly created F drive?
Will i have any problem with windows?

All my earlier re installations was, as outlined in http://punkbite.blogspot.in/2013/05/reinstalling-kubuntuubuntu-in-dual-boot.html

Now with a different fresh drive can I go for a guided install (The first option) instaed of the above method?

I would love to remain with Kubuntu instead of being forced back to use windows.

Thank you

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu ubiquity Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
2014-08-02
Last query:
2014-08-02
Last reply:
2014-08-01
Michael Hahn (mihahn) said : #1

If I were you, I'd delete the volume F (the partiton which you want to use for Kubuntu) using Windows and you will get unallocated space (be sure you delete the right volume!). Then you reboot and you boot the Kubuntu usb. It should offer the option for an installation next to Windows. Choose this one and it should automatically use the unallocated space and format it/set it up for Kubuntu and it'll install Kubuntu then.

Maybe this works, but you should better perform a backup of your data. If you have an external hard drive with much free disk space, you could use dd (a terminal command which you can run from a live cd/usb) to backup your whole computer with all partitions/data. There are many tutorial on how to use dd, but a command for a compressed backup is:

dd if=/dev/sda bs=1M | gzip > /path/to/the/external/drive/image-compress_sda.img.gz

I suggest a clean install of Trusty from the install media.

S.S.Mani (airomatic) said : #3

actionparsnip: can you please give a little more explanation of your suggestion?

Michael Hahn: On my earlier attempts that is what I tried (I think).

I deleted the volume after uninstalling, named it D or F, clicked format, and used / as mount point. I was not successful.

Then I decided to rename the drive as F, temporarily format it as NTFS and use it back for the full installation again latter, choosing that drive for guided installation.

Earlier when I clicked guided installtion with an unformatted drive, it was trying to divide my C drive only and I was unable to choose F drive.

Michael Hahn (mihahn) said : #4

I would delete it using Windows and don't format it or assign a letter to it. Just delete it, leave it as unallocated space, reboot and boot the live usb and see if the installer offers the option to install kubuntu next to windows. This should mean it has recognized the unallocated space and it'll partition this space to be used as the kubuntu partiton! Just try it again :)

S.S.Mani (airomatic) said : #5

Thank you Michael Hahn (mihahn). I will try this tomorrow when I lay my hands on that laptop, as at home I have a different 8.1 for home use. Thanks once again.

I will delete it using windows partition manger, exit at that point without renaming or formatting it, only to reboot using USB live Hope I have understood correctly.

S.S.Mani (airomatic) said : #6

Though I do not know anything about Data persistency in LIVE USB topics, could it be that unknowingly I had allowed my mistakes while installing/running/uninstalling to affect the basic USB created by me?

Anyhow now I have created a new USB using pendrivelinux.com that I found much easier of the lot, whcih I propose to use next time.

S.S.Mani (airomatic) said : #7

(Following info using a different computer by the side)

Deleted the volume to make it FREE, and rebooted without doing anything else.

However under no automatic options I could choose the free space.

Using manual, I continued, but had to choose the boot point manually as / and the free space

Installed without clicking update and third party software.

Following is a live description of what i am observing, and indicated status may change(hopefully) after the steps get completed!

After installation, on restarting, the first problem observed again is wireless connection deactivated! Driver manager shows one non-free version, and other free version, but I cancelled it, as during earlier attempts also had the same problem with clicking neither as well as both helped me connect thro' wireless!

2 or 3 times I tried using the Driver update manager but that application kept crashing with bug reports being sent with my permission! I will try after the updates get over .

Well the update started preparing to configure etc now!

Over, but as it did not explicitly state about a restart, I checked again for updates, and i seem to be caught!

It says, "WAITING" waiting for other transaction to finish! If i give a command to restart that is getting cancelled by whatever process is going on there!

As i tried again to restart the screen has dimmed now!

I got a pop up saying that the wireless is activated now!

Sorry, my patience is over and I have gone in for a forced shutdown.

Restarting..... after a few minutes gap of cooling myself as well as that poor computer.

Booting sequence OK, chose kubuntu instead of vista

KDE wallet manager is not leaving me and gave it a password

Wireless password requested, entered. Showing connected

Started dolphin- network- mshome-all networked computers appear
(Till now not done anything for samba, but how are they appearing?)

Able to open pdf and images as before! MS office not opening as usual!
Is the above possible without configuring smb? Or is my old config staying somehow?

I am afraid of giving any command to konsole, as all my earlier problems started only after that!

But as i want to give a picture (Right or wrong, connected or uncomnnected with the whole topic I do not know), I am going ahead and giving smbtree command now

Whole lot of network computers are there!

Giving testparm command.

Looks all lines are appearing. ( I do not know the correctness)

I will wait now for any guidance from you on giving the command

sudo nano /etc/samba/smb.conf

to post the output and also save it as a libreoffice odt file for future reference.

Thank you, I am shifting to that laptop now

S.S.Mani (airomatic) said : #8

output for sudo kate /etc/samba/smb.conf (Before the text file opened)

QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Error: "/var/tmp/kdecache-kubuntu" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-kubuntu" is owned by uid 1000 instead of uid 0.
Error: "/tmp/ksocket-kubuntu" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-kubuntu" is owned by uid 1000 instead of uid 0.
kdeinit4: Shutting down running client.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Error: "/tmp/ksocket-kubuntu" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-kubuntu" is owned by uid 1000 instead of uid 0.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Error: "/var/tmp/kdecache-kubuntu" is owned by uid 1000 instead of uid 0.
kbuildsycoca4 running...
Error: "/var/tmp/kdecache-kubuntu" is owned by uid 1000 instead of uid 0.
Error: "/var/tmp/kdecache-kubuntu" is owned by uid 1000 instead of uid 0.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Error: "/var/tmp/kdecache-kubuntu" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-kubuntu" is owned by uid 1000 instead of uid 0.
Bus::open: Can not get ibus-daemon's address.
IBusInputContext::createInputContext: no connection to ibus-daemon
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Error: "/var/tmp/kdecache-kubuntu" is owned by uid 1000 instead of uid 0.
QObject::connect: Cannot connect (null)::resourceScoreUpdated(QString, QString, QString, double) to NepomukPlugin::resourceScoreUpdated(QString, QString, QString, double)
QObject::connect: Cannot connect (null)::recentStatsDeleted(QString, int, QString) to NepomukPlugin::deleteRecentStats(QString, int, QString)
QObject::connect: Cannot connect (null)::earlierStatsDeleted(QString, int) to NepomukPlugin::deleteEarlierStats(QString, int)
QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.7'
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Error: "/var/tmp/kdecache-kubuntu" is owned by uid 1000 instead of uid 0.
Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)

S.S.Mani (airomatic) said : #9

output for sudo kate /etc/samba/smb.conf
(I am in mshome, but the one here shows workgroup, still smbtree shows all computers)

#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example
#
# Some options that are often worth tuning have been included as
# commented-out examples in this file.
# - When such options are commented with ";", the proposed setting
# differs from the default Samba behaviour
# - When commented with "#", the proposed setting is the default
# behaviour of Samba but the option is considered important
# enough to be mentioned here
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not made any basic syntactic
# errors.

#======================= Global Settings =======================

[global]

## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will part of
   workgroup = WORKGROUP

# server string is the equivalent of the NT Description field
 server string = %h server (Samba, Ubuntu)

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
# wins support = no

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z

# This will prevent nmbd to search for NetBIOS names through DNS.
   dns proxy = no

#### Networking ####

# The specific set of interfaces / networks to bind to
# This can be either the interface name or an IP address/netmask;
# interface names are normally preferred
; interfaces = 127.0.0.0/8 eth0

# Only bind to the named interfaces and/or networks; you must use the
# 'interfaces' option above to use this.
# It is recommended that you enable this feature if your Samba machine is
# not protected by a firewall or is a firewall itself. However, this
# option cannot handle dynamic or non-broadcast interfaces correctly.
; bind interfaces only = yes

#### Debugging/Accounting ####

# This tells Samba to use a separate log file for each machine
# that connects
   log file = /var/log/samba/log.%m

# Cap the size of the individual log files (in KiB).
   max log size = 1000

# If you want Samba to only log through syslog then set the following
# parameter to 'yes'.
# syslog only = no

# We want Samba to log a minimum amount of information to syslog. Everything
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
# through syslog you should set the following parameter to something higher.
   syslog = 0

# Do something sensible when Samba crashes: mail the admin a backtrace
   panic action = /usr/share/samba/panic-action %d

####### Authentication #######

# Server role. Defines in which mode Samba will operate. Possible
# values are "standalone server", "member server", "classic primary
# domain controller", "classic backup domain controller", "active
# directory domain controller".
#
# Most people will want "standalone sever" or "member server".
# Running as "active directory domain controller" will require first
# running "samba-tool domain provision" to wipe databases and create a
# new domain.
   server role = standalone server

# If you are using encrypted passwords, Samba will need to know what
# password database type you are using.
   passdb backend = tdbsam

   obey pam restrictions = yes

# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.
   unix password sync = yes

# For Unix password sync to work on a Debian GNU/Linux system, the following
# parameters must be set (thanks to Ian Kahan <<email address hidden> for
# sending the correct chat script for the passwd program in Debian Sarge).
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .

# This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in
# 'passwd program'. The default is 'no'.
   pam password change = yes

# This option controls how unsuccessful authentication attempts are mapped
# to anonymous connections
   map to guest = bad user

########## Domains ###########

#
# The following settings only takes effect if 'server role = primary
# classic domain controller', 'server role = backup domain controller'
# or 'domain logons' is set
#

# It specifies the location of the user's
# profile directory from the client point of view) The following
# required a [profiles] share to be setup on the samba server (see
# below)
; logon path = \\%N\profiles\%U
# Another common choice is storing the profile in the user's home directory
# (this is Samba's default)
# logon path = \\%N\%U\profile

# The following setting only takes effect if 'domain logons' is set
# It specifies the location of a user's home directory (from the client
# point of view)
; logon drive = H:
# logon home = \\%N\%U

# The following setting only takes effect if 'domain logons' is set
# It specifies the script to run during logon. The script must be stored
# in the [netlogon] share
# NOTE: Must be store in 'DOS' file format convention
; logon script = logon.cmd

# This allows Unix users to be created on the domain controller via the SAMR
# RPC pipe. The example command creates a user account with a disabled Unix
# password; please adapt to your needs
; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u

# This allows machine accounts to be created on the domain controller via the
# SAMR RPC pipe.
# The following assumes a "machines" group exists on the system
; add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u

# This allows Unix groups to be created on the domain controller via the SAMR
# RPC pipe.
; add group script = /usr/sbin/addgroup --force-badname %g

############ Misc ############

# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
; include = /home/samba/etc/smb.conf.%m

# Some defaults for winbind (make sure you're not using the ranges
# for something else.)
; idmap uid = 10000-20000
; idmap gid = 10000-20000
; template shell = /bin/bash

# Setup usershare options to enable non-root users to share folders
# with the net usershare command.

# Maximum number of usershare. 0 (default) means that usershare is disabled.
; usershare max shares = 100

# Allow users who've been granted usershare privileges to create
# public shares, not just authenticated ones
   usershare allow guests = yes

#======================= Share Definitions =======================

# Un-comment the following (and tweak the other settings below to suit)
# to enable the default home directory shares. This will share each
# user's home directory as \\server\username
;[homes]
; comment = Home Directories
; browseable = no

# By default, the home directories are exported read-only. Change the
# next parameter to 'no' if you want to be able to write to them.
; read only = yes

# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
; create mask = 0700

# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
; directory mask = 0700

# By default, \\server\username shares can be connected to by anyone
# with access to the samba server.
# Un-comment the following parameter to make sure that only "username"
# can connect to \\server\username
# This might need tweaking when using external authentication schemes
; valid users = %S

# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
; read only = yes

# Un-comment the following and create the profiles directory to store
# users profiles (see the "logon path" option above)
# (you need to configure Samba to act as a domain controller too.)
# The path below should be writable by all users so that their
# profile directory may be created the first time they log on
;[profiles]
; comment = Users profiles
; path = /home/samba/profiles
; guest ok = no
; browseable = no
; create mask = 0600
; directory mask = 0700

[printers]
   comment = All Printers
   browseable = no
   path = /var/spool/samba
   printable = yes
   guest ok = no
   read only = yes
   create mask = 0700

# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no
# Uncomment to allow remote administration of Windows print drivers.
# You may need to replace 'lpadmin' with the name of the group your
# admin users are members of.
# Please note that you also need to set appropriate Unix permissions
# to the drivers directory for these users to have write rights in it
; write list = root, @lpadmin

S.S.Mani (airomatic) said : #10

SMBTREE

MSHOME
        \\SERVICELAPTOP mani
                \\SERVICELAPTOP\C$ Default share
                \\SERVICELAPTOP\ADMIN$ Remote Admin
                \\SERVICELAPTOP\E
                \\SERVICELAPTOP\hpLaserJ hp LaserJet 1010
                \\SERVICELAPTOP\D
                \\SERVICELAPTOP\print$ Printer Drivers
                \\SERVICELAPTOP\D$ Default share
                \\SERVICELAPTOP\IPC$ Remote IPC
                \\SERVICELAPTOP\AutoHPLa Auto HP LaserJet 1020 on PROJECT1
                \\SERVICELAPTOP\My Documents
                \\SERVICELAPTOP\E$ Default share
        \\RK-LAPTOP
        \\MANI-PC
        \\CLIMAOFFICE
                \\CLIMAOFFICE\Users
                \\CLIMAOFFICE\IPC$ Remote IPC
                \\CLIMAOFFICE\E$ Default share
                \\CLIMAOFFICE\E
                \\CLIMAOFFICE\C$ Default share
                \\CLIMAOFFICE\ADMIN$ Remote Admin
        \\ADMIN
        \\ACCOUNTS2
                \\ACCOUNTS2\DATA1 (D)
                \\ACCOUNTS2\BACKUP (F)
                \\ACCOUNTS2\DATA2 (E)
                \\ACCOUNTS2\TVSMSP250STAR TVS MSP 250 Star
                \\ACCOUNTS2\print$ Printer Drivers
                \\ACCOUNTS2\IPC$ Remote IPC
                \\ACCOUNTS2\AutoHPLa Auto HP LaserJet 1020 on PROJECT1
        \\ACCOUNTS1
                \\ACCOUNTS1\Y$ Default share
                \\ACCOUNTS1\Users
                \\ACCOUNTS1\Tally.ERP9(4.5)
                \\ACCOUNTS1\Spinso
                \\ACCOUNTS1\Organizer 2013 Premium Edition
                \\ACCOUNTS1\IPC$ Remote IPC
                \\ACCOUNTS1\F$ Default share
                \\ACCOUNTS1\F
                \\ACCOUNTS1\C$ Default share
                \\ACCOUNTS1\AOM DOCUMENTS
                \\ACCOUNTS1\ADMIN$ Remote Admin
        \\ACCOUNTS-2
                \\ACCOUNTS-2\Printer2 Microsoft Office Document Image Writer
                \\ACCOUNTS-2\Printer4 Fax Printer
                \\ACCOUNTS-2\Printer3 Network Printer
                \\ACCOUNTS-2\hpLaserJ hp LaserJet 1010
                \\ACCOUNTS-2\D
                \\ACCOUNTS-2\EPSONSty EPSON Stylus C45 Series
                \\ACCOUNTS-2\TVSMSP250STAR TVS MSP 250 Star
                \\ACCOUNTS-2\SharedDocs
                \\ACCOUNTS-2\print$ Printer Drivers
                \\ACCOUNTS-2\IPC$ Remote IPC

S.S.Mani (airomatic) said : #11

error messages appear as

ERROR: lock directory /var/run/samba does not exist
ERROR: pid directory /var/run/samba does not exist

Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
ERROR: lock directory /var/run/samba does not exist
ERROR: pid directory /var/run/samba does not exist
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
        server string = %h server (Samba, Ubuntu)
        server role = standalone server
        map to guest = Bad User
        obey pam restrictions = Yes
        pam password change = Yes
        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
        unix password sync = Yes
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 1000
        dns proxy = No
        usershare allow guests = Yes
        panic action = /usr/share/samba/panic-action %d
        idmap config * : backend = tdb

[printers]
        comment = All Printers
        path = /var/spool/samba
        create mask = 0700
        printable = Yes
        print ok = Yes
        browseable = No

[print$]
        comment = Printer Drivers
        path = /var/lib/samba/printers

S.S.Mani (airomatic) said : #12

Yes my postings have been long. Trying to get it short here!

Installation over
Samba not yet configured, but network is visible though I cant open MS office files as before.
SAMBA CONF file, SMBTREE and TESTPARM results posted above

Error messages as I can see are as follows:

ERROR: lock directory /var/run/samba does not exist
ERROR: pid directory /var/run/samba does not exist

Error: "/var/tmp/kdecache-kubuntu" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-kubuntu" is owned by uid 1000 instead of uid 0.
Error: "/tmp/ksocket-kubuntu" is owned by uid 1000 instead of uid 0.
Error: "/tmp/kde-kubuntu" is owned by uid 1000 instead of uid 0.

QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.7'

QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.

Hope the short posting gets me ashore.

Thank you

What is the output of :

file /var/run/samba

Thanks

S.S.Mani (airomatic) said : #14

It says
ERROR: cannot open ' /var/run/samba' (No such file or directory)
Thank you

S.S.Mani (airomatic) said : #15

Also as stated earlier i have not installed samba on my own or configured it.
Under Muon discover, it is not showing in installed group.

But i am able to browse and see all other networked computers and able to open pdf/image files.
Except MS office files, which act as if libre office is opening but then nothing happens.

Can I go ahead and install Samba from muon discover?

If so, can you pleaseadvice me of corrections to be made to "sudo nano /etc/samba/smb.conf command?"

Or I should use some other command for that?

S.S.Mani (airomatic) said : #16

I cant say exactly, but in my earlier 4 or 5 attempts I think I installed it from muon after some time, after which my problems compunded.

Can I install using sudo command?
Is it 'sudo apt-get install samba' only or should i add anything more here please?

Thank you for your valuable time

S.S.Mani (airomatic) said : #17

My networked remote printer also shows up under printers, but it is not accepting print job.

All problems have remained with me during my earlier times also.

Thanks

Manfred Hampl (m-hampl) said : #18

What is the output of

uname -a
lsb_release -a
cat /etc/init/winbind.conf
apt-cache samba-common
apt-cache winbind

Manfred Hampl (m-hampl) said : #19

sorry, missed a few words in my commands, should have been

uname -a
lsb_release -a
cat /etc/init/winbind.conf
apt-cache policy samba-common
apt-cache policy winbind

S.S.Mani (airomatic) said : #20

Manfred Hamp, here is the output of above command.

uname -a

Linux Kubuntu 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:12 UTC 2014 i686 i686 i686 GNU/Linux

lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty

cat /etc/init/winbind.conf

cat: /etc/init/winbind.conf: No such file or directory

apt-cache policy samba-common

samba-common:
  Installed: 2:4.1.6+dfsg-1ubuntu2.14.04.2
  Candidate: 2:4.1.6+dfsg-1ubuntu2.14.04.2
  Version table:
 *** 2:4.1.6+dfsg-1ubuntu2.14.04.2 0
        500 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/main i386 Packages
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main i386 Packages
        100 /var/lib/dpkg/status
     2:4.1.6+dfsg-1ubuntu2 0
        500 http://in.archive.ubuntu.com/ubuntu/ trusty/main i386 Packages

apt-cache policy winbind

winbind:
  Installed: (none)
  Candidate: 2:4.1.6+dfsg-1ubuntu2.14.04.2
  Version table:
     2:4.1.6+dfsg-1ubuntu2.14.04.2 0
        500 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/main i386 Packages
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main i386 Packages
     2:4.1.6+dfsg-1ubuntu2 0
        500 http://in.archive.ubuntu.com/ubuntu/ trusty/main i386 Packages

Thank you

S.S.Mani (airomatic) said : #21

About 3 or 4 hrs back, i ran apt-get update as well as upgrade commands, with a lot of action happening, if that info is of any use in helping me.

Thank you

S.S.Mani (airomatic) said : #22

I will come online again in about 30-45 minutes, when I reach home, carrying this kubuntu system.

Thank you both again for your time and efforts.

sudo mkdir /var/run/samba

Then retry.

S.S.Mani (airomatic) said : #24

sudo mkdir /var/run/samba
[sudo] password for kubuntu:
kubuntu@Kubuntu:~$ file /var/run/samba
/var/run/samba: directory
kubuntu@Kubuntu:~$

S.S.Mani (airomatic) said : #25

As I am not sure whether not pressing the "I still need an answer"link stops the chain, i am doing it now. Thank you

S.S.Mani (airomatic) said : #26

I am sorry, my info here might not satisfy experts, buy my problem looks solved today.

When I went to see the properties of Documents folder in Dolphin it said that Samba was not installed!

I installed it.

Fiddled with conf file by making changes whatever I remembered in my 4 moth old experiment.

I was back to square one again with smbtree disappearing and all computers going for a six in my kubuntu network!

That was when I decided today i will give up, and so thought for the last time what to do.

I came across an article "install and configure samba in ubuntu for file sharing " in maketecheasier.com.

I found a few lines missing in my conf file (security = user, valid user = %S, of course which were there earlier, but I don't know how they went missing!) etc and also made some more changes as per that.

Under sharing I added the path etc also newly and changed the mask to 755 from 700.

However my command for smbpasswd failed to accept it when I was asked to re enter the password!

I tried to create a new user also, but failed.

I did all this without checking networking.

I installed system-config-samba then, but till this minute I do not know what to with that.

I decided enough is enough and went to windows computer.

WOW, MY KUBUNTU WAS THERE WITH THE FOLDER DOCUMENTS SHARED!

OF COURSE TILL THIS MINUTE I HAVE NOT BEEN SUCCESSFUL IN OPENING MS OFFICE FILES FROM KUBUNTU. Libre office icon jumps but then nothing happens

Earlier I was able to browse my network with SMB4K.

But today i am leaving it with this and see whether tomorrow all work again before attempting to browse from Kubuntu via dolphin and also via smb4k if required

Hope I am successful, if not I will uninstall and try after a few months of rest.

I heartily thank all of you for your guidance

Tomorrow after checking again, I hope to click PROBLEM SOLVED, even it is only one way from windows computers!

I believe there is a long standing bug with Libreoffice and samba shares etc. If you use the folder in /rub where the share maps to then I believe it is ok with that.

S.S.Mani (airomatic) said : #28

Thank you actionparsnip.

I just read the following command as the answer for the issue, however please help me get over using the command:

sed -i 's/X-GIO-NoFuse=true/#X-GIO-NoFuse=true/' /usr/share/applications/libreoffice-*

Should I replace 'usr' with my user name, and 'share/applications' with 'home/Documents' as that is my shared folder?

Thank you.

S.S.Mani (airomatic) said : #29

i am geeting a message as

sed -i 's/X-GIO-NoFuse=true/#X-GIO-NoFuse=true/' /usr/share/applications/libreoffice-*
sed: couldn't open temporary file /usr/share/applications/sed5DY25Q: Permission denied

Best Manfred Hampl (m-hampl) said : #30

Please do not split information about the same issue into two different question documents, but wait until https://answers.launchpad.net/ubuntu/+source/ubiquity/+question/252440 is answered.

S.S.Mani (airomatic) said : #31

Ok, I am sorry.
I will post only here from now. thank you

On Fri, Aug 1, 2014 at 12:26 PM, Manfred Hampl <
<email address hidden>> wrote:

> Your question #252244 on ubiquity in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/ubiquity/+question/252244
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Please do not split information about the same issue into two different
> question documents, but wait until
> https://answers.launchpad.net/ubuntu/+source/ubiquity/+question/252440
> is answered.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/ubiquity/+question/252244/+confirm?answer_id=29
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/ubiquity/+question/252244
>
> You received this question notification because you asked the question.
>

S.S.Mani (airomatic) said : #32

The following suggestion by Manfred Hampel solved my problem of reading MS files from network using dolphin file manger

(The question number for that post is 252440)

sudo sed -i 's/X-KDE-Protocols=/#X-KDE-Protocols=/' /usr/share/applications/libreoffice-*.desktop

Oh, thank you Manfred Hampl for the above solution!

It works now.

Now i am able to open MS office files using Network in dolphin file manager

thanks a lot once again.

S.S.Mani (airomatic) said : #33

Thanks Manfred Hampl, that solved my question.