Results 1 to 9 of 9

Thread: Changing to auto-login runlevel 3

  1. #1
    themikeaustin NNTP User

    Default Changing to auto-login runlevel 3

    I've installed OpenSuSE on a PC w/o a monitor, keyboard or mouse. I want to use it as a file server for my home network. I'm hoping to use NX to administer the box from my Vista laptop. (I'll be installing NX later tonight.) Right now, the box boots to the "user selection" screen, no user logs in, and the OS can't be accessed from another PC.

    What I want is to change the boot process so that it automatically logs my account on to a text box (command line). Then, if I want to remotely access the box, I can "NX" to the command prompt, run "init 5" (?) and then use gnome to do work. (I'm semi-command line literate, but I prefer to start with the GUI version of yast.

    Any guidance on how to do this is appreciated.

    TIA,

    Mike

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,831

    Default Re: Changing to auto-login runlevel 3

    ATM I cannot complety see all the implications of what you want (especialy as Vista is involved and I have no knowledge of Redmond systems at all). But I will throw in a few remarks.

    About YaST. When you use YaSt from the command line
    Code:
    yast
    you will get the so called ncurses interface of YaST wich provides the same possibilities as the GUI, but in the form of what you may call "ASCII art". In fact you see the same and act the same as with the GUI. Without clicking with the mouse of course, but using TAB, RTRN or Alt-Key combinations. Not something to be afraid of.

    Runlevel 5 in fact does not to much more then runlevel 3. It only starts kdm or gdm. So IMHO it does not bring much running only runlevel 3 until 5 is needed.
    Henk van Velden

  3. #3

    Default Re: Changing to auto-login runlevel 3

    Or see and edit /etc/inittab manually.

  4. #4
    themikeaustin NNTP User

    Default Re: Changing to auto-login runlevel 3

    Thanks for the replies. Changing to runlevel 3 seems pretty straightforward. How about changing to auto-logon?

    TIA,

    Mike

  5. #5

    Default Re: Changing to auto-login runlevel 3

    Here seems to be a little misunderstanding. To reach the computer and it's command line from remote, there is no need to have a user logged in locally, e.g. by auto login.

    To reach the command line from remote, best is to use ssh. Using yast to install and configure the sshd (under network services). Then install a ssh client (e.g. putty) on your windows machine. Using putty you reach the command line on your server and can e.g. start NX.

    Or, since it is a local network, you just enable remote login in /etc/sysconfig Displaymanager->Displaymanger_remote_access and install an X client (xming) on your windows machine.

  6. #6
    Join Date
    Apr 2009
    Location
    Stuttgart, Germany
    Posts
    114

    Default Re: Changing to auto-login runlevel 3

    From what I know about NX is that you don't need to be logged in in the server. You only need to have the nxserver service running (can be enabled in yast).
    Then use the windows nxclient to connect to your server, and it will automatically start a session (KDE, gnome, or whatever you selected in nxclient).
    So there is no need to explicitly ssh to the server for that, nxclient will do it.

  7. #7

    Default Re: Changing to auto-login runlevel 3

    NX needs ssh for data transfer. And also maybe the user also only wants to run NX server, when he intends to access the server. So it's a good thing to have access via ssh to the command line too.

  8. #8
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,831

    Default Re: Changing to auto-login runlevel 3

    @themikeaustin. IMHO (and reading the others comments) you only need your system at runlevel 3 (as you know you set this in /etc/inittab).

    It does not matter how you login from remote and if you start desktop software then. This has no influence on the needed runlevel. You need runlevel 5 only when you want a graphical login on the system itself.

    I do not realy understand your 'automatic login'. When you login from remote, you can automise a few things:
    1. automaticly start the the client software (on system startup of the client?);
    2. let the client software login automaticaly when started (build in userid/password?);
    3. automate the login on your openSUSE as far as posible by providing a fixed userid and/or password;
    Points 2 and 3 are not needed to full extend both of course. They also have security issues, but that is up to you.
    Henk van Velden

  9. #9
    themikeaustin NNTP User

    Default Re: Changing to auto-login runlevel 3

    Thank you all for your help. For all of Windows faults, it sure does spoil you with its relatively painless installation routines. I've used various flavors of Linux over the past several years and I've been working with AIX for the past 18 months as a user (I'm a DBA), but this is my first serious attempt to actually set up a server. It's been made more challenging because I was hoping that, after the initial install, I would be able to use Putty or Windows remote desktop to administer the box. I haven't been able to connect with either of these tools, and some other postings here have recommended NX.

    Thanks again.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •