Error Unable To Initialize Gtk Is Display Set Properly Vlc
Contents |
found for "GET /viewtopic.php" VideoLAN Forum Home All times are UTC+02:00 Delete all board cookies The team Powered by phpBB Forum Software © phpBB Limited GZIP: On
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers unable to initialize gtk is display set properly linux Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful filezilla error unable to initialize gtk is display set properly Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before unable to initialize gtk could not open display virt-manager SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Multimedia Software [ubuntu] [Solved] Can't run VLC from cron Having an Issue With Posting ? Do you want to http://forum.videolan.org/viewtopic.php?t=16396 help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 1 of 1 Thread: [Solved] Can't run VLC from cron Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode February 16th, 2009 #1 Regenpak View Profile View Forum Posts Private Message Visit Homepage Spilled the Beans https://ubuntuforums.org/showthread.php?t=1071362 Join Date Dec 2006 Location Amsterdam, Netherlands Beans 16 DistroUbuntu 10.04 Lucid Lynx [Solved] Can't run VLC from cron I want to record (file dump) an MPEG4 webcam stream (Linksys WVC54GCA) with VLC. If I run it from a console (tty4 in my case) I get: Code: $ vlc http://192.168.0.28/img/video.asf --demux=dump --demuxdump-file="/TEMP/cam.asf" VLC media player 0.8.6e Janus [00000289] skins2 interface error: Cannot open display [00000289] skins2 interface error: cannot initialize OSFactory Remote control interface initialized. Type `help' for help. status change: ( new input: http://192.168.0.28/img/video.asf ) status change: ( audio volume: 256 ) status change: ( play state: 1 ) [00000298] demuxdump demuxer: dumping raw stream to file `/TEMP/cam.asf' In my console it waits for input, and if I type "quit" it exits. Now I want to run it with cron, and I can't figure out how to tell VLC not to open a control interface, which it can't do when run with cron as the output (>/var/log/vlc.log) shows: Code: VLC media player 0.8.6e Janus [00000289] skins2 interface error: Cannot open display [00000289] skins2 interface error: cannot initialize OSFactory Error: Unable to initialize gtk, is DISPLAY set properly? Edit: I have to use "
& solutions from a community of 418,547 IT Pros & Developers. It's quick & easy. exec() with Linux P: n/a Stefano I have to execute vlc (Video https://bytes.com/topic/php/answers/732712-exec-linux Lan) using exec() function under Linux debian distribution. Running vlc from a shell works https://linuxfr.org/forums/linux-debutant/posts/lancer-vlc-au-d%C3%A9marrage perfectly, but I have a lot of problems if it is executed with function exec: TEST 1
vlc au démarrage Posté par jiremek le 03/11/07 à 20:57. Tags : aucun 0 3nov.2007 Bon alors j'ai touver comment lancer vlc au démarrage, mais si je reboot mon serveur, le streaming que j'ai demandé n'est pas effectué !! Voici l'erreur que je rencontre : voici le fichier /etc/init.d/vlc.sh #!/bin/sh #Lancement des serveur vlc de streaming su root -c'/usr/bin/vlc --extraintf=telnet --telnet-password 07000001 --telnet-port 10600 --vlm-conf=streaming.vlc' Et les erreurs [00000282] main interface: creating VLM [00000284] main vlm error: no suitable access module for `streaming.vlc' [00000282] telnet interface: using the VLM interface plugin... [00000282] telnet interface: telnet interface started on interface 10600 [00000296] skins2 interface error: Cannot open display [00000296] skins2 interface error: cannot initialize OSFactory Error: Unable to initialize gtk, is DISPLAY set properly? Quelqu'un a une solution a mon probleme ?? (9 commentaires). Markdown Epub # Que veux-tu faire ? Posté par Jean-Yves LENHOF (page perso) le 04/11/07 à 00:54. Évalué à2. Peux-être pourrais-tu nous dire ce que tu veux faire pour savoir si c'est la bonne façon de faire ? [^] # Que veux-tu faire ? Posté par jiremek le 04/11/07 à 01:39. Évalué à1. j'ai un nokia E65 mais je ne peut pas acceder au streaming de NRj et Skyrock car ceux-ci ne sont pas encoder en mp3, donc je profite des fonctions de vlc pour réencoder en mp3, mais ils faut que le réencodage passe par le vlm pour n'avoir qu'une seule instance de vlc, jusque là sa fonctionne! Le probleme c'est que le script de démarrage fonctionne trés bien si je le lance moi même mais ne fonctionne pas s'il est lancé au démarrage, vlc est bien lancé mais le streaming ne fonctionne pas! [^] # codage, et recodage/transcodage Posté par Olivier Jean