/srv/irclogs.ubuntu.com/2018/02/17/#ubuntu-server.txt

AirstrikeIvanovhey 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 now04:37
sarnoldAirstrikeIvanov: set the User= parameter in the unit file; see systemd.exec(5) for details and more options04:38
sarnoldAirstrikeIvanov: as a rule of thumb, sudo should NEVER be in scripts. *maybe* su. Maybe. It's hard to get right.04:38
AirstrikeIvanovyeah i'm new to all this and stumbling along as i learn to set it up lol04:39
sarnoldsystemd is especially difficult; the documentation is split over 30 manpages. :(04:39
AirstrikeIvanovbasically 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 everything04:39
sarnoldI 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
AirstrikeIvanovsetting 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 lol04:40
AirstrikeIvanovthanks though that manpage is helpful :D04:42
Pd1hi folks. encountering a "invalid partition table" error upon bootup after install. is this the right place to look for help?09:05
blackflowPd1: 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!