How do I delete/uninstall a prior installation of Xteve. How to 'install' this as non-root user?

  • https://xteve.de/


    Admittedly, Yes I am a major Linux noob, so that's probably my problem.


    I 'installed'/started Xteve as root and realized this was not recommended. How can I undo what I did? I used Winscp to delete the .xteve folder it created in root. But now, when I 'reinstall' it, after I go to to provided host/port, IP:34400, it takes to me an xml looking page w/ txt and no gui.


    I think I need help installing this as a 'regular' user. I created a 'dawg' account, but how would I install the xteve bin file as dawg. I tried, but says dawg doesn't have access to certain folders. I'll have to re-run it for the error msg.

    • Offizieller Beitrag

    If you executed it as root, that is your problem.


    Do you have a user on your NAS, or just the root user?


    The instructions are pretty clear...


    https://github.com/xteve-proje…n-other-operating-systems


    The xTeVe binary must be started in the terminal.

    • Open a terminal
    • Change path to the binary

    cd /path/to/xteve/folder/

    • Set permission to execute the file

    chmod +x xteve

    • Start xTeVe

    ./xteveIf


    you're doing that as root, that's why you're having permission issues (this is why you should only use root, when you really need it)

  • If you executed it as root, that is your problem.


    Do you have a user on your NAS, or just the root user?

    Thats my problem, sorry if this is extremely newbie Q, but how do I do it. Check out my screenshot (from windows pc) - https://imgur.com/q3zztzs
    1 - I Used Winscp to copy the binary into a 'xteve' folder I created as root
    2 - I have my stevedawg85 account added into various groups
    3 - I used terminal to follow those steps but it's not allowed

    You access the web interface with IP:34400/web
    The xml you get without /web is normal behavior.

    Thanks, you are right, I did eventually get in and play with it some. But I still want to figure out the install as non-root. Because it seems to randomly crash.

    • Offizieller Beitrag

    Thats my problem, sorry if this is extremely newbie Q, but how do I do it. Check out my screenshot (from windows pc) - https://imgur.com/q3zztzs1 - I Used Winscp to copy the binary into a 'xteve' folder I created as root
    2 - I have my stevedawg85 account added into various groups
    3 - I used terminal to follow those steps but it's not allowed

    Thanks, you are right, I did eventually get in and play with it some. But I still want to figure out the install as non-root. Because it seems to randomly crash.

    Well if you created the folder with root.. You need to put it in a folder that your user created rather than root


    to remove the xteve folder you created as root (keep in mind you'll have to be root to do this)


    rm -R /path/to/folder


    Just keep in mind that is also going to delete any contents of that folder as well.

  • Thanks! I posted my same Q on other avenues and found out what I was doing wrong, or a good approach to this.


    FYI:
    Placed the binary file in /usr/local/bin, logged in as root to do chmod +x command, logged in as stevedawg to ./xteve


    Thanks all for your help.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!