Comments (9)
I'm no expert but my rigs would ideally run 100% in text. Without the need for KVM so I would fully support this. My needs are different to the masses so I don't expect the OS to have a text only switch, but I support this :)
from nvoc_by_fullzero_community_release.
This is not about full headless as we cant do it, nvidia drivers needs desktop and X server so we just trying to find a general way to start nvOC without binding it to gnome-terminal.
from nvoc_by_fullzero_community_release.
Systemd is your friend.
Here's a miner.service started from systemd
[Unit]
Description=Mine Something
[Service]
Environment=GPU_FORCE_64BIT_PTR=0
Environment=GPU_MAX_HEAP_SIZE=100
Environment=GPU_USE_SYNC_OBJECTS=1
Environment=GPU_MAX_ALLOC_PERCENT=100
Environment=GPU_SINGLE_ALLOC_PERCENT=100
Environment=DISPLAY=:0
Environment=XAUTHORITY=/home/m1/.Xauthority
WorkingDirectory=/home/m1/
ExecStart=/bin/bash --login -c "ethminer -G --farm-recheck 200 -F http://127.0.0.1:8080/NAMEOFTHISRIG"
Restart=always
[Install]
WantedBy=multi-user.target
from nvoc_by_fullzero_community_release.
What do you think about doing something like @doftorul described but launching a screen instance for 2unix in place of ethminer?
Then, in a terminal window one could either attach to the screen or tail its screenlog
from nvoc_by_fullzero_community_release.
If it starts 2unix screen again when its killed or stopped for any reason, then it can be the answer.
We can easily add nvOC path to 2unix start command and change it from ssh with no problem.
from nvoc_by_fullzero_community_release.
I started working on this new solution to startup nvOC, is working fine except for some stuff related to features that need write access, like switchers and logging. You can review the systemd service description you see in the nvOC helper script under the install-service function. Please report in the PR thread any kind of issues you find, not here.
from nvoc_by_fullzero_community_release.
If it's possible to avoid gnome-desktop, i support your work about that. and i'm ready to test it.
from nvoc_by_fullzero_community_release.
There is already support for running nvoc as a systemd service after #62 merge, it you would like to test make sure you follow my guidelines for setting user permissions. Then, you can disable autorun based on gnome-terminal profile. The nvOC helper script has the service installer built-in, see command help for details.
from nvoc_by_fullzero_community_release.
Support for nvOC running as systemd service has reached the stable 3.0 branch but should be considered experimental, this issue thread is left open for support and discussion about this topic. Feedbacks are welcome.
from nvoc_by_fullzero_community_release.
Related Issues (20)
- XMR-Stak don't start on 3main launching HOT 12
- NICE_CNV8 & NICE_CNHEAVY not displayed by WTM_SWITCHER HOT 10
- chose cuda version default HOT 1
- nvOC commands autocomplete HOT 3
- Algo and hashrate missing in minerinfo HOT 4
- Invalid default PHI2 miner HOT 1
- Can't add grin using gminer HOT 7
- Could you please add support for nicehash grin and beam using gminer 1.29? HOT 20
- Add support for multiple miner instances to segregate GPUs on single rigs HOT 7
- Please add support for cuckaroo31 using gminer 1.31 to mine grin31 HOT 11
- Could you please add bminer 14.3.1 support for cuckaroo29 and cuckatoo31 (pool and NH) HOT 13
- Aeternity option in gminer should be aeterity not cuckoo. Also please add f2pool as default AE pool HOT 1
- Tempcontrol query HOT 4
- Disabled GPU not working correctly on PhoenixMiner and Claymore HOT 1
- Add support for NBminer 21.0 for grin etc algos HOT 3
- NICE_* address argument missing in miner command line HOT 4
- Common defaults should exploit COIN_MINER_OPTS where possible
- Add support RainbowMiner HOT 6
- nvoc 3.2 - not able to start ethminer HOT 9
- gtx 1660 super HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvoc_by_fullzero_community_release.