Find the answer to your Linux question:
Results 1 to 7 of 7
Hi folks, Ubuntu 7.04 server amd64 IIRC webmin does not require X to run. Performed following steps on runlevel 3; $ sudo /etc/webmin/start login Code: Password: Starting Webmin server in ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,804

    How to start webmin login page on runlevel 3


    Hi folks,


    Ubuntu 7.04 server amd64


    IIRC webmin does not require X to run. Performed following steps on runlevel 3;

    $ sudo /etc/webmin/start login
    Code:
    Password:
    Starting Webmin server in /usr/share/webmin
    $ /usr/share/webmin/
    Code:
    Display all 151 possibilities? (y or n)

    Please advise how to start webmin console/login in page on runlevel 3 instead of running "https://localhost:10000" on browser. TIA


    B.R. and Happy New Year
    satimis


    OR I need text browser to start webmin?

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    if you mean have webmin start up when the system boots into runlevel 3, then

    #update-rc.d webmin defaults

    or

    #man update-rc.d

    for more options

  3. #3
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,804
    Quote Originally Posted by jledhead View Post
    if you mean have webmin start up when the system boots into runlevel 3, then

    #update-rc.d webmin defaults

    or

    #man update-rc.d

    for more options
    Thanks for your advice.

    Webmin is already running on booting up the server. I expect to know how to start its login page w/o starting X/desktop, not on browser with "https://localhost:10000". Tks

    satimis

  4. #4
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    sorry, I think I get it now.

    you can use a webbrowser on any remote machine, or if you can also use elinks and open https://localhost:10000

    it doesn't work exactly right but it does work (kind of)

  5. #5
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,804
    Quote Originally Posted by jledhead View Post
    sorry, I think I get it now.

    you can use a webbrowser on any remote machine, or if you can also use elinks and open https://localhost:10000

    it doesn't work exactly right but it does work (kind of)
    It still needs a browser to start webmin.

    Performed following tests and met with failure;


    1)
    Lynx

    I don't have elinks running on the server therefore I ran Lynx instead.

    $ lynx https://localhost:10000
    Code:
    ....
    SSL error:Can't find common name in certificate-Continue? (y)
    ....
    Ignored the warning and continued. Finally login webmin as root.

    Warning:
    Code:
    This page uses frames, but your browser doesn't support them.
    Webmin started with all items displayed but w/o the boxes for changing config.


    2)
    Installed elinks

    $ elinks https://localhost:10000
    Code:
    Unable to retrieve https://localhost:10000/: SSL error
    unabled to login and start webmin.


    Ran;
    $ apt-cache policy ssl/libauthen-pam-perl/libnet-ssleay-perl/libpam-runtime/openssl/perl/ perl-modules/

    All packages have been installed.


    Poked around on Internet but unable to find a solution.


    Advice would be appreciated.


    satimis

    P.S.
    on Firefox ran;
    https://localhost:10000

    starts webmin w/o problem.

  6. #6
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    I get the same error in elinks but can continue on. Not sure what the problem is there.

    lynx won't work for webmin

    elinks isn't working for you for some reason

    the only other text based browser I can find is
    W3M Homepage

    I haven't used it but it sounds like it should do the job

    just curious, why are you trying to use webmin locally? any browser on any remote computer should work fine. if you are already on a command shell on the server isn't it easier to just execute the commands you need instead of opening a web browser? just curious.

  7. #7
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,804
    Quote Originally Posted by jledhead View Post
    I get the same error in elinks but can continue on. Not sure what the problem is there.

    lynx won't work for webmin

    elinks isn't working for you for some reason

    the only other text based browser I can find is
    W3M Homepage

    I haven't used it but it sounds like it should do the job
    Have w3m running on the server. Performed following steps;

    $ w3m https://localhost:10000
    Code:
    self signed certificate: accept? (y/n) y
    
    Bad cert iden * from localhost: accept? (y/n) y
    
    Accept  unsecure SSL session : Bad cert  iden * from localhost
    (it waited a while then displayed)
    
    Option Setting Panel
    (w3m version w3m/0.5.1+cvs-1.968)
    I can't type on it.

    Pressing "q"
    Code:
    Do you want to exit w3m (y/n) y
    just curious, why are you trying to use webmin locally? any browser on any remote computer should work fine. if you are already on a command shell on the server isn't it easier to just execute the commands you need instead of opening a web browser? just curious.
    I don't ssh connect remote PC to configure this server.


    Actually I can start webmin on Firefox to configure the server. I only expect to learn an alternative method


    B.R.
    satimis

Posting Permissions

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