On Friday 06 November 2009 13:46:41 Roger Oberholtzer wrote:
On Fri, 2009-11-06 at 13:27 +0000, Bob Williams wrote:
Hi,
I'm trying to recycle an old machine as a headless server alongside my main desktop machine. The two machines will be linked through my ADSL router. I have done a standard openSUSE + KDE4.1 install on it, but now need to get it able to run in headless mode.
I have set the BIOS to 'Halt on none', so hopefully it will boot without mouse, keyboard or monitor.
I now need to set it to boot into runlevel 3, as there is no need for a GUI, but I am not sure which file(s) need editing.
/etc/inittab
Change the line:
id:5:initdefault:
to be:
id:3:initdefault:
Thank you. I've now got my server booting to a login prompt at run level 3. The problem now is ssh :( . I've generated a pair of keys on my desktop machine and copied the resulting id_dsa.pub key into ~/.ssh/authorized_keys on the headless server. The sshd_config file on the headless server contains the following lines: Protocol 2 PasswordAuthentication no UsePAM yes X11Forwarding yes Subsystem sftp /usr/lib/ssh/sftp-server AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT AcceptEnv LC_IDENTIFICATION LC_ALL but all I get when I try to connect is: 21:08 barrowhillfarm:~> ssh bob@192.168.1.12 ssh: connect to host 192.168.1.12 port nnnn: Connection timed out The desktop machine is configured to use a high numbered port nnnn rather than 22 as I was getting a lot of unwanted login attempts on port 22. However, I'm assuming that an ssh request from desktop to headless will try port 22 on the headless server. -- Registered Linux User #463880 FSFE Member #1300 GPG-FP: A6C1 457C 6DBA B13E 5524 F703 D12A FB79 926B 994E openSUSE 11.1, Kernel 2.6.27.37-0.1-default, KDE 4.3 Intel Core2 Quad Q9400 2.66GHz, 4GB DDR RAM, nVidia GeForce 9200GS -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org