I was considering using VNC to access another box on my LAN but as the remote system (which would run a VNC server) doesn't currently have X running on it (though there's a Lubuntu desktop available) it makes VNC rather awkward.
I've seen x2go recommended for this sort of situation as it seems as if it's more oriented towards the sort of thing I want to do - fire up an X session and use it remotely.
While it would be nice if one could use 'old fashioned' X as it was originally designed it tends not to work so well with very many programs now using dBus to communicate.
E.g. if I try and run nm-connection-editor on the remote system via an "ssh -x remote-system" connection it pops up a window on my system but there's an error:-
** (nm-connection-editor:3088): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-9FFbE3UfRz: Connection refused
... and it doesn't actually work.
Or can anyone suggest how to get around the dBus communication issue?
On 10/01/13 19:48, Chris Green wrote:
I was considering using VNC to access another box on my LAN but as the remote system (which would run a VNC server) doesn't currently have X running on it (though there's a Lubuntu desktop available) it makes VNC rather awkward.
I've seen x2go recommended for this sort of situation as it seems as if it's more oriented towards the sort of thing I want to do - fire up an X session and use it remotely.
While it would be nice if one could use 'old fashioned' X as it was originally designed it tends not to work so well with very many programs now using dBus to communicate.
E.g. if I try and run nm-connection-editor on the remote system via an "ssh -x remote-system" connection it pops up a window on my system but there's an error:-
** (nm-connection-editor:3088): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-9FFbE3UfRz: Connection refused
... and it doesn't actually work.
Or can anyone suggest how to get around the dBus communication issue?
Is it down to the user credentials? I had a problem recently where the machine kept throwing up dbus errors while trying to compile and run Qt Creator. It turned out that dropping out of root fixed it.
On Fri, Jan 11, 2013 at 10:44:20AM +0000, Chris Walker wrote:
On 10/01/13 19:48, Chris Green wrote:
I was considering using VNC to access another box on my LAN but as the remote system (which would run a VNC server) doesn't currently have X running on it (though there's a Lubuntu desktop available) it makes VNC rather awkward.
I've seen x2go recommended for this sort of situation as it seems as if it's more oriented towards the sort of thing I want to do - fire up an X session and use it remotely.
I've actually got xrdp up and running to do what I want. It was fairly simple, the only fiddle/fix was to modify the script it runs to start X which defaults to running /etc/X11/Xsession, I had to change it to /usr/bin/startlubuntu to run the Lubuntu session.
While it would be nice if one could use 'old fashioned' X as it was originally designed it tends not to work so well with very many programs now using dBus to communicate.
E.g. if I try and run nm-connection-editor on the remote system via an "ssh -x remote-system" connection it pops up a window on my system but there's an error:-
** (nm-connection-editor:3088): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-9FFbE3UfRz: Connection refused
... and it doesn't actually work.
Or can anyone suggest how to get around the dBus communication issue?
Is it down to the user credentials? I had a problem recently where the machine kept throwing up dbus errors while trying to compile and run Qt Creator. It turned out that dropping out of root fixed it.
I don't think so:-
chris$ ssh -X revo chris@revo:~$ nm-connection-editor
** (nm-connection-editor:2323): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-54ta6mTCPW: Connection refused
... and the window pops up with no content.
On 10/01/13 19:48, Chris Green wrote:
I was considering using VNC to access another box on my LAN but as the remote system (which would run a VNC server) doesn't currently have X running on it (though there's a Lubuntu desktop available) it makes VNC rather awkward.
I've seen x2go recommended for this sort of situation as it seems as if it's more oriented towards the sort of thing I want to do - fire up an X session and use it remotely.
While it would be nice if one could use 'old fashioned' X as it was originally designed it tends not to work so well with very many programs now using dBus to communicate.
E.g. if I try and run nm-connection-editor on the remote system via an "ssh -x remote-system" connection it pops up a window on my system but there's an error:-
** (nm-connection-editor:3088): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-9FFbE3UfRz: Connection refused
... and it doesn't actually work.
Or can anyone suggest how to get around the dBus communication issue?
Have you actually tried connecting via VNC and if so, what goes wrong? What are the DBUS issues? I'm connecting to a lubuntu 12.10 desktop OK using the default gnome screen VNC server (whose name escapes me) and it works fine.
Cheers Steve
On Fri, Jan 11, 2013 at 12:24:42PM +0000, steve-alug@hst.me.uk wrote:
On 10/01/13 19:48, Chris Green wrote:
I was considering using VNC to access another box on my LAN but as the remote system (which would run a VNC server) doesn't currently have X running on it (though there's a Lubuntu desktop available) it makes VNC rather awkward.
[snip]
E.g. if I try and run nm-connection-editor on the remote system via an "ssh -x remote-system" connection it pops up a window on my system but there's an error:-
** (nm-connection-editor:3088): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-9FFbE3UfRz: Connection refused
... and it doesn't actually work.
Or can anyone suggest how to get around the dBus communication issue?
Have you actually tried connecting via VNC and if so, what goes wrong? What are the DBUS issues? I'm connecting to a lubuntu 12.10 desktop OK using the default gnome screen VNC server (whose name escapes me) and it works fine.
I mentioned VNC because it would solve the DBUS issues.
Running the 'classic' X client/server model the program runs on the client but the X server provides display facilities. I think the resulting problem with DBUS and such is that some of the communication 'hooks' come from the display routines and try and talk to DBUS on the wrong system.
If you run VNC (or x2go or xrdp) then the whole display is exported from one system to the other and you don't have the server/client split as you do with classic X - so, no problems with dBus. Actually x2go and xrdp start up their own desktop rather than connecting to an existing desktop like VNC, for me this is a better approach as there isn't a desktop running on the 'remote' system.
As I said in my previous response I have got xrdp working and that sorts the problem for me.