Dropbox forgets authorization every boot

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
JamesTheAwesomeDude
Posts: 99
Joined: Tue 29 Jan 2013, 17:17
Location: Classified

Dropbox forgets authorization every boot

#1 Post by JamesTheAwesomeDude »

I have the normal Dropbox daemon installed, via cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86" | tar xzf - (I had to add --no-check-certificate to the wget part, for some reason, but that shouldn't cause any trouble,) and it installed and ran perfectly, but every time I boot up, it forgets that I'm logged in. I don't know how to fix this.

Slacko Puppy 5.4, with Dropbox v1.6.17.
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=84349][img]http://i.imgur.com/Zw6vryI.png[/img][color=#3B6EA3][b][size=200] Version 27. Dotpet. Click here.[/size]
(SFS available too!)[/b][/color][/url]

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#2 Post by 666philb »

hi JamesTheAwesomeDude

yes dropbox started exhibiting this behaviour in puppy a while ago.
there is a portable version that still works on puppy http://sourceforge.net/projects/portabl ... 3/download

there's a script attached below that grabs the portable dropbox and adds a menu entry and autostart entry, just unzip it and .left-click on the script
Attachments
dropbox.tar.gz
(638 Bytes) Downloaded 428 times
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
JamesTheAwesomeDude
Posts: 99
Joined: Tue 29 Jan 2013, 17:17
Location: Classified

#3 Post by JamesTheAwesomeDude »

Okay, will this version be a downgrade? I don't want a downgrade unless absolutely necessary (e.g., security vulnerabilities,) so what's different about this package? Also, why use an installation script when a Dotpet would work much better? :?

I know that this is probably just me being paranoid, and the Puppy Linux community would probably never do something malicious, but this situation is kind of creeping me out...
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=84349][img]http://i.imgur.com/Zw6vryI.png[/img][color=#3B6EA3][b][size=200] Version 27. Dotpet. Click here.[/size]
(SFS available too!)[/b][/color][/url]

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#4 Post by 666philb »

hi JamesTheAwesomeDude

yes it is an older version of dropbox version 1.1.43. it works as it should do though remembering your setup details. i'm not sure if it's this particular version that just works. or the fact that it's a portable app

it's from this site http://portablelinuxapps.org/

the script i posted is from the quickpet_precise program (in my sig) and just downloads dropbox from the site above. then adds a menu entry and an option the autostart dropbox. you can right click on the script and open it as text to see what it does.
i attached it because it's a convenient and small way to get dropbox.

still frightened ? :wink:
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
JamesTheAwesomeDude
Posts: 99
Joined: Tue 29 Jan 2013, 17:17
Location: Classified

#5 Post by JamesTheAwesomeDude »

Something interesting: I recently made a Full install to my hard drive, and it remembers my authorization on every boot!
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=84349][img]http://i.imgur.com/Zw6vryI.png[/img][color=#3B6EA3][b][size=200] Version 27. Dotpet. Click here.[/size]
(SFS available too!)[/b][/color][/url]

User avatar
growler
Posts: 209
Joined: Mon 24 Mar 2008, 04:42
Location: Kapiti - New Zealand

Full version remembers authorisation?

#6 Post by growler »

Any chance of a .pet?
The portable version doesn't work on racy complaining about fuse?

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#7 Post by 666philb »

hi growler,

which racy version ?
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
growler
Posts: 209
Joined: Mon 24 Mar 2008, 04:42
Location: Kapiti - New Zealand

Lost dropbox credentials

#8 Post by growler »

racy 5.3

Would be great to have an automatic login to dropbox - without having to login manually each time... call me lazy and perhaps a little liberal security wise - but this is a real pain in the butt!!

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#9 Post by 666philb »

hi growler

i just tested the portable dropbox in a vanilla racy 5.3 frugal and it does work for me... although the taskbar icon doesn't show! however i just dragged and dropped the dropbox 'public' folder onto the desktop. i tested it by dropping a file in there and it worked fine, uploading the file automatically.

my script doesn't work on racy though so you'll have to download the portable yourself.
you then need to rename it to remove the space i.e. from 'dropbox 1.1.43' to 'dropbox1.1.43' or just dropbox.

then right click on it and choose 'permissions' then 'make executable/searchable'

finally, to have it autostart. drag and drop it to /root/Startup and choose 'link relative'
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

User avatar
growler
Posts: 209
Joined: Mon 24 Mar 2008, 04:42
Location: Kapiti - New Zealand

Dropbox portable on Racy 5.3

#10 Post by growler »

Code: Select all

lrwxrwxrwx 1 root root        14 2013-02-18 19:56 Dropbox -> Dropbox 1.1.43
-rwxr-xr-x 1 root root  16908288 2013-02-18 19:55 Dropbox 1.1.43
now I run it:

Code: Select all

# ./Dropbox
fuse: failed to daemonize program
: No such device
open dir error: : No such file or directory
I am using a frugal - with a large save file

User avatar
kwhitefoot
Posts: 18
Joined: Thu 27 Oct 2005, 12:37
Location: Norway

666philb's script didn't work, here is a fixed version

#11 Post by kwhitefoot »

The problem was the name of the downloaded file. This version uses wget -O to rename the downloaded file. It also drops rxvt, I don't see the point of opening another window to show thw wget progress.

Code: Select all

#!/bin/sh

#set -x # Uncomment to see detailsof the commands.

mkdir /tmp/dropboxinstaller

wget -O /tmp/dropboxinstaller/dropbox http://sourceforge.net/projects/portable/files/Dropbox%201.1.43/download
cp /tmp/dropboxinstaller/dropbox /usr/bin/dropbox
chmod a+x /usr/bin/dropbox
rm -R /tmp/dropboxinstaller

#`xmessage -name 'timer' -center -bg red -fg white "to get dropbox to autostart
#drag and drop /usr/bin/dropbox to /root/Startup
#and choose link relative"`
Xdialog --title "dropbox autostart" --stdout --yesno "do you want to have dropbox autostart at boot?" 10 60
echo "[Desktop Entry]" > /usr/share/applications/dropbox.desktop
echo "Name=Dropbox" >> /usr/share/applications/dropbox.desktop
echo "GenericName=File Synchronizer" >> /usr/share/applications/dropbox.desktop
echo "Comment=Sync your files across computers and to the web" >> /usr/share/applications/dropbox.desktop
echo "Exec=dropbox" >> /usr/share/applications/dropbox.desktop
echo "Terminal=false" >> /usr/share/applications/dropbox.desktop
echo "Type=Application" >> /usr/share/applications/dropbox.desktop
echo "Icon=/usr/share/icons/dropbox.png" >> /usr/share/applications/dropbox.desktop
echo "Categories=X-Internet;" >> /usr/share/applications/dropbox.desktop
echo "StartupNotify=false" >> /usr/share/applications/dropbox.desktop
/usr/sbin/fixmenus
jwm -restart
/usr/bin/dropbox &
case $? in

1)
		exit
		;;
0)
		ln -s /usr/bin/dropbox /root/Startup/dropbox
		;;
	esac

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#12 Post by mikeb »

(I had to add --no-check-certificate to the wget part, for some reason, but that shouldn't cause any trouble,)
curious since security seemed so important...but worry not..

A few posts down I have added recent certificates for curl and wget and where to put them.. I had to update them recently too.
http://www.murga-linux.com/puppy/viewtopic.php?t=90753

mike

Post Reply