Re: trying to secure xdmcp over ssh - macbook pro <---> linux
Re: trying to secure xdmcp over ssh - macbook pro <---> linux
- Subject: Re: trying to secure xdmcp over ssh - macbook pro <---> linux
- From: Jeremy Huddleston <email@hidden>
- Date: Mon, 27 Sep 2010 03:26:15 -0700
Does this work for you?
xinit /usr/bin/ssh -Y user@linux gnome-session -- /usr/X11/bin/Xnest :5 -geometry 1270x750 -ac
I'm not sure if it will handle password authentication, so make sure you use ssh keys for authentication. You should get a nice graphical passphrase request, or you can use 'ssh-add' beforehand.
On Sep 27, 2010, at 03:09, Audio Phile wrote:
> Sorry, I meant to post this to the list, not privately email you :)
>
> Thank you for the speedy reply! This was the problem:
>
>> Use -Y rather than -X
>
> Steps to get it working:
> -------
> Mac $ Xnest :1 -geometry 1270x750 -ac & xterm -display
> xterm in Xnest $ ssh user@linux -Y
> xterm in Xnest $ gnome-session
> -------
>
> Now the question is how can I make this bash script so that I need only double-click an alias to do it?
>
>
> --- On Mon, 9/27/10, Jeremy Huddleston <email@hidden> wrote:
>
>> From: Jeremy Huddleston <email@hidden>
>> Subject: Re: trying to secure xdmcp over ssh - macbook pro <---> linux
>> To: "Audio Phile" <email@hidden>
>> Date: Monday, September 27, 2010, 5:42 AM
>>
>> On Sep 27, 2010, at 02:32, Audio Phile wrote:
>>
>>> Hi Jeremy - I do need to have a nested X11 session
>> complete with gdm login screen.
>>
>> Ok, if that's *really* the case (and I doubt it), then
>> you'll need to run Xnest on the remote host.
>>
>> Mac $ ssh -Y user@linux
>> linux $ Xnest -query localhost -geometry 1250x750 :1
>>
>> make sure your linux machine has X11 forwarding enabled for
>> ssh:
>>
>> http://xquartz.macosforge.org/trac/wiki/X11-UsersFAQ#sshXforwardingdebugging
>>
>>
>>> If I'm understanding your suggestion:
>>>
>>> (On mac)
>>> $ Xnest :1 -geometry 1270x750 -ac & xterm -display
>> :1
>>>
>>> <<From the xterm within Xnest>>
>>>
>>> $ ssh -X user@linux
>>
>> Use -Y rather than -X
>>
>>> I do not know how to start a gnome-session from
>> there. Do I have it right?
>>
>> What happens when you run 'gnome-session'?
>>
>>
>
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> X11-users mailing list (email@hidden)
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden