graysky2 / profile-sync-daemon

Symlinks and syncs browser profile dirs to RAM thus reducing HDD/SDD calls and speeding-up browsers.
https://wiki.archlinux.org/index.php/Profile-sync-daemon
Other
910 stars 88 forks source link

psd try to start chromium #73

Closed nefelim4ag closed 10 years ago

nefelim4ag commented 10 years ago

I think this is a bug and i not know why psd, do it. ┌─[timofey@beplan] - [~] - [393] └─[$] psd Created new window in existing browser session. Created new window in existing browser session. Profile-sync-daemon v@VERSION@

/usr/bin/psd [option] preview Parse config file (/run/psd.conf) to see which profiles will be managed. resync Synchronize the tmpfs and media bound copy. Must be run as root user. sync Force a manual sync. Must be run as root user and NOT recommended. unsync Force a manual unsync. Must be run as root user and NOT recommended.

It is HIGHLY DISCOURAGED to directly call /usr/bin/psd to sync or to unsync. Instead, use systemd to start/stop profile-sync-daemon.

systemctl [option] psd psd-resync start Turn on daemon; make symlinks and actively manage targets in tmpfs. stop Turn off daemon; remove symlinks and rotate tmpfs data back to disc. enable Autostart daemon when system comes up. disable Remove daemon from the list of autostart daemons.

┌─[timofey@beplan] - [~] - [394] └─[$] sudo psd sync No protocol specified

(chromium:20884): Gtk-WARNING **: cannot open display: :0 No protocol specified

(chromium:20898): Gtk-WARNING **: cannot open display: :0

graysky2 commented 10 years ago

Are you using v5.46 or a version you are modifying? Noticed the output of your version in the header...

nefelim4ag commented 10 years ago

This is version, from my git (i send pull request), but this no matter. On version from aur, this also causes.

graysky2 commented 10 years ago

No sure... on my machine, it works as expected.

% psd
Profile-sync-daemon v5.46

 /usr/bin/psd [option]
  preview   Parse config file (/etc/psd.conf) to see which profiles will be managed.
  resync    Synchronize the tmpfs and media bound copy. Must be run as root user.
  sync      Force a manual sync. Must be run as root user and NOT recommended.
  unsync    Force a manual unsync. Must be run as root user and NOT recommended.

 It is HIGHLY DISCOURAGED to directly call /usr/bin/psd to sync or to unsync.
 Instead, use systemd to start/stop profile-sync-daemon.

 systemctl [option] psd psd-resync
  start     Turn on daemon; make symlinks and actively manage targets in tmpfs.
  stop      Turn off daemon; remove symlinks and rotate tmpfs data back to disc.
  enable    Autostart daemon when system comes up.
  disable   Remove daemon from the list of autostart daemons.

% sudo psd sync
% ls -l /tmp
total 0
drwxr-xr-x 7 facade users  540 Mar 15 07:41 facade-chromium
drwx------ 3 root    root    60 Mar 15 06:52 systemd-private-33fb62abf3ac492d9ad13e2aa03714aa-ntpd.service-pKQSga
% sudo psd unsync
%
nefelim4ag commented 10 years ago

i understand, i also can't find, why chromium (chrome also) open =\ let issue still open, may be i find later, why this cause and close this issue.