You are not logged in.
Hi there arch-community,
After trying to make work my AMD e350 with XBMC I moved to a discrete GT620. Now everything is easy! But I want to make my HTPC a little more useful but I found myself clueless.The goal is to have a LXDE and XBMC instances running for the TV, and also have LXDE through vnc, if I want to work remotely while I am using XBMC.
I managed to run XBMC (GPU-accelerated) in TTY2 and LXDE in TTY3 (vainfo shows that is also video accelerated). I also managed to X11vnc the LXDE, everything at the same time, I created 3 services, 2 linked to tty2 and tt3 for LXDE and XBMC, and another one for x11vnc:
cat /usr/lib/systemd/system/lxde@.service (enabled as lxde@tty3.service)
[Unit]
Description = Starts instance of LXDE using xinit
After = xbmc.service
#After = remote-fs.target
#After=online.target
[Service]
User = wikavalier
Group = users
Type = simple
ExecStart = /usr/bin/xinit /usr/bin/lxsession -- :1
Restart = always
[Install]
WantedBy = multi-user.target cat /usr/lib/systemd/system/xbmc.service
[Unit]
Description = Starts instance of XBMC using xinit
After = remote-fs.target
[Service]
User = wikavalier
Group = users
Type = simple
ExecStart = /usr/bin/xinit /usr/bin/xbmc-standalone -- :0 -nolisten tcp
Restart = always
[Install]
WantedBy = multi-user.target And everything seems to work fine, but when I switch back to XBMC and I try to connect x11vnc-LXDE the screen is black. I guess it is because it goes to some idle status to save CPU. Then I tried to add -sharevts -novtswitch to the LXDE service but then the service won't start.
Please, excuse me, I tried to search, I looked at the multihead and multiseat configurations but I get lost when it start to talk about VTS. Is that the same as tty?
Thanks in advance
Last edited by jasonwryan (2013-10-14 17:05:21)
Offline
Please, can any mod move this topic to the /Apps and Desktop subforum?
Update of the above: I also try deactivating dpms and enabling many options in x11vnc, none of these worked.
(Sorry for bump)
Offline
If you want a thread moved, you can use the report button (rather than relying on one of the staff stumbling on your thread)...
Moving to Apps & DEs.
Offline
Why have two live sessions? Install tiger no for your remote needs. See the wiki.
Offline
@jasonwryan
So sorry, I will remember it for the next time (I will also pay more attention to the rules and mechanisms of the forum)
@graysky
Thanks for you response. AFAIK tigervnc creates a new virtual X session. I want to have two live version intentionally, so I can arrange things through the VNCclient (on LXDE:1) and afterwards watch the results on my TV. The point is to have one central LXDE for all the platforms which includes vnc and TV
Of course, there can be many workarounds and this is not an extremely important part of my setup. I can arrange the things on a virtual LXDE and have another LXDE live/local to see the results. But, well... you know... being stubborn is the only way to learn.
However, the issue doesn't seem to be as straightforward as I thought at first. I will try to create 2 xorg layouts and play with the XvFB. If this doesn't work, I will simplify the setup...
Thanks and regards
Offline