markiii wrote: 
> fabulous that worked a treat thanks.
> 
> oddly though it doesn't survive a reboot, when I try ro run
> .bin/jivelite after a reboot it doesn't exist

That's perfectly normal behavior, you have to make jivelite start on
boot. 
I don't know where your ubuntu is running on but the way to make it
start on a debian distro (and maybe Ubuntu) goes as following:

Install Xorg and “LXDE-Core”: 

Code:
--------------------
    sudo apt-get install xorg lxde-core
--------------------

After that we must make the system auto login:

Code:
--------------------
    sudo nano /etc/systemd/system/getty.target.wants/[email protected]
--------------------

And change the "ExecStart=" line in the "[Service]" section to this
(with foo as example name):

Code:
--------------------
    ExecStart=-/sbin/agetty --autologin foo --noclear %I $TERM
--------------------

CTRL X to save it.
For automatic `startx` edit “.profile” in your home
directory:

Code:
--------------------
    sudo nano .profile
--------------------

And add this snippet to the end of the file: 

Code:
--------------------
    [ "$(tty)" = "/dev/tty1" ] && exec startx
--------------------

CTRL X to save it.
Now set the correct default.target to ensure the system boots to the
console (TTY) rather than to a display manager:

Code:
--------------------
    sudo systemctl set-default multi-user.target
--------------------

To reverse this change, reset the default.target with (leave this for
now otherwise jivelite will fail to start): 

Code:
--------------------
    sudo systemctl set-default graphical.target
--------------------

Now finally autostart JiveLite by editing the following file: 

Code:
--------------------
    sudo nano /usr/bin/startlxde
--------------------

Scroll to the bottom of the it and you’ll see the last line says
this: 

Code:
--------------------
    exec /usr/bin/lxsession -s LXDE-pi -e LXDE
--------------------

Change it to this by putting a # sign in front of that line

Code:
--------------------
    #exec /usr/bin/lxsession -s LXDE-pi -e LXDE
--------------------

Add another line below it that says this (with foo as example name):

Code:
--------------------
    exec /home/foo/jivelite/bin/jivelite
--------------------

CTRL X to save it.
Reboot your system and hopefully it's working.


------------------------------------------------------------------------
HB64's Profile: http://forums.slimdevices.com/member.php?userid=14945
View this thread: http://forums.slimdevices.com/showthread.php?t=98156

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to