Results 1 to 6 of 6

Thread: Running VLC on Ubuntu at startup

  1. #1
    Join Date
    Jun 2011
    Posts
    84

    Running VLC on Ubuntu at startup

    Its very disappointing running VLC as root. Its very risky and possibility of not working properly. Please help me to run VLC with a script at startup in computer. Is it possible with daemon switch? Each and every time I have to stop the vlc process and launch again using the same script. Also I received many warnings during that. How risky it is?

  2. #2
    Join Date
    Nov 2009
    Posts
    1,035

    Re: Running VLC on Ubuntu at startup

    According to me you should use sudo –u user command in your startup. During startup it means at the startup script to change the user. If you ask me then I would like to let you know that it is worst to run server as root because unknown strangers can gain root access if there is security hole in the server. So I would say not to use VLC or run VLC on Ubuntu at startup.

  3. #3
    Join Date
    May 2008
    Posts
    859

    Re: Running VLC on Ubuntu at startup

    I have personally tried it and it works fine with me. It works as run as root. In the batch file the command line is as the following:

    • sudo -u myuser vlc --ttl 100 -vv--intftelnet
    • --telnet-password mypswd --daemon –vlm
    • -conf /home/myuser/vlc/public play.vlc
    • --extraintf logger:http --logfile=/var/log/vlc.log
    • --logmode text --http-host n.n.n.n:nn

  4. #4
    Join Date
    May 2008
    Posts
    962

    Re: Running VLC on Ubuntu at startup

    The user that I have created during installing ubuntu is a super user. The reason I am telling this is because it has access to the vlm config file including rights to in the logfile. If you notice it will seem that the playlist is not loaded and it will not log anything. You can only connect to the http interface and the telnet interface. Hope this suggestion of mine helps you to take reference from it and apply in your requirement help you run it on the start up.

  5. #5
    Join Date
    May 2008
    Posts
    991

    Re: Running VLC on Ubuntu at startup

    Follow the simple instruction below as I suggest. First to run VLC in terminal you have to open sources.list file and the command is:
    Code:
    sudo gedit /etc/apt/sources.list
    After that to install and upgrade your VLC media use the below code:
    Code:
    sudo apt-get update
    sudo apt-get install vlc
    sudo apt-get upgrade vlc

  6. #6
    Join Date
    Nov 2008
    Posts
    1,192

    Re: Running VLC on Ubuntu at startup

    According to me instead of trying various things you should check the manual over the internet with the help of your browser. Just keep in mind that you take the necessary guidance from the official website so that it does not cause any harm to your system or crash it. According to me its risky and dangerous for your Ubuntu. It’s a technical issue, so the only thing you can do is waiting for the officials to solve those and provide it to you through official website. You can also use other media instead of VLC.

Similar Threads

  1. Dell XPS 420 fan is running on high without any Startup
    By Carry On! in forum Hardware Peripherals
    Replies: 3
    Last Post: 08-05-2012, 02:12 AM
  2. Running chkdsk from startup
    By KBriggs in forum Windows XP Support
    Replies: 3
    Last Post: 26-01-2011, 03:48 PM
  3. Stop rundll32.exe from running at startup
    By Matrix316 in forum Operating Systems
    Replies: 3
    Last Post: 22-06-2009, 12:36 PM
  4. Workstations hang on running startup script due to GPO
    By Billie in forum Active Directory
    Replies: 2
    Last Post: 11-06-2009, 01:40 AM
  5. Vista is running in startup loop
    By Spencer in forum Operating Systems
    Replies: 4
    Last Post: 25-02-2009, 10:28 PM

Tags for this Thread

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
  •  
Page generated in 1,714,050,217.28795 seconds with 17 queries