Re: Running multiple Wayland window managers in different ttys

2017-10-23 Thread Daniel Stone
Hi Deepak, On 20 October 2017 at 18:50, Deepak Jois wrote: > I have Gnome running under Wayland on tty2. The Gnome session is > running some app like gnome-terminal. > > I do the following: > > * Press Ctrl-Alt-F3 (switching to tty3, the lowest free tty) > * Login as the same user running the Gno

Re: Running multiple Wayland window managers in different ttys

2017-10-22 Thread Pekka Paalanen
On Sat, 21 Oct 2017 11:06:38 +0530 Deepak Jois wrote: > On Sat, Oct 21, 2017 at 12:28 AM, Matt Hoosier wrote: > > > > The trick here is to inform each compositor that it should be > > listening on a different Wayland socket name. For example, if you use > > Weston: > > > > $ weston --socket=

Re: Running multiple Wayland window managers in different ttys

2017-10-21 Thread Deepak Jois
On Sat, Oct 21, 2017 at 2:32 AM, Dima Ryazanov wrote: > 1. Actually, Weston *should* set the right wayland socket automatically. > They're not mapped to ttys - but Weston tries them until it finds an > available one (at least, in my case). I see the following in the log: > > [23:52:27.077] libwayl

Re: Running multiple Wayland window managers in different ttys

2017-10-20 Thread Deepak Jois
On Sat, Oct 21, 2017 at 12:28 AM, Matt Hoosier wrote: > > The trick here is to inform each compositor that it should be > listening on a different Wayland socket name. For example, if you use > Weston: > > $ weston --socket=wayland-1 > > This will cause Weston to establish its listening socket

Re: Running multiple Wayland window managers in different ttys

2017-10-20 Thread Dima Ryazanov
What do you see if you run weston on tty3 (rather than sway), without setting WAYLAND_SOCKET or --socket? On Sat, Oct 21, 2017 at 12:02 AM, Dima Ryazanov wrote: > 1. Actually, Weston *should* set the right wayland socket automatically. > They're not mapped to ttys - but Weston tries them until i

Re: Running multiple Wayland window managers in different ttys

2017-10-20 Thread Dima Ryazanov
1. Actually, Weston *should* set the right wayland socket automatically. They're not mapped to ttys - but Weston tries them until it finds an available one (at least, in my case). I see the following in the log: [23:52:27.077] libwayland: unable to lock lockfile /run/user/1000/wayland-0.lock, mayb

Re: Running multiple Wayland window managers in different ttys

2017-10-20 Thread Matt Hoosier
Hi Deepak, On Fri, Oct 20, 2017 at 11:50 AM, Deepak Jois wrote: > Hi > > I have read the Wayland docs and skimmed through the API reference, > and I am trying to understand some concepts better. The questions > below are probably a bit naive, but I appreciate any > suggestions/explanations. > > T

Running multiple Wayland window managers in different ttys

2017-10-20 Thread Deepak Jois
Hi I have read the Wayland docs and skimmed through the API reference, and I am trying to understand some concepts better. The questions below are probably a bit naive, but I appreciate any suggestions/explanations. To illustrate my situation better, let me start with an actual scenario I tried t