LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 01-07-2015, 02:34 PM   #1
pauldmallett
LQ Newbie
 
Registered: Jun 2012
Posts: 8

Rep: Reputation: Disabled
SSH X windows error message


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?
 
Old 01-08-2015, 12:57 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 20,232

Rep: Reputation: 6836Reputation: 6836Reputation: 6836Reputation: 6836Reputation: 6836Reputation: 6836Reputation: 6836Reputation: 6836Reputation: 6836Reputation: 6836Reputation: 6836
whould be nice to explain in details what was successful first time (what was the command you executed.....)
 
Old 01-08-2015, 01:41 PM   #3
pauldmallett
LQ Newbie
 
Registered: Jun 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
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?
 
Old 01-09-2015, 12:15 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 20,232

Rep: Reputation: 6836Reputation: 6836Reputation: 6836Reputation: 6836Reputation: 6836Reputation: 6836Reputation: 6836Reputation: 6836Reputation: 6836Reputation: 6836Reputation: 6836
for xhost you should not use sudo, that can only work without that.
from the other hand please post the exact error message
 
Old 01-09-2015, 02:07 PM   #5
pauldmallett
LQ Newbie
 
Registered: Jun 2012
Posts: 8

Original Poster
Rep: Reputation: Disabled
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.
 
Old 01-11-2015, 08:00 PM   #6
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
The gnome runtime is trying to connect to your (remote) dbus session. It can't.

It is just another non-portable thing gnome keeps doing that breaks remote window services.

Now, it appears that the application is working, and this isn't critical; as a warning it can be ignored and is just noise.

The gnome developers keep assuming that only local windows are used.

Last edited by jpollard; 01-11-2015 at 08:01 PM.
 
1 members found this post helpful.
  


Reply

Tags
error message, ssh tunnel, xwindows


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Message When re-installing windows OVER ubuntu pjfunk2k Linux - General 2 07-14-2010 05:44 PM
Windows Network error message captain skywave Linux - Networking 3 12-12-2004 11:42 AM
New windows error message BajaNick General 17 12-15-2003 12:03 AM
Error message in ssh JeRrYmAn Linux - Networking 2 11-04-2003 08:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration