Re: [qubes-users] automatic start dropbox in VM

2019-01-24 Thread marlluslustosa
The only solution that solved my problem was to add the following line in this 
file '/home/user/.bash_profile':

sh ~/.dropbox-dist/dropboxd &

thanks a lot

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/cd5e3176-9473-4038-957b-091df97196bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] automatic start dropbox in VM

2017-10-07 Thread jrheling
On Sunday, October 9, 2016 at 2:00:09 PM UTC-5, gonda...@gmail.com wrote:
> On Monday, September 22, 2014 at 3:51:34 PM UTC+2, Jos den Bekker wrote:
> > On 22 september 2014 12:18:59 UTC+2 Marek Marczykowski-Górecki wrote:
> > Try access it using "sudo xl console VMNAME" (login as root there).
> > 
> > 
> > Thanks. That saved my VM
> > 
> > I changed the command in rc.local into su - user -c "dropbox start &", but 
> > same disastrous result. I left out the ampersand, same result. I'm not sure 
> > I understand this. "dropbox" is a frontend python script in /usr/bin, and I 
> > should think that with "su" the script runs within the VM.
> > 
> > But "work" is the only VM that has the dropbox daemon installed, so now I 
> > execute it directly in rc.local, and that works perfectly.
> > 
> > Thanks for all the feedback.
> 
> May I ask how did you manage to make it work in the end?
> 
> I am using this approach with dropbox but somehow cannot start it up.
> cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64"; | tar 
> xzf -
> Next, run the Dropbox daemon from the newly created .dropbox-dist folder.
> ~/.dropbox-dist/dropboxd
> 
> My guess is that rc.local is executed as root.

FWIW, after successfully installing dropbox using these steps: 
  1) 'rpm -Uvh nautilus-*'
  2) 'dropbox start -i' (from a command line w/ a URL handler installed)
  3) following authn instructions in the resulting browser window

I found that I could get dropbox to start automatically at boot by adding this 
to  /rw/config/rc.local and making it executable:

   sudo -c '/usr/bin/dropbox start' - user &

Note: because dropbox is installed in the user's home dir, only step #1 above 
makes sense in the template; the others need to happen in the VM.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/857cb511-1797-4e56-ac2e-da8007b26552%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] automatic start dropbox in VM

2016-10-09 Thread gonda . miso
On Monday, September 22, 2014 at 3:51:34 PM UTC+2, Jos den Bekker wrote:
> On 22 september 2014 12:18:59 UTC+2 Marek Marczykowski-Górecki wrote:
> Try access it using "sudo xl console VMNAME" (login as root there).
> 
> 
> Thanks. That saved my VM
> 
> I changed the command in rc.local into su - user -c "dropbox start &", but 
> same disastrous result. I left out the ampersand, same result. I'm not sure I 
> understand this. "dropbox" is a frontend python script in /usr/bin, and I 
> should think that with "su" the script runs within the VM.
> 
> But "work" is the only VM that has the dropbox daemon installed, so now I 
> execute it directly in rc.local, and that works perfectly.
> 
> Thanks for all the feedback.

May I ask how did you manage to make it work in the end?

I am using this approach with dropbox but somehow cannot start it up.
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64"; | tar xzf -
Next, run the Dropbox daemon from the newly created .dropbox-dist folder.
~/.dropbox-dist/dropboxd

My guess is that rc.local is executed as root.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/2b8d791a-b401-440d-b0a9-0b7e7b60102d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.