Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
SSH X windows pipe is successful in displaying a calculator first time out,
not satisfied by this I am curious to know what this error message is trying to
tell me.
** (gcalctool:3556): WARNING **: Couldn't connect to accessibility bus:
Failed to connect to socket /tmp/dbus-N0iPOOmrtg: Connection refused
Can you give me a clue?
I am glad you asked me that.................
On local Xubuntu 14.04
Created & EDITED /etc/gdm/custom.conf
[security]
DisallowTCP=false
EDITED /etc/X11/xinit/xserverrc
exec /usr/bin/X "$@"
EDITED /etc/lightdm/lightdm.conf.d/10-xubuntu.conf
xserver-allow-tcp=true
REBOOT
COMMAND
sudo xhost+ 192.168.1.200 {I now reolise this is not needed for access via SSH tunnel, sudo xhost -, makes no difference}
On remote Ubuntu 14.04 Server + gnome-core xfce4 firefox & Static IP
EDIT /etc/ssh/ssh_config
X11Forward yes
sudo service ssh restart
On local Xubuntu 14.04
COMMAND ssh -X <name>@192.168.1.200 -p <port>
COMMAND gnome-calculator
Hey presto the calculator appears but in the terminal it is telling me it has failed?
Hi, xhost configuration works fine with or without "sudo" however I now realise that it is not necessary when using an SSH Tunnel so I have reversed all the Xserver configuration but the error message is just the same as it was in my first post, apart from the port and reference numbers:
** (gcalctool:8391): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-Qx25wN5my7: Connection refused
And "gcalctool" the gnome calculator appears every time, this tool is not installed on my laptop so I am sure its origin is on the Ubuntu computer.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.