Web browser? /etc/rc.local not starting with boot?

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Web browser? /etc/rc.local not starting with boot?

Postby makuab » Fri Mar 08, 2013 8:19 pm

I was trying to install firefox on pogoplug E02 and couldn't find the package, I guess because it doesn't exist for arm?

What would a good web browser be for pogoplug E02?

Also my /etc/rc.local script isn't starting with boot, but it works manually. How can I fix this?

$this->bbcode_second_pass_code('', 'sleep 5
/usr/bin/Xvfb :1 -extension GLX -extension RANDR -fp /usr/share/fonts/misc -screen 0 800x600x16&
sleep 2
export DISPLAY=:1
sleep 2
/usr/bin/startlxde&
sleep 5
/usr/bin/x11vnc -display :1 -bg -nopw -xkb -forever -passwd my pass -allow 192.168.0.199&

')
makuab
 
Posts: 60
Joined: Fri Mar 01, 2013 11:49 pm

Re: Web browser? /etc/rc.local not starting with boot?

Postby moonman » Fri Mar 08, 2013 10:04 pm

rc.local is gone.

Read throught https://wiki.archlinux.org/index.php/Vn ... _Vncserver

I beleive there's only 1 browser available for armv5 - epiphany
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Web browser? /etc/rc.local not starting with boot?

Postby makuab » Fri Mar 08, 2013 10:24 pm

$this->bbcode_second_pass_quote('moonman', 'r')c.local is gone.

Read throught https://wiki.archlinux.org/index.php/Vn ... _Vncserver

I beleive there's only 1 browser available for armv5 - epiphany



It's gone? How can I start something with boot then? What about lxde and xvfb on boot?
makuab
 
Posts: 60
Joined: Fri Mar 01, 2013 11:49 pm

Re: Web browser? /etc/rc.local not starting with boot?

Postby moonman » Fri Mar 08, 2013 10:50 pm

there are workarounds for systemd. Google for it.

You don't need xvfb. Start vncserver with systemctl start vncserver, put start lxde in vncserver startup script. That's it.
You didn't read right?
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Web browser? /etc/rc.local not starting with boot?

Postby makuab » Fri Mar 08, 2013 11:40 pm

$this->bbcode_second_pass_quote('moonman', 't')here are workarounds for systemd. Google for it.

You don't need xvfb. Start vncserver with systemctl start vncserver, put start lxde in vncserver startup script. That's it.
You didn't read right?

Why would they remove rc.local?
makuab
 
Posts: 60
Joined: Fri Mar 01, 2013 11:49 pm

Re: Web browser? /etc/rc.local not starting with boot?

Postby moonman » Sat Mar 09, 2013 12:45 am

Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Web browser? /etc/rc.local not starting with boot?

Postby makuab » Sat Mar 09, 2013 1:18 am

Got it working using this.

I am trying to do VNC over SSH but I'm not sure if I'm doing it right. I have it set to only accept connections from localhost, how does that work with SSH + VNC? I have it working but I want to understand how it works and if I'm actually going through SSH.
makuab
 
Posts: 60
Joined: Fri Mar 01, 2013 11:49 pm

Re: Web browser? /etc/rc.local not starting with boot?

Postby makuab » Sat Mar 09, 2013 1:24 am

$this->bbcode_second_pass_quote('moonman', 'h')ttps://wiki.archlinux.org/index.php/Systemd

So is systemd something new? What preceded it?
makuab
 
Posts: 60
Joined: Fri Mar 01, 2013 11:49 pm
Top

Re: Web browser? /etc/rc.local not starting with boot?

Postby moonman » Sat Mar 09, 2013 3:29 am

sysv/initscripts preceded it. Most linux distros are in the process of moving on/already switched from it. Ubuntu uses "upstart". I think fedora is systemd...
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Web browser? /etc/rc.local not starting with boot?

Postby makuab » Sat Mar 09, 2013 4:53 am

$this->bbcode_second_pass_quote('moonman', 's')ysv/initscripts preceded it. Most linux distros are in the process of moving on/already switched from it. Ubuntu uses "upstart". I think fedora is systemd...


so basically to run something at start you make it a service?
makuab
 
Posts: 60
Joined: Fri Mar 01, 2013 11:49 pm
Top


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 16 guests