Jump to content
Sign in to follow this  
Electr0

Remote (Local) File Copy, With GUI?

Recommended Posts

Hey All,

 

So I have a small headless Ubuntu server running at home. It runs a SAMBA server which shares a huge collection of TV Shows on a RAID 5 array to anyone connected to hour home network.

 

I am using a Flexget and a Deluge deamon to download said TV Show torrents which are placed in the "Downloads" folder on the OS drive of the server. I then manually transfer them to RAID array and place them in the appropriate files.

 

Sidenote: Yes, I am aware that Flexget and Deluge can automagically place them in the appropriate folder, but that's beside the point.

 

I currently transfer them from the OS drive to the RAID array using my Windows PC connected to the SAMBA share folders. This means that the files are actually transferred from the Server OS drive to my computer then back to the RAID array, at least is looks that way by the huge amount of network activity and bandwidth usage that occurs when I copy said files. This means that my transfer rates are about 35 MB/s, which I presume is limited by my wired gigabit ethernet connection.

 

So, what I'm wondering is, is there some kind of program out there, that either runs on my PC or can be run remotely through Putty, that will allow me to remotely copy local (server) files, and provide me with some kind of GUI to do so? Therefore copying directly from the OS drive to the RAID array. I can obviously do this through Putty by using the cp command, or using rsync to recursively copy files, but a GUI would make it much easier.

 

I guess the best explanation of the function would be like running Windows Explorer on the Sever and connect to it on my PC via VNC.

 

Anyone have any ideas?

Share this post


Link to post
Share on other sites

Yes, install a VNC server on ubuntu, and use that to control it via GUI. It will mirror a ubuntu server desktop to your windows machine.

There are plenty to choose from, just do a google search "install vnc on ubuntu".

Share this post


Link to post
Share on other sites

Hmm that annoying, because I'm running Ubuntu Server Edition. Probably should have mentioned that.

Which means, like you said, I would have to install some kind of X11 interface.

 

Maybe I should start to learn Python and try and write my own program :\

Share this post


Link to post
Share on other sites

Can you run a web based file management application on the server?

 

Or write your own as a learning exercise ;)

Share this post


Link to post
Share on other sites

Midnight commander ( mc ) over SSH using PuTTy as the windows client is the easiest and lightest way I can think of.

 

Just ssh in to the server with puTTY, 'sudo apt-get install mc' on the server and then type mc to run midnight commander.

If you need administrator privileges for mc then 'sudo mc' .

Share this post


Link to post
Share on other sites

Can you run a web based file management application on the server?

Yes, I kind of do atm, I have WebMin.

 

actually.... Cant Webmin do file copys?

You could HTTP in with a webbrowser....

As above. Yes, I could, and it works well, for single files or small files. But when you want to copy GBs of data (like movies or tv shows) it just freezes, or is temperamental. It seems to work sometimes, if given enough time, but there is no progress bar and you can't do anything with the window while it's copying.

 

Midnight commander ( mc ) over SSH using PuTTy as the windows client is the easiest and lightest way I can think of.

Yup, thought of that, and have MC installed, but as far as I'm aware MC uses the rm command, which isn't recursive. Also I don't think it has a progress bar either.

 

 

WINSCP. http://winscp.net/eng/index.php

It's a GUI for SSH.

It's what i use when I'm doing Windows to Linux. Drag and drop baby :P

yeah but he wants linux to linux, from a windows box.

Hmmm, I'll have a look at that when I get home tonight. I did read about it somewhere.

Have to see what it's all about and if I can make it do what I want.

Edited by Electr0

Share this post


Link to post
Share on other sites

Your easiest solution will be to run some form of X server, and the lightest desktop environment you can find.

It'll take you two or three lines of ARP to install this, and you'll be done.

Then install xRDP, so you can use windows built in MSTSC to remote in.

Done.

 

You could even have a script used to logout that kills the X server, and a script that listens for data on your RDP port, and starts the service.

 

But really; how fine are your resources? Is running X.org\x11 going to bring your system to a halt?

 

 

 

 

http://thanhsiang.org/faqing/node/120

 

then apt-get install xrdp

Share this post


Link to post
Share on other sites

If you're going to install an X server on to the linux server then you might want to just tunnel the GUI file manger you prefer instead of a whole VNC or RDP desktop session.

 

Here's a howto.

 

If you're only displaying one window across the network there's less lag and bandwith.

Share this post


Link to post
Share on other sites

If you're going to install an X server on to the linux server then you might want to just tunnel the GUI file manger you prefer instead of a whole VNC or RDP desktop session.

 

Here's a howto.

 

If you're only displaying one window across the network there's less lag and bandwith.

I disagree if his main rig is a windows machine.

mstsc is available anywhere you go for remote access, and on the 56k modem setting uses bugger all data.

As I was hinting at, if running an idle X server, and using low settings RDP brings his server to its knees, he's already cutting it way too close and should worry more about some upgrades than remote access, lol.

Share this post


Link to post
Share on other sites

I know mc does copy so you can look at this, or use it in combination with the cp command and screen.

 

You can use lfm - might be more what you're after.

sudo apt-get install lfm

 

Posted Image

Share this post


Link to post
Share on other sites

If you're going to install an X server on to the linux server then you might want to just tunnel the GUI file manger you prefer instead of a whole VNC or RDP desktop session.

 

Here's a howto.

 

If you're only displaying one window across the network there's less lag and bandwith.

As I was hinting at, if running an idle X server, and using low settings RDP brings his server to its knees, he's already cutting it way too close and should worry more about some upgrades than remote access, lol.

 

I agree on this point but I was just offering another option. It's more about available network bandwidth anyway.

 

Besides this is Atomic and running remote graphical linux apps on your windows desktop and having it appear seamless is just cool. I remember doing it using WinaXe and PuTTy some 10 or more years ago after Ashon Mills wrote up an article. Setup wasn't very hard and once it was running it was pretty slick to use, though there were issues with cut and past between apps running on different machines...

 

I remember spinning out one of my mates with a demonstration of the "new Linux/Windows hybrid OS pirate alpha" I'd gotten a copy of - until he twigged that there were in fact two boxes running under my desk.

Maybe I should get a Rasberry Pi and have another play with this...

Share this post


Link to post
Share on other sites

there are also a few web based file managers you could use for this, for example http://elfinder.org/

 

Have to make sure you get the permissions right for the user, I'd suggest suexec setup so that the user you normally shell into (not root I hope :P) can move files between the locations

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×