ubuntuone not usable on headless installs

Bug #440351 reported by Scott Duensing
110
This bug affects 24 people
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Won't Fix
Wishlist
Tim Cole

Bug Description

There is no way to install the Ubuntu One client on a headless machine without installing tons of unneeded GNOME packages.

Revision history for this message
Facundo Batista (facundo) wrote :

What are you trying to achieve?

Maybe you should use u1sync command line tool instead of the full installation...

Changed in ubuntuone-client:
status: New → Incomplete
Revision history for this message
Scott Duensing (scott-jaegertech) wrote :

I want to install it on a server with no X11 installed. I can't even install the PPA package without apturl and that required over 100 additional packages. :-(

Revision history for this message
John Lenton (chipaca) wrote :

Hello, and thank you for using Ubuntu One.
I have been able to install Ubuntu One on a headless server without a problem. What part is tripping you up?
Thanks,

Changed in ubuntuone-client:
assignee: nobody → John Lenton (chipaca)
Revision history for this message
Scott Duensing (scott-jaegertech) wrote :

It's not that I can't make it work, it's that it depends on a ton of additional libraries that all pertain to X11 and GUI stuff. I was hoping for a very light CLI-only install appropriate for a server.

Revision history for this message
John Lenton (chipaca) wrote :

Hmm... yes, I can see the problem. I just built it from source :)
I'd say we're a while away from cleaning up the packages to the point where they enable what you want; I'd recommend using the source directly.
What needs to happen is that first we split ubuntuone.oauthdesktop out of python-ubuntuone-client into its own package, and then make ubuntuone-client-tools depend on that instead of python-ubuntuone-client.

Tim: I'm assigning this to you for you to confirm that this would indeed make u1sync usable on a server without pulling in “a ton of additional libraries”.

Changed in ubuntuone-client:
assignee: John Lenton (chipaca) → Tim Cole (tcole)
status: Incomplete → Triaged
John Lenton (chipaca)
summary: - Cannot install without a GUI desktop.
+ split oauthdesktop into its own package to enable headless installs
dobey (dobey)
summary: - split oauthdesktop into its own package to enable headless installs
+ ubuntuone not usable on headless installs
Revision history for this message
dobey (dobey) wrote :

There's no need to split out oauthdesktop for supporting headless. The problem is that we use python-gnomekeyring. For us to support headless, we'll have to switch to python-keyring, and handle storing tokens somewhere other than gnome-keyring on headless displays. However, none of this is going to happen for the Karmic packaging as it is frozen, and this change wouldn't be acceptable in an SRU.

For Lucid, we should have a more robust authenticaton service, which should allow us to support headless displays better.

Changed in ubuntuone-client:
importance: Undecided → Wishlist
Revision history for this message
Greg Coit (gregcoit) wrote :

To clarify, I think what the OP is looking for is a server (non-Gui) client for Ubuntu One.

Revision history for this message
Scott Duensing (scott-jaegertech) wrote :

Greg, that is correct. I simply want to be able to install it without dragging in all the GUI-related libraries and such on a server.

Revision history for this message
malheum (maxheise) wrote :
Download full text (5.0 KiB)

Hello,

I just tried to install ubuntu one on a headless and fanless server running 10.04 server which boots from a compact flash card and only has usb cameras connected (for motion detection of my home's possible entry points when I am away).

My hope was to upload pictures with detected movement to ubuntu one and from there to laptops and android phones.

However when I tried to install it wants to pull the whole x11 package cluster, which is absolutely totally insane.

Could you please consider to clean up this mess of dependencies ? Maybe at least in some ppa ?

# apt-get install ubuntuone-client
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Status-Informationen einlesen... Fertig
Die folgenden zusätzlichen Pakete werden installiert:
  aspell aspell-en consolekit dbus dbus-x11 defoma dictionaries-common fontconfig fontconfig-config gconf2 gconf2-common
  gnome-keyring hicolor-icon-theme hunspell-en-us libaspell15 libatk1.0-0 libatk1.0-data libavahi-client3
  libavahi-common-data libavahi-common3 libcairo2 libck-connector0 libcups2 libdatrie1 libeggdbus-1-0 libenchant1c2a
  libfontconfig1 libfontenc1 libgail18 libgconf2-4 libgcr0 libgl1-mesa-dri libgl1-mesa-glx libglade2-0 libgnome-keyring0
  libgp11-0 libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libhunspell-1.2-0
  libice6 libicu42 libidl0 libjasper1 libnotify1 liborbit2 libpam-ck-connector libpam-gnome-keyring libpango1.0-0
  libpango1.0-common libpixman-1-0 libpolkit-gobject-1-0 libprotobuf5 libprotoc5 libproxy0 libsexy2 libsm6 libsoup2.4-1
  libstartup-notification0 libthai-data libthai0 libtiff4 libwebkit-1.0-2 libwebkit-1.0-common libwnck-common libwnck22
  libxaw7 libxcb-atom1 libxcb-aux0 libxcb-event1 libxcb-render-util0 libxcb-render0 libxcomposite1 libxcursor1 libxdamage1
  libxfixes3 libxfont1 libxft2 libxi6 libxinerama1 libxmu6 libxpm4 libxrandr2 libxrender1 libxres1 libxslt1.1 libxt6
  libxtst6 libxv1 libxxf86dga1 libxxf86vm1 notification-daemon protobuf-compiler python-cairo python-configglue
  python-gnomekeyring python-gtk2 python-libproxy python-notify python-protobuf python-pyinotify python-twisted-names
  python-twisted-web python-ubuntuone-client python-ubuntuone-storageprotocol python-webkit python-xdg shared-mime-info
  ttf-dejavu-core ubuntu-sso-client x-ttcidfont-conf x11-common x11-utils x11-xserver-utils xdg-utils xfonts-encodings
  xfonts-utils
Vorgeschlagene Pakete:
  aspell-doc spellutils defoma-doc psfontmgr dfontmgr libfont-freetype-perl ispell emacsen-common jed-extra
  gconf-defaults-service hunspell openoffice.org-hunspell openoffice.org-core cups-common libenchant-voikko libglide3
  libvisual-0.4-plugins gstreamer-codec-install gnome-codec-install gstreamer0.10-tools gstreamer0.10-plugins
  librsvg2-common gvfs libjasper-runtime ttf-japanese-gothic ttf-japanese-mincho ttf-thryomanes ttf-baekmuk
  ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp ttf-arphic-gkai00mp ttf-arphic-bkai00mp python-gtk2-doc python-numpy
  python-pyinotify-doc ubuntuone-client-dbg mesa-utils nickle cairo-5c xorg-docs-core desktop-file-utils libgnome2-0
  exo-utils libgnomevfs2-bin kdelibs4c2a konqueror
Die fol...

Read more...

Revision history for this message
Torsten Bronger (bronger) wrote :

Any news on this one?

It would be lovely if there was a daemon which you could start on a headless Ubuntu server, synchronising a directory on that server. It would read a conf file and maybe an auth file with the credentials, just like Samba.

I only found http://per.liedman.net/2011/01/22/using-ubuntu-one-for-backup-on-a-headless-server/ which seems to be outdated, *plus* it doesn't use a daemon.

Revision history for this message
jessesmith (jessefrgsmith) wrote :

I would like to see a headless (command line) client too. Something which would keep my server in sync with files uploaded to Ubuntu One. Either a simple command-line set up which could be run in cron or a daemon as suggested above.

Revision history for this message
malheum (maxheise) wrote :

Ten months passed and nothing happened ?

Revision history for this message
Roberto Alsina (ralsina) wrote :

@malheum this is a low priority bug for us and we have assigned no resurces to fixing it. The way ubuntu one is implemented, it uses GNOME Keyring (although there is some code now that could make that be optional) and a DBUS session, so it's not quite possible yet.

OTOH, we are open to community contributions in this area.

Revision history for this message
Mr. Jan Hearthstone (truehome) wrote :

Low priority?
how am I supposed upload files to UbuntuOne using a terminal?
I tried ubuntuone-control-panel-qt, but what I get is:

ModelEarth:~# ubuntuone-control-panel-qt
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
Failure: ubuntuone.platform.tools.linux.IPCError: org.freedesktop.DBus.Error.NoReply:

nothing else I tried worked at all.

Thank you, Hearthstone.

Revision history for this message
John Lenton (chipaca) wrote : Re: [Bug 440351] Re: ubuntuone not usable on headless installs

May I suggest you read
http://rtg.in.ua/blog/2012/03/upload-to-ubuntu-one-using-curl/
?

On Wed, Mar 28, 2012 at 5:16 PM, Mr. Jan Hearthstone <email address hidden> wrote:
> Low priority?
> how am I supposed upload files to UbuntuOne using a terminal?
> I tried ubuntuone-control-panel-qt, but what I get is:
>
> ModelEarth:~# ubuntuone-control-panel-qt
> Unhandled error in Deferred:
> Unhandled Error
> Traceback (most recent call last):
> Failure: ubuntuone.platform.tools.linux.IPCError: org.freedesktop.DBus.Error.NoReply:
>
> nothing else I tried worked at all.
>
> Thank you, Hearthstone.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/440351
>
> Title:
>  ubuntuone not usable on headless installs
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntuone-client/+bug/440351/+subscriptions

Changed in ubuntuone-client:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.