Re: deleted .dbus/sessions-bus/[fn]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, 16 Dec 2016 22:29, geo.inbox.ignored <geo.inbox.ignored@...> wrote:



greetings.

while using rsync to copy /root/* from tower box to laptop computer, i
accidentally over wrote .dbus/sessions-bus/[fn] on laptop computer.

ran extensive web search, including;

  http://www.freedesktop.org/software/dbus/

to find how to replace or recreate file, only to find everything about
what it does and why.

question is, how do i recreate, short of re-installing from .iso?

have not rebooted laptop system.

need help in a BIG way.

any and all help/suggestions greatly appreciated.

tia.

AFAICT, the text file in ~/.dbus/sessions-bus/ is named after the
machine-id and contains a few lines similar to:
[code]
# This file allows processes on the machine with id  [[your-machine-id-here]]  using
# display :0.0 to find the D-Bus session bus with the below address.
# If the DBUS_SESSION_BUS_ADDRESS environment variable is set, it will
# be used rather than this file.
# See "man dbus-launch" for more details.
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-[[random-string-here]],guid=[[your-personal-dbus-session-adress]]
DBUS_SESSION_BUS_PID=[[the pid of your personal dbus instance]]
DBUS_SESSION_BUS_WINDOWID=[[your top-most window id]]
[/code]

as neither this file nor the directories ~/.dbus/sessions-bus/ are in /etc/skeleton, I must assume that they are recreated at user-login, if they are missing or contain invalid information.

IOW, remove the file, login, and it should get recreated.

 - Yamaban.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux