AirstrikeIvanov | hey folks, what's the easiest way to execute "sudo -u user vnc4server :1" every time a server starts? i tried a systemd script but running it as sudo -u seems to resolve some dbus issues i was having, just can't make it start up on startup properly now | 04:37 |
---|---|---|
sarnold | AirstrikeIvanov: set the User= parameter in the unit file; see systemd.exec(5) for details and more options | 04:38 |
sarnold | AirstrikeIvanov: as a rule of thumb, sudo should NEVER be in scripts. *maybe* su. Maybe. It's hard to get right. | 04:38 |
AirstrikeIvanov | yeah i'm new to all this and stumbling along as i learn to set it up lol | 04:39 |
sarnold | systemd is especially difficult; the documentation is split over 30 manpages. :( | 04:39 |
AirstrikeIvanov | basically i want to execute vnc4server -geometry 1280x720 -depth 24 :1 as user 'minecraft' on startup and i have tried systemd files a few times, with user= and everything | 04:39 |
sarnold | I can't tell you how much time I've wasted trying to find the right stupid manpage to find the thing I wanted.. | 04:40 |
AirstrikeIvanov | setting up a minecraft server for my brother and he does not use SSH like i do so i caved and threw on lxde for him but this vnc stuff is so confusing lol | 04:40 |
AirstrikeIvanov | thanks though that manpage is helpful :D | 04:42 |
Pd1 | hi folks. encountering a "invalid partition table" error upon bootup after install. is this the right place to look for help? | 09:05 |
blackflow | Pd1: yes. is this first boot after regular installation (with official installer)? If so, my first suspicion would be hardware issues. Can you reboot into some kind of rescue mode / live env, and check the partition table? | 10:53 |
=== ivoks_ is now known as ivoks | ||
=== soahccc_ is now known as soahccc | ||
=== ejat_ is now known as ejat |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!