Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-25-2011, 02:58 AM   #1
LQ Newbie
Registered: Dec 2005
Posts: 12

Rep: Reputation: 0
ssh -X problem: server not responding at some X apps

Good morning
i m experiencing some problems connecting via ssh
two ubuntu workstation:
a ssh client and a ssh server
The goal of that is to run from local client computer some X applications on the remote server machine

i have configured both client and server for X11forwarding (i think) properly
Infact when i launch xeyes on the client i see the X app running

the problem is for all other X apps. For example when i run xclock, nothing happens on the local PC
the prompt continues blinking without any reponse, no windows opens and the strangest thing, the shell is stucked. No possible to interrupt with [CTRL]+c
the onyl thing to do is close the shell window

Starting in verbose mode (debug), X11 seems works correct , it says x11 confirm as last message .. but nothig happens after keeping you stucked with that

i hope somebody can drive me in some trials to do.

My final goal is to run kaffeine with X forwarding

thnak you very much

Old 02-25-2011, 08:34 PM   #2
LQ Newbie
Registered: Nov 2008
Location: pacific
Distribution: CentOS, openSuse, Ubuntu
Posts: 12

Rep: Reputation: 0
Can you login to the server from client side?
ssh -X user@servers.ip.address
You should be prompted for password and then logged in.
The -X switch is all you should need to be able to run X apps remotely

Try to look into the server's syslog for some tracks. On RedHat/CentOS its /var/log/secure

Last edited by mirni; 02-25-2011 at 08:39 PM.
Old 03-11-2011, 03:45 AM   #3
LQ Newbie
Registered: Dec 2005
Posts: 12

Original Poster
Rep: Reputation: 0
thank you mirni

but i get to access to the server

the problem is that i cant get to run correctly X apllication on the remote machine

nothing happens for example when i launch xclock and the prompt gets freezed so that i have to close forcing the shell

Old 03-12-2011, 02:10 PM   #4
LQ Newbie
Registered: Nov 2008
Location: pacific
Distribution: CentOS, openSuse, Ubuntu
Posts: 12

Rep: Reputation: 0
To me that sounds like permission issue from server side... In which case you should be able to find some entry relevant to the issue in the server's syslogs.
Is it the same whether you ssh as user or root?

I recommend you looking into 'xauth'

I have never had to do this myself, but it seems like worth trying:
xauth extract - $DISPLAY | ssh server xauth merge -
which will pass the xauth magic cookie to the server. See


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
SSH server not responding to Diffie-Hellman Key Exchange request message (34) x_gaurav Programming 0 03-16-2009 09:27 AM
Server Stops Responding to ping/ssh/etc jughead Linux - Networking 3 02-11-2008 10:57 AM
Server stops responding, ssh, etc.. ddelao Linux - Software 0 09-04-2005 09:50 AM
killing not responding apps.. oldforce SUSE / openSUSE 5 04-01-2005 05:32 PM
Keyboard stops responding in all Gnome apps jsjohnst Linux - Software 8 02-03-2004 05:28 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:43 AM.

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