Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #247330

Re: Issues running TigerVNC on Debian WSL-2

From The Wanderer <wanderer@fastmail.fm>
Newsgroups linux.debian.user
Subject Re: Issues running TigerVNC on Debian WSL-2
Date 2022-04-17 21:50 +0200
Message-ID <Edj4d-9p3P-1@gated-at.bofh.it> (permalink)
References <Edeed-9mfR-1@gated-at.bofh.it> <EdenU-9mj7-3@gated-at.bofh.it> <Edhvr-9oiJ-1@gated-at.bofh.it> <Edhvr-9oiJ-5@gated-at.bofh.it>
Organization This space intentionally left blank.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 2022-04-17 at 14:07, Greg Wooledge wrote:

> On Sun, Apr 17, 2022 at 10:59:44AM -0700, mwoodpatrick@gmail.com wrote:
>
>> Many thanks for the response. Much appreciated
>> 
>> Permissions look ok
>> 
>>     ls -ld /tmp /tmp/.X11-unix
>>          drwxrwxrwt 2 root root 4096 Apr 17 09:31 /tmp
>>          lrwxrwxrwx 1 root root   19 Apr 17 09:31 /tmp/.X11-unix ->
>> /mnt/wslg/.X11-unix
>> 
>>     ls -ld /mnt/wslg/.X11-unix
>>         drwxrwxrwx 2 root root 60 Apr 17 09:31 /mnt/wslg/.X11-unix
>> 
>> I have write access to both locations
> 
> That looks incredibly not OK.  You're doing something unusual, and
> you are going to have to deal with the consequences of that.  This
> may include running afoul of various things like AppArmor that are
> restricting access to specific directory trees, which you are no longer
> in.
> 
> I can't imagine what benefit you think you're deriving from this
> convoluted setup, but whatever it is, I hope it's worth the pain you're
> going to experience, trying to track down all of the things you've
> broken.

I don't think this is something he broke himself; from the little I've
found, this appears to be something that's recommended or even required
for WSLg (the Windows Subsystem for Linux GUI) to work. See e.g.
https://github.com/microsoft/wslg/issues/193#issuecomment-841341256 for
one indication that that may be the case.

It is, of course, always possible that other software might not be
compatible with doing this - and, honestly, if I were trying to debug
this I'd probably start by getting the source of TigerVNC and
experimenting with changing things around there.

> (You've also forgotten the sticky bit on your mounted directory.)

While that's certainly not ideal, I can't see how it could cause the
exhibited behavior in this case; from what I can find reading up on the
sticky bit to refresh my memory, having it unset should just result in
being able to do *more* things with/inside the directory than would be
the case if it were set.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Issues running TigerVNC on Debian WSL-2 <mwoodpatrick@gmail.com> - 2022-04-17 16:40 +0200
  Re: Issues running TigerVNC on Debian WSL-2 Greg Wooledge <greg@wooledge.org> - 2022-04-17 16:50 +0200
    RE: Issues running TigerVNC on Debian WSL-2 <mwoodpatrick@gmail.com> - 2022-04-17 20:10 +0200
      Re: Issues running TigerVNC on Debian WSL-2 Greg Wooledge <greg@wooledge.org> - 2022-04-17 20:10 +0200
        Re: Issues running TigerVNC on Debian WSL-2 Mark Wood-Patrick <mwoodpatrick@gmail.com> - 2022-04-17 20:20 +0200
        Re: Issues running TigerVNC on Debian WSL-2 The Wanderer <wanderer@fastmail.fm> - 2022-04-17 21:50 +0200
          Re: Issues running TigerVNC on Debian WSL-2 Greg Wooledge <greg@wooledge.org> - 2022-04-18 00:20 +0200
            Re: Issues running TigerVNC on Debian WSL-2 The Wanderer <wanderer@fastmail.fm> - 2022-04-18 02:20 +0200
              RE: Issues running TigerVNC on Debian WSL-2 <mwoodpatrick@gmail.com> - 2022-04-18 13:20 +0200
            RE: Issues running TigerVNC on Debian WSL-2 <mwoodpatrick@gmail.com> - 2022-04-18 13:20 +0200

csiph-web