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. -- The important thing is not to stop questioning. - Albert Einstein CentOS GNU/Linux 6.8 KDE 4.3.4 peace out. tc,hago. g . =+Tired of having your microsoft os hacked? Change to Linux os, used by microsoft hackers. =+If Bill Gates got a dime for every time Windows crashes... ...oh, wait. He does. THAT explains it! =+in a world with out fences, who needs gates. =+=
On Fri, 16 Dec 2016 22:29, geo.inbox.ignored <geo.inbox.ignored at ...> 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.
On 12/16/2016 03:59 PM, Yamaban wrote:> On Fri, 16 Dec 2016 22:29, geo.inbox.ignored <geo.inbox.ignored at ...> 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, thank you for reply. as 'user', logged out, logged in, nothing. as 'root', logged out, logged in, nothing. rebooted, repeat ed above, still no file. -- The important thing is not to stop questioning. - Albert Einstein CentOS GNU/Linux 6.8 KDE 4.3.4 peace out. tc,hago. g . =+Tired of having your microsoft os hacked? Change to Linux os, used by microsoft hackers. =+If Bill Gates got a dime for every time Windows crashes... ...oh, wait. He does. THAT explains it! =+in a world with out fences, who needs gates. =+=
On Dec 16, 2016, at 4:29 PM, geo.inbox.ignored <geo.inbox.ignored at gmail.com> wrote:> question is, how do i recreate, short of re-installing from .iso?Why do you think you need these files in /root? -- Jonathan Billings <billings at negate.org>
On 12/17/2016 06:40 AM, Jonathan Billings wrote:> On Dec 16, 2016, at 4:29 PM, geo.inbox.ignored <geo.inbox.ignored at gmail.com> wrote: >> question is, how do i recreate, short of re-installing from .iso? > > > Why do you think you need these files in /root? >}} it is not that i think i need file in /root. file is located /.dbus/sessions-bus/* could be that i could have been more specific in wording, like; while using rsync to copy /root path from a tower box computer to a laptop computer, i type something incorrectly, causing rsync to attempt copying entire / directory to laptop's / directory. i was able to stop syncing before all 64 bit laptop files were over written with tower's 32 bit files, with accept for tower's /.dbus/sessions-bus/* over writing of laptop's /.dbus/sessions-bus/* what i am now in wonder of is if there is any differance in file between the 2 computers. ie, is there a differance between a 32 bit and 64 bit system's /.dbus/sessions-bus/* file? as said, a web search nor reading thru pages, ie, faq, help, doc pages at http://www.freedesktop.org/software/dbus/ gave no indication of such. -- The important thing is not to stop questioning. - Albert Einstein CentOS GNU/Linux 6.8 KDE 4.3.4 peace out. tc,hago. g . =+Tired of having your microsoft os hacked? Change to Linux os, used by microsoft hackers. =+If Bill Gates got a dime for every time Windows crashes... ...oh, wait. He does. THAT explains it! =+in a world with out fences, who needs gates. =+=