Results 1 to 8 of 8

Thread: Help Configuring Boot Applications

  1. #1
    Join Date
    Dec 2012
    Beans
    4

    Help Configuring Boot Applications

    Hi guys, I'm new to Ubuntu Server but I was wondering if anyone could help me configure my systems boot? What Im really asking for is if anyone could help me autologin into the os and run a sh script from there... One more thing is that how would I be able to see what is on the screen when I ssh into the server is the same thing that is actually showing up on the server? Thanks

  2. #2
    Join Date
    Dec 2012
    Beans
    4

    Re: Help Configuring Boot Applications

    Anyone? :/

  3. #3
    Join Date
    Dec 2012
    Beans
    4

    Re: Help Configuring Boot Applications

    bump

  4. #4
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Help Configuring Boot Applications

    Setting a server for auto-login is probably not a good idea (unless it is not connected to the outside world and only serving your LAN).

    Please wait 24 hours before bumping your thread, but it can be bumped by adding any new information you find or progress report ...

  5. #5
    Join Date
    Nov 2012
    Beans
    0

    Re: Help Configuring Boot Applications

    you need special server for auto log in

  6. #6
    Join Date
    Dec 2012
    Beans
    4

    Re: Help Configuring Boot Applications

    Quote Originally Posted by Bucky Ball View Post
    Setting a server for auto-login is probably not a good idea (unless it is not connected to the outside world and only serving your LAN).

    Please wait 24 hours before bumping your thread, but it can be bumped by adding any new information you find or progress report ...
    Oh Sorry for bumping, but could you help me configure the auto login and how to run a shell script on login?

  7. #7
    Join Date
    Apr 2012
    Beans
    7,256

    Re: Help Configuring Boot Applications

    An ssh session is a separate tty session - it has nothing to do with what appears on the physical screen of the server

    What exactly do you want to do? is it something you could perhaps do with a cron job on the server rather than an interactive login? If you really do need to execute a script on login, you could call the script from your .profile or .bashrc

  8. #8
    Join Date
    Jul 2011
    Beans
    70

    Re: Help Configuring Boot Applications

    Yeah, I'm not sure about the auto-login on server edition, I've never used it. If your script does not require privileges then adding it to your profile file, however there are several files out there:

    .bash_login
    .bashrc
    .profile
    /etc/profile

    I thought about taking the time to look up when each of these get hit, but I thought I'd leave that for you or others. The key point is that you may not want your script to run EVERY time you open a terminal window.

    If your script requires admin privileges then you probably need to add it to cron or use an init script '/etc/rc..'.

    This is pushing my knowledge, but hopefully these will be discussion points if nothing else.

    Cheers

Bookmarks

Posting Permissions

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