Re: ssh -Y question

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/plain)
Delete this message
Reply to this message
Author: der.hans
Date:  
To: Main PLUG discussion list
Subject: Re: ssh -Y question
Am 16. Oct, 2012 schwätzte Dazed_75 so:

moin moin,

what are the responses to my other questions from my last email?

ciao,

der.hans

> On Tue, Oct 16, 2012 at 4:25 PM, der.hans <> wrote:
>
>> Am 16. Oct, 2012 schwätzte Dazed_75 so:
>>
>> On Tue, Oct 16, 2012 at 4:12 PM, der.hans <> wrote:
>>>
>>> Am 16. Oct, 2012 schwätzte Dazed_75 so:
>>>>
>>>>
>>>> I used to regularly do ssh -X user@machine or ssh -Y user@machine so I
>>>>
>>>>> could run a graphical program on the remote machine and have the display
>>>>> on
>>>>> the machine I was sitting at. In fact, I used to do this at
>>>>> installfests
>>>>> from my laptop (lapdog2) to the headless PXE server (fogtest) right next
>>>>> to
>>>>> me. That stopped working months ago and I have not been able to figure
>>>>> out
>>>>> why or how to fix it. Here is a sample of what I get:
>>>>>
>>>>> larry@hammerhead:~$ ssh -Y fogtest
>>>>>
>>>>> Linux fogtest 2.6.32-41-generic-pae #91-Ubuntu SMP Wed Jun 13 12:00:09
>>>>>> UTC
>>>>>> 2012 i686 GNU/Linux
>>>>>> Ubuntu 10.04.4 LTS
>>>>>>
>>>>>> <snip>
>>>>>>
>>>>>>
>>>>> echo $DISPLAY
>>>>
>>>> Do you get something like localhost:10.0?
>>>>
>>>> ciao,
>>>>
>>>> der.hans
>>>>
>>>
>>>
>>> Yes, both on the machine that works (sunfish) and the one that does not
>>> (fogtest).
>>>
>>
>> OK, we might have to debug the gconf stuff :).
>>
>> Before that, try starting a non-GNOME app such as xterm or xeyes.
>>
>
> Aaah, both work on both machines. Not sure what to do from there.
>
>
>>
>> Last login: Mon Oct 15 16:37:44 2012 from sunfish.thiel.org
>>>>
>>>>>
>>>>> larry@fogtest:~$ gedit
>>>>>> GConf Error: Failed to contact configuration server; some possible
>>>>>> causes
>>>>>> are that you need to enable TCP/IP networking for ORBit, or you have
>>>>>> stale
>>>>>> NFS locks due to a system crash. See http://projects.gnome.org/****
>>>>>> gconf/ <http://projects.gnome.org/**gconf/><http://projects.gnome.**
>>>>>> org/gconf/ <http://projects.gnome.org/gconf/>>for
>>>>>>
>>>>>> information. (Details - 1: Failed to get connection to session: Failed
>>>>>> to
>>>>>> connect to socket /tmp/dbus-sjFuIo1Vhr: Connection refused)
>>>>>>
>>>>>
>> ls -ld /tmp/dbus-*
>>
>> Wonder if it's trying to use the wrong socket. There might be a stale
>> socket since you're running headless, but boot should fix that by cleaning
>> out /tmp. Does fogtest get shutdown or do you hibernate it?
>>
>> The obvious solution is you need to start using vim :).
>>
>> ciao,
>>
>> der.hans
>>
>> ^C
>>>>>> larry@fogtest:~$
>>>>>>
>>>>>>
>>>>>> As you can see, the ssh connection is fine but using a graphical
>>>>> program
>>>>> like gedit does not. So I was making another attempt today (different
>>>>> target) and it worked:
>>>>>
>>>>> larry@hammerhead:~$ ssh -Y sunfish
>>>>>
>>>>> Welcome to Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-31-generic x86_64)
>>>>>>
>>>>>> * Documentation: https://help.ubuntu.com/
>>>>>>
>>>>>> 22 packages can be updated.
>>>>>> 12 updates are security updates.
>>>>>>
>>>>>> Last login: Tue Aug 28 21:27:53 2012 from hammerhead.thiel.org
>>>>>> larry@sunfish:~$ gedit
>>>>>> larry@sunfish:~$
>>>>>>
>>>>>>
>>>>>> Anyone know where to look or how to fix fogtest?
>>>>>
>>>>>
>>>>>
>>>>>  --
>>>> #  http://www.LuftHans.com/        http://www.LuftHans.com/****Classes/<http://www.LuftHans.com/**Classes/>
>>>> <http://www.LuftHans.**com/Classes/ <http://www.LuftHans.com/Classes/>>

>>>>
>>>> #  "Human kind cannot bear very much reality."
>>>> #    -- T.S. Eliot, "Four Quartets: Burnt Norton"
>>>> ------------------------------**---------------------
>>>> PLUG-discuss mailing list - .**phoenix.az.us<>
>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>> http://lists.PLUG.phoenix.az.**us/mailman/listinfo/plug-**discuss<http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss>

>>>>
>>>>
>>>
>>>
>>>
>>>
>> --
>> #  http://www.LuftHans.com/        http://www.LuftHans.com/**Classes/<http://www.LuftHans.com/Classes/>
>> #  When in doubt, choose the interesting. -- der.hans
>> ---------------------------------------------------
>> PLUG-discuss mailing list - 
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

>>
>
>
>
>


-- 
#  http://www.LuftHans.com/        http://www.LuftHans.com/Classes/
#  In order to live free and happily, you must sacrifice boredom.
#  It is not always an easy sacrifice.
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss