You are not logged in.

#1 2011-06-09 12:22:58

chuliuxiang
Member
Registered: 2011-06-09
Posts: 3

[SOLVED]ssh -X problem

Hi friends,
    I am new to arch and use gnome 3 desktop env. I just installed the openssh and use ssh -X to connect to several servers. The command line worked OK, but when I started any GUI applications, I could not input anything from the keyboard, but I could click any menus or buttons. It seems that the app didn't get focus because I saw when an app gets focus it's name will appear at the right hand part next to the "Activity" button on the top left of the screen. But when click the GUI app of remote server or use Alt-Tab to select it (yes, it appears in the Alt-Tab menu), the right hand part next to "Activity" is blank.
    I googled for this problem but didn't get any info, maybe I chose inappropriate keywords. Could any body provide any help? Thank you in advance.

Last edited by chuliuxiang (2011-06-09 14:54:16)

Offline

#2 2011-06-09 12:28:10

ChoK
Member
From: France
Registered: 2008-10-01
Posts: 346

Re: [SOLVED]ssh -X problem

I don't know how gnome3 works so I'm probably wrong, but it may be related to dbus. Everything is relying on dbus today, and ssh -X probably doesn't forward the dbus session.


Edit : Didn't read carefully, gnome 3 is on your computer and is it on the server too ?

Last edited by ChoK (2011-06-09 12:29:24)


Ah, good taste! What a dreadful thing! Taste is the enemy of creativeness.
Picasso
Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away.
Saint Exupéry

Offline

#3 2011-06-09 12:42:57

chuliuxiang
Member
Registered: 2011-06-09
Posts: 3

Re: [SOLVED]ssh -X problem

No. The servers only have gnome 2 installed.

Offline

#4 2011-06-09 13:31:25

roygbiv
Member
Registered: 2011-05-18
Posts: 204

Re: [SOLVED]ssh -X problem

Maybe try ssh -Y switch.

Offline

#5 2011-06-09 14:13:02

chuliuxiang
Member
Registered: 2011-06-09
Posts: 3

Re: [SOLVED]ssh -X problem

Great! roygbiv's method works. -Y means trusted X11 forwarding. Though I could not distinguish the differences. Thank you all the guys!

Offline

#6 2011-06-09 14:32:13

roygbiv
Member
Registered: 2011-05-18
Posts: 204

Re: [SOLVED]ssh -X problem

Great wink please mark as [SOLVED] in thread title.

Offline

Board footer

Powered by FluxBB