Category5.TV Community Forum

Full Version: Plexpi Web interface auto-load
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

i have installed Plexpi 1.3 and all is working perfectly, except that i dont want the Plex web interface to auto-load on boot in FULL SCREEN as i usually access my pi via VNC on my Mac and i cant seem to close the web interface via "alt F4"  using vnc for some reason and i always have to connect a keyboard onto the pi in order to close the plex web interface window. how can i change this?

I also need help creating a password file so that plex can auto fill my plex credentials when it auto-loads on boot.

please help.  Huh
Sounds like you're using PlexPi for other things that it is not intended for. Let me know what you're trying to achieve (eg., why are you using VNC?) and I'll see if I can help, though it sounds like it is outside of what PlexPi is built for.
Smashkat,

I use my email address to login to Plex.  That said,  I logged into my Plex account on my Pi using the chromium browser and allowed the browser to save my email and password.  From then on, chromium  would auto complete my credentials when I brought up the plex from then on.  Simple as that.
Anyone know the answer to the question about not launching Plex Web at start up.  This is a plex client and not needed by the server.  I have my pi locked in a closet and access it remotely via VNC and don't want Plex Web Running.

I mainly access it for admin stuff.

Thanks
Hi,
I've solved it with a cron job that kills chromium after startup.

To do that you can add the following line to your root crontab (sudo crontab -e):
@reboot /bin/sleep 60 && sudo killall chromium-browser > /dev/null 2>&1
Thanks I will look into that. 

May have just found it:

Did a search on how to auto start Chromium on raspberry pi and found How to auto start chromium after boot on the Raspberry 2 (2015-01-31 debian wheezy)?

In this post one of the replies points to the /home/pi/.config/lxsession/LXDE-pi/autostart.

I opened this file and found:

@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@/usr/bin/chromium-browser --incognito --start-maximized --kiosk http:127.0.0.1:32400/web
@point-rpi

so I am going to comment out the @/usr/bin/chromium-browser --incognito --start-maximized --kiosk http:127.0.0.1:32400/web line and reboot to check.


*UPDATE*
That worked, now when I connect with VNC it just get the desktop
Noob here, but i've found something important for some user.

If you delete from
@/usr/bin/chromium-browser --incognito --start-maximized --kiosk http:127.0.0.1:32400/web
the --incognito part, you can do the auto login on plex, if you save your password
But if you delete --start-maximized it will do nothing.

Can anyone tell me if i can start on window mode?
Thanks for the reply.
Hello,
Being curious I'm trying to do the same type of thing now as well with plexpi 1.3. When you removed that line was it through the RPi gui or terminal? if it was through terminal can you give me the steps that you used to get there? 
I'm trying to setup retropie on my plexpi and when I got retropie installed and reboot it I see the RPi gui and then it goes into the terminal or shell display. I think that the full login mode of the normal plexpi is causing this but not sure.

Thank you


*Update*
I logged in using Putty and went to 
Code:
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart

when I did that it got the following files:

@lxpanel --profile LXDE-pi
@pcmanfm --desktop --LXDE-pi
@xscreensaver -no-splash
@point-rpi

I wonder if deleting the @xscreensaver -no-splash would do the same as what your talking about.