Creative time with GIMPI had creative time yesterday so I made this minimalistic digital painting in GIMP.
date: Wed, 07 Oct 2015 12:02:20 +0200
How to start XBMC (kodi) with systemd without login managerLong story short: My HTPC is running on unstable/experimental branch of Debian GNU/Linux OS and I decided to update it again.
It ended with this message
xf86OpenConsole: Cannot open virtual console 7when XBMC had to start via init script (by invoking xinit with user privs).
Upon long examination I decided to rewrite my configuration in systemd way.
I made two new services which I placed to
Their content is described bellow.
[Unit] Description=Launch Xorg server After=network.target sound.target [Service] Type=simple ExecStart=/usr/bin/X :0 vt7 [Install] WantedBy=multi-user.targetThis service starts Xorg server after network and sound services when system is entering to multi-user level.
[Unit] Description=Launch XBMC After=xorg.service Requires=xorg.service [Service] Type=simple User=xbmc Group=xbmc Environment="DISPLAY=:0" ExecStart=/usr/bin/kodi-standalone KillSignal=SIGTERM SendSIGHUP=1 Restart=on-abort RestartSec=5 [Install] WantedBy=multi-user.targetThis service starts XBMC but only when Xorg service is running (note the
XBMC is started with privileges of
xbmcuser and group which are present on my system.
There is also environment variable
:0(which is display identifier).
These options are pretty self-describing but I have to note the
SendSIGHUPwhich is interesting one,
because when this option is set, systemd will send
SIGHUPsignal to all remaining forks,
so they will exit quickly when main process isn't present. This solved slow XBMC shutdowns for me within this setup.
Ensure that services will start with system.
systemctl daemon-reload systemctl enable xorg systemctl enable xbmc
... and finaly
systemctl xbmc start
In summary I have XBMC running without root privileges in pure and clean X session without any tools which can be easily broken in such experimental environment.
date: Sat, 03 Oct 2015 14:55:00 +0200
Watching sunset from BraunsbergYesterday was good day for some chill at Braunsberg again with friends, some bottles of beer and with pipes full of tobacco.
SMC Pentax f1.7/50mm|
date: Sun, 23 Aug 2015 11:13:00 +0200
Braunsberg in Austria is a nice place to restNot far away from capital city of Slovakia is located the Braunsberg hill (346 m.a.s.l.) which is actually limestone massif. It's dominant object in the landscape and I have been always fascinated with it. Decision was made and I made a trip to that interesting place.
First time I walked there by tourist path. It's also accessible by car which is an advantage but also disadvantage because of high traffic of loud people. Thus relatively quiet place is disrrupted by guys reving engines on their motorcycles, loud music from parking cars (wtf?!), crying babies and etc. So it's more urban place and watch tower within palisade is pretty busy. On the other side I never saw anyone sitting directly on the limestone rocks and this place is that one where I really love to chill with my camera.
I have one more remark. I noticed some felt pen writings by Slovaks (I am also one so that's why I am even more disgusted) inside watch tower. Something like "We were here at
Now some photos from that place and arout it.
Tamron f2.5/24mm 01BB|
Hoya HMC Zoom f4/80-200mm
date: Thu, 20 Aug 2015 11:03:00 +0200
Summer night walkSo I decided to grab a tripod and take a walk with my camera.
Old town district in Bratislava offers so many interesting places which worth a shot.
Too bad I had to go to work in the morning.
SMC Pentax f1.7/50mm|
Tamron f2.5/24mm 01BB
date: Thu, 13 Aug 2015 16:05:00 +0200