Possible to run an xorg desktop in Wayland?

Jeff Sadowski jeff.sadowski at gmail.com
Thu Jul 20 22:14:54 UTC 2017


after reading the logs for x11vnc I added a few more flags

/usr/bin/x11vnc -o ~/x11vnc/x11vnc.log -capslock -loop -forever -shared
-noxfixes -noxdamage -nowf -noscr -noxkb -usepw -passwdfile ~/x11vnc/passwd

finally down to this in the log

20/07/2017 16:12:42 x11vnc version: 0.9.14 lastmod: 2013-11-21  pid: 2930
20/07/2017 16:12:42 Using X display :0
20/07/2017 16:12:42 rootwin: 0x260 reswin: 0x2200001 dpy: 0xc50a1d70
20/07/2017 16:12:42
20/07/2017 16:12:42 ------------------ USEFUL INFORMATION ------------------
20/07/2017 16:12:42 GrabServer control via XTEST.
20/07/2017 16:12:42 X FBPM extension not supported.
20/07/2017 16:12:42 X display is not capable of DPMS.
20/07/2017 16:12:42 --------------------------------------------------------
20/07/2017 16:12:42
20/07/2017 16:12:42 Default visual ID: 0x24
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  73 (X_GetImage)
  Serial number of failed request:  40
  Current serial number in output stream:  40


On Thu, Jul 20, 2017 at 4:05 PM, Jeff Sadowski <jeff.sadowski at gmail.com>
wrote:

> So from what I gather wayland can run xorg under it right?
> If I'm running xorg I should be able to run something like x11vnc to
> connect to that xorg correct?
> and run stuff like xdotool on that xorg as well right?
>
> I'm testing out wayland under a virtualbox vm that I have running under
> xorg.
> My vm is running Fedora rawhide.
>
>
> echo -e "$(loginctl|grep -v -i SESSION|awk '{print $1}')"|while read
> session; do
> loginctl show-session ${session} -p Type
> done
>
> shows
>
> Type=tty
> Type=wayland
>
> Yay I'm running wayland.
>
> If I run xterm in wayland I can run xdotool to type stuff to it. This
> didn't work in gnome-terminal
>
> xrandr
> Screen 0: minimum 320 x 200, current 800 x 600, maximum 8192 x 8192
> XWAYLAND0 connected 800x600+0+0 (normal left inverted right x axis y axis)
> 0mm x 0mm
>    800x600       59.86*+
>
> /usr/bin/x11vnc -o ~/x11vnc/x11vnc.log -capslock -loop -forever -shared
> -noxfixes -usepw -passwdfile ~/x11vnc/passwd
>
>  --- x11vnc loop: 1 ---
>
>  --- x11vnc loop: waiting for: 2863
>
>
>  --- x11vnc loop: sleeping 2000 ms ---
>
>
>  --- x11vnc loop: 2 ---
>
>  --- x11vnc loop: waiting for: 2864
>
>
>  --- x11vnc loop: sleeping 2000 ms ---
> ...
>
> My goal is to at least see and control a subset of windows with vnc under
> wayland.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20170720/9965efc6/attachment.html>


More information about the wayland-devel mailing list