Re: [Lubuntu-desktop] How To Access PCs on Local Network

2011-11-24 Thread
On 11/24/2011 07:15 PM, Jonathan Marsden wrote:
> On 11/24/2011 12:47 PM, ∅ wrote:
>> Actually I have a question about this. Does this mean, then, that
>> gvfs can do sshfs?
> Yes, it can, as an intentional side-effect of using GVFS.
>> If so, wow. DIdn't know that! I've been doing it manually for
>> forever.
> I tend to do many network-related tasks "the hard way" too :)
Actually I tend to do a LOT that way. I can live pretty happily in CLI.
> I have not tried them all with pcmanfm, but gvfs can use other schemas
> such as http://, ftp://, dav://, obex:// (for doing fun things like
> accessing files on your cellphone over bluetooth), gphoto2:// (access to
> connected digital cameras), and cdda:// (access to audio CDs)... I do
> not yet know how many of those work by default in Lubuntu and pcmanfm
> via gvfs-backends.  Based on gvfs-backends documentation, I *think* it
> should handle all of afc, archive, cdda, dav, dnssd, ftp, gphoto2, http,
> network, obexftp, sftp, smb and smb-browse, at minimum.
Wow, that is killer! I really didn't understand what was going on under
the hood when I first was exposed to Nautilus way back when but I was
impressed with its flexibility. That we have this same core I think
would be important in my opinion. If the LXDE wiki is to be believed [1]
then "full" support is given. Searching packages for every package
related to gvfs, it seems that every relevant package is installed (for
Oneiric that is) so we should be golden.
> A way to have pcmanfm display all the available schemas that it knows
> how to use could be useful.  Maybe in the network:/// screen it could
> show an icon for each one?  But part of the issue there is that not all
> protocols include a browse mechanism to locate all local servers using a
> given protocol, so displaying a list of servers when you click on a
> particular protocol may not be practical (you'd have to port scan your
> network to generate a list, which is obviously not a good idea!).
There is a network drives icon in the menu and there is the network:///
screen (same thing) even though there may not be a network. Knowing the
option is there is the important thing.
> At minimum, pcmanfm could include a Help database or User Guide that
> includes some basic information on each schema and what it is for, and
> examples of how to use it.  Right now in pcmanfm, the only thing under
> Help is About, which is... not really all that helpful :)
That would help, too. I guess someone needs to sit down with all the
schemas and put some documentation together and give it over to PCMan.
I'd be happy to help if need be.

wxl/walter

[1] http://wiki.lxde.org/en/PCManFM#Features

___
Mailing list: https://launchpad.net/~lubuntu-desktop
Post to : lubuntu-desktop@lists.launchpad.net
Unsubscribe : https://launchpad.net/~lubuntu-desktop
More help   : https://help.launchpad.net/ListHelp


Re: [Lubuntu-desktop] How To Access PCs on Local Network

2011-11-24 Thread Jonathan Marsden
On 11/24/2011 12:47 PM, ∅ wrote:

> On 11/24/2011 12:15 PM, Jonathan Marsden wrote:


>> Feel free to document all the protocols gvfs handles, if you think
>> that would benefit Lubuntu users. Please don't just document the
>> one protocol you happen to be using :)


> Actually I have a question about this. Does this mean, then, that
> gvfs can do sshfs?


Yes, it can, as an intentional side-effect of using GVFS.

> If so, wow. DIdn't know that! I've been doing it manually for
> forever.


I tend to do many network-related tasks "the hard way" too :)

gvfs can "plug in" new file access protocols; the gvfs-backends package
provides quite a few, as a starting point.  I don't know of a quick and
easy way to ask it "which schemas do you support" (there is apparently a
documented GVFS API function for this ( const gchar * const *
g_vfs_get_supported_uri_schemes(GVfs *vfs); ), but I'm not sure if this
is global, or only queries one existing pre-specified VFS).  I have not
found a little utility that lists them -- there probably is one, I just
have not found it yet!).

The approach Swapnil is working with is with the ssh:// schema, which
uses sftp, and (because of the way GVFS works) therefore provides a FUSE
filesystem under ~/.gvfs/ -- which is effectively sshfs.

To see this in action, run pcmanfm, type in

  ssh://you@192.168.0.2

give it the password for you on the ssh server at 192.168.0.2, and then
press F4.  You will find yourself in a shell in the remote sftp filesystem.

Using sftp like this works nicely for file management tasks like
copying, renaming, and deleting files, but is not efficient for normal
POSIX application file access (example: opening a file, doing random
access seeks and reads within it, modifying a few bytes in the middle of
the file, closing the file).  So, as I see it, using sftp works well for
the kinds of operations that a file manager (like pcmanfm) usually needs
to do, but not so well for actually running applications that access and
modify files on the remote file server.  For that, SMB or NFS would
probably be preferable. (I also have no idea how or whether sftp/sshfs
deal with file locking).

I have not tried them all with pcmanfm, but gvfs can use other schemas
such as http://, ftp://, dav://, obex:// (for doing fun things like
accessing files on your cellphone over bluetooth), gphoto2:// (access to
connected digital cameras), and cdda:// (access to audio CDs)... I do
not yet know how many of those work by default in Lubuntu and pcmanfm
via gvfs-backends.  Based on gvfs-backends documentation, I *think* it
should handle all of afc, archive, cdda, dav, dnssd, ftp, gphoto2, http,
network, obexftp, sftp, smb and smb-browse, at minimum.

In my very limited testing, pcmanfm also appears to support menu:// and
computer:// .

If Swapnil is writing a detailed comparison of Nautilus and pcmanfm,
then when comparing their capabilities, I would think that document will
include specifics of which schemas each file manager can handle, and
hopefully also how well each file manager handles each one.  (Maybe,
since both use GVFS, they both support exactly the same set of schemas,
I simply don't know).  That comparison should be a good article to read,
once it is completed, so I look forward to that.  It could lead to some
possible future enhancements for pcmanfm.

A way to have pcmanfm display all the available schemas that it knows
how to use could be useful.  Maybe in the network:/// screen it could
show an icon for each one?  But part of the issue there is that not all
protocols include a browse mechanism to locate all local servers using a
given protocol, so displaying a list of servers when you click on a
particular protocol may not be practical (you'd have to port scan your
network to generate a list, which is obviously not a good idea!).

At minimum, pcmanfm could include a Help database or User Guide that
includes some basic information on each schema and what it is for, and
examples of how to use it.  Right now in pcmanfm, the only thing under
Help is About, which is... not really all that helpful :)

Jonathan

___
Mailing list: https://launchpad.net/~lubuntu-desktop
Post to : lubuntu-desktop@lists.launchpad.net
Unsubscribe : https://launchpad.net/~lubuntu-desktop
More help   : https://help.launchpad.net/ListHelp


Re: [Lubuntu-desktop] How To Access PCs on Local Network

2011-11-24 Thread Swapnil Bhartiya

On 11/24/2011 09:15 PM, Jonathan Marsden wrote:


To receive a good answer, you need to ask a good (clearly written) question.


Will keep that in mind.

Thanks.
Swapnil

___
Mailing list: https://launchpad.net/~lubuntu-desktop
Post to : lubuntu-desktop@lists.launchpad.net
Unsubscribe : https://launchpad.net/~lubuntu-desktop
More help   : https://help.launchpad.net/ListHelp


Re: [Lubuntu-desktop] How To Access PCs on Local Network

2011-11-24 Thread

On 11/24/2011 12:15 PM, Jonathan Marsden wrote:
> Had you initially asked how to access files on Linux machines on the
> local network that were only accessible over SSH, you might have
> received more appropriate responses for your (unusual) situation.
> gvfs, which is used by both Nautilus and pcmanfm, can handle a variety
> of file sharing protocols; knowing which one is appropriate to connect
> to your fileserver(s) is important.  Feel free to document all the
> protocols gvfs handles, if you think that would benefit Lubuntu users.
> Please don't just document the one protocol you happen to be using :)
Actually I have a question about this. Does this mean, then, that gvfs
can do sshfs? If so, wow. DIdn't know that! I've been doing it manually
for forever.

wxl/walter

___
Mailing list: https://launchpad.net/~lubuntu-desktop
Post to : lubuntu-desktop@lists.launchpad.net
Unsubscribe : https://launchpad.net/~lubuntu-desktop
More help   : https://help.launchpad.net/ListHelp


Re: [Lubuntu-desktop] How To Access PCs on Local Network

2011-11-24 Thread Jonathan Marsden
On 11/22/2011 01:17 AM, Swapnil Bhartiya wrote:

 

>> In pcmanfm, click on Go ->  Network Drives, and browse to the
>> desired machine and share.


> Under Go > Network I only see Windows Network (I don't have any
> windows machines, all are either Ubuntu or openSUSE) , clicking on it
> does nothing.


This means that your other machine (the OS it is running, Linux,
Windows, OS X, FreeBSD, etc. is not directly relevant) is not running an
SMB-based file sharing service on its LAN interface.

My earlier reply to you started out with:

>> Assuming the "other PCs" are sharing files using the SMB protocol

But you apparently ignored that, and failed to quote it in your reply.
Had you initially asked how to access files on Linux machines on the
local network that were only accessible over SSH, you might have
received more appropriate responses for your (unusual) situation.

gvfs, which is used by both Nautilus and pcmanfm, can handle a variety
of file sharing protocols; knowing which one is appropriate to connect
to your fileserver(s) is important.  Feel free to document all the
protocols gvfs handles, if you think that would benefit Lubuntu users.
Please don't just document the one protocol you happen to be using :)

To receive a good answer, you need to ask a good (clearly written) question.

Jonathan

___
Mailing list: https://launchpad.net/~lubuntu-desktop
Post to : lubuntu-desktop@lists.launchpad.net
Unsubscribe : https://launchpad.net/~lubuntu-desktop
More help   : https://help.launchpad.net/ListHelp


Re: [Lubuntu-desktop] How To Access PCs on Local Network

2011-11-22 Thread Swapnil Bhartiya



In pcmanfm, click on Go ->  Network Drives, and browse to the desired
machine and share.
Under Go > Network I only see Windows Network (I don't have any windows 
machines, all are either Ubuntu or openSUSE) , clicking on it does 
nothing. It also doesn't show my other PC.


As others pointed to use SMB also did not work.

I then tried ssh://MACHINE_IP:PORT/LOCATION and it worked. So, I feel 
there is need for documentation.


Thanks everyone for assistance.

Swapnil

___
Mailing list: https://launchpad.net/~lubuntu-desktop
Post to : lubuntu-desktop@lists.launchpad.net
Unsubscribe : https://launchpad.net/~lubuntu-desktop
More help   : https://help.launchpad.net/ListHelp


Re: [Lubuntu-desktop] How To Access PCs on Local Network

2011-11-21 Thread Jonathan Marsden
On 11/21/2011 12:11 PM, Swapnil Bhartiya wrote:

> Under Ubuntu's Nautilus its very easy to connect to other PCs, just
> use the "Connect to Server" option, enter the IP of the machine, user
> name and password and you can access the drives on that PC. How do
> you do that under Lubuntu?


Assuming the "other PCs" are sharing files using the SMB protocol, in
Lubuntu, by default you use pcmanfm, not Nautilus, as a file browser.

In pcmanfm, click on Go -> Network Drives, and browse to the desired
machine and share.  As others have already noted, there are shortcuts
involving typing in URLs with unusual schemas such as smb: or network:
you can use, but that is not necessary, you can stay fully "point and
click" and access files shared on other machines.

If you are reviewing pcmanfm, or comparing it to Nautilus, please be
sure to take the time to explore all of its menus :)

Jonathan

___
Mailing list: https://launchpad.net/~lubuntu-desktop
Post to : lubuntu-desktop@lists.launchpad.net
Unsubscribe : https://launchpad.net/~lubuntu-desktop
More help   : https://help.launchpad.net/ListHelp


Re: [Lubuntu-desktop] How To Access PCs on Local Network

2011-11-21 Thread Gabriel Salles
I just open the network:/// folder.  I never needed to use a "name" and
"password", so I don't know if is the same thing.
___
Mailing list: https://launchpad.net/~lubuntu-desktop
Post to : lubuntu-desktop@lists.launchpad.net
Unsubscribe : https://launchpad.net/~lubuntu-desktop
More help   : https://help.launchpad.net/ListHelp


Re: [Lubuntu-desktop] How To Access PCs on Local Network

2011-11-21 Thread William Mcleod
You can still do that in pcman, click on the location bar, then type 
"userName@1.1.1.1" , you'll get a password prompt. It's not obvious, maybe we 
can add a "connect to other computer" option in pcman.

On Mon, 21 Nov 2011 21:11:59 +0100
Swapnil Bhartiya  wrote:

> Hi,
> 
> Under Ubuntu's Nautilus its very easy to connect to other PCs, just use 
> the "Connect to Server" option, enter the IP of the machine, user name 
> and password and you can access the drives on that PC. How do you do 
> that under Lubuntu?
> 
> -- 
> Swapnil Bhartiya
> Editor: Muktware.com
> Skype: No Way...its non-free. Looking for alternatives
> Facebook: http://facebook.com/muktware
> Twitter: http://twitter.com/muktware
> Google+ : https://plus.google.com/109027644713767623413/posts
> 
> ___
> Mailing list: https://launchpad.net/~lubuntu-desktop
> Post to : lubuntu-desktop@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~lubuntu-desktop
> More help   : https://help.launchpad.net/ListHelp


-- 
William Mcleod 

___
Mailing list: https://launchpad.net/~lubuntu-desktop
Post to : lubuntu-desktop@lists.launchpad.net
Unsubscribe : https://launchpad.net/~lubuntu-desktop
More help   : https://help.launchpad.net/ListHelp


Re: [Lubuntu-desktop] How To Access PCs on Local Network

2011-11-21 Thread mapsbackw...@gmail.com
smb://host/share

wxl



On Nov 21, 2011 3:28 PM, Swapnil Bhartiya  
wrote: 

Hi,



Under Ubuntu's Nautilus its very easy to connect to other PCs, just use 

the "Connect to Server" option, enter the IP of the machine, user name 

and password and you can access the drives on that PC. How do you do 

that under Lubuntu?



-- 

Swapnil Bhartiya
Editor: Muktware.com
Skype: No Way...its non-free. Looking for alternatives
Facebook: http://facebook.com/muktware
; Twitter: http://twitter.com/muktware Google+ : https://plus.google.com/109027644713767623413/posts ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~lubuntu-desktop Post to : lubuntu-desktop@lists.launchpad.net Unsubscribe : https://launchpad.net/~lubuntu-desktop More help : https://help.launchpad.net/ListHelp

[Lubuntu-desktop] How To Access PCs on Local Network

2011-11-21 Thread Swapnil Bhartiya

Hi,

Under Ubuntu's Nautilus its very easy to connect to other PCs, just use 
the "Connect to Server" option, enter the IP of the machine, user name 
and password and you can access the drives on that PC. How do you do 
that under Lubuntu?


--
Swapnil Bhartiya
Editor: Muktware.com
Skype: No Way...its non-free. Looking for alternatives
Facebook: http://facebook.com/muktware
Twitter: http://twitter.com/muktware
Google+ : https://plus.google.com/109027644713767623413/posts

___
Mailing list: https://launchpad.net/~lubuntu-desktop
Post to : lubuntu-desktop@lists.launchpad.net
Unsubscribe : https://launchpad.net/~lubuntu-desktop
More help   : https://help.launchpad.net/ListHelp