Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Logging into a remote host using ssh -X me@host, I successfully run gnome-terminal -e "tail -F /var/log/file" &. When I log off and then try the same thing the next day, I get this:

Failed to get the session bus: Failed to connect to socket /tmp/dbus-K99gT9yDjS: Connection refused Falling back to non-factory mode. Failed to summon the GConf demon; exiting. Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: Failed to connect to socket /tmp/dbus-K99gT9yDjS: Connection refused)

How do I run gnome-terminal in this situation?

share|improve this question
    
I don't see a question being asked here. You should do something about that before your post gets closed. –  snot waffle Mar 20 at 16:13
    
You might want to cut the 'solution' part out of your question and submit it as an answer. That's acceptable behaviour. –  snot waffle Mar 20 at 16:17
    
If you're logging into another machine with SSH, you'll get shell/terminal access. You don't need to open a terminal window on that machine. You can execute commands directly on that machine by typing them into the terminal on your machine. –  snot waffle Mar 20 at 16:21
2  
As Nigel Nquande says, please press the answer your own question button, and copy and paste your Solution section into the answer. Not only is it acceptable, its encouraged. –  derobert Mar 20 at 16:38
2  
In the meantime I have removed the solution from your question since it is not a question. This kind of self-answered question is more than welcome but please post answers as answers. Have a look at our help center or take the 10 second tour for more information. You can see the original text (so you don't need to write it out again) in the edit history which you can get to by clicking on the "Edited X min ago" link. –  terdon Mar 20 at 16:41
show 2 more comments

1 Answer 1

I found this:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=639261

Which led me to try this:

$ sudo rm /var/lib/dbus/machine-id
$ sudo service messagebus restart

Now I can run gnome-terminal!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.