Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 19
i was wondering if it would be possible to either load a program gui to startup at login b4 the window manager or to write a script that would auto ...
  1. #1
    Just Joined!
    Join Date
    Jul 2007
    Posts
    27

    Start program before Logon prompt?

    i was wondering if it would be possible to either load a program gui to startup at login b4 the window manager or to write a script that would auto load the program b4 the wm

  2. #2
    Just Joined! nachos's Avatar
    Join Date
    Jul 2006
    Posts
    29
    What kind of program? Generally no. Especially if that program has a GUI. If you wanted to run a shell program, then just configure your startup to shoot you off to a different runlevel first (I believe run level 3). However, you cant load a graphical program before loading your WindowManager. That defeats the whole purpose of having a modern OS.

    Cheers.

  3. #3
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    Quote Originally Posted by nachos View Post
    However, you cant load a graphical program before loading your WindowManager. That defeats the whole purpose of having a modern OS.
    Actually you can technically. You can load an application on X before kwin or matacity is running, theoretically before kdm or gdm start. There are a number of reasons why you wouldn't though
    • It would most likely need to run as root in a modern environment using a display manager
    • If you are using a display manager you aren't logged in until around the same time that your WM starts
    • This would really only work if you ran a system where X was started without the use of a display manager like kdm/gdm and then only in a situation where you weren't loading a DE or WM beyond X
    Is this to build a kiosk type system?

  4. #4
    Just Joined!
    Join Date
    Jul 2007
    Posts
    27
    what i wannted to do is to have a media player such as mplayer start up with ouit haveing a wm loaded but i wannted it to do it automaticly when you login. now at my old school they had a computer were when you logged into linux just the internet browser loaded up and nothing else you couclnt even exit the broswer thats what im looking to do except with mplayer instead of a browser.

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    its possible to do that in Debian or any other distro easily. which DE are you using? GNOME or KDE?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #6
    Just Joined!
    Join Date
    Jul 2007
    Posts
    27
    ok rite now i have debian etch 4.0 installed and i use gnome.

  7. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    System -- Preferences -- Sessions. Add Mplayer or any other application and click on Save Session.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #8
    Just Joined!
    Join Date
    Jul 2007
    Posts
    27
    now if i turn off the wm from starting will mplayer still start useing your method

  9. #9
    Just Joined!
    Join Date
    Jul 2007
    Posts
    27
    dosnt work they way i want it to the window manager has to load in order to load mplayer your way i want mplayer to load b4 the window manager

  10. #10
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    If you just want a simple distro that will just run mplayer, you might want to look at GeexBox. It is a mini distro based around mplayer. Alternatively you can just put the entry for mplayer for into .bashrc for the user who will be starting up.
    Last edited by bigtomrodney; 07-13-2007 at 03:08 PM.

Page 1 of 2 1 2 LastLast

Posting Permissions

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