How to setup a headless machine

David L Norris dave at webaugur.com
Thu Jan 27 23:09:41 UTC 2005


On Thu, 2005-01-27 at 16:58 -0400, Arthur Pemberton wrote:
> >  ssh -Y user at host  /usr/bin/gedit
> > 
> This is more like what I was looking for. I tried the command above. but 
> ssh did not recognize the -Y option.
> I tried it without the -Y (in KDE Konsole) : `ssh user at host 
> /usr/bin/kwrite` and got 'kwrite: cannot connect to X server'.

On FC3 you need to specify ssh -X (enable X) or ssh -Y (enable trusted
X) to enable X11 forwarding.  You'll need trusted X (-Y option) for
features like the clipboard to work.  I believe that -Y is a new option
in the version of the SSH client with FC3.  You may also need to enable
X11Forwarding in /etc/ssh/sshd_config on the headless machine and/or
ForwardX11 in /etc/ssh_config on the clients.  The -X and -Y options
should override ssh_config.

> I did not completely understand all your instructions. So I googled and 
> foudn this HOWTO which I'll give a good read ( 
> http://www.tldp.org/HOWTO/XDMCP-HOWTO/ ). But can this be done with KDM 
> and KDE as that's what I normally use?

Here is the KDM documentation for XDMCP:
  http://docs.kde.org/en/3.3/kdebase/kdm/kdm-files.html#kdmrc-xdmcp

I'm guessing that you should be able to set enable=true in the [xdmcp]
section and it will work.  I'm not clear if you will need to setup the
Xaccess file for such a simple use.

> And does this require the headless machine to be at runlevel 3?

You would have it at runlevel 5.  I don't think you need a X server
running on the machine but you do need a XDMCP enabled display manager
to be running.

-- 
 David Norris
  http://www.webaugur.com/dave/
  ICQ - 412039
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050127/64c18bfc/attachment-0001.sig>


More information about the fedora-list mailing list