← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #703405]: [Linux] Screen goes black when trying to take a screenshot using sikulix IDE

 

Question #703405 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/703405

Akshay T P posted a new comment:
My issue resolved after changing $XDG_SESSION_TYPE in my machine,

Please find the steps I have done,

1. check which display system your ubuntu using 
     echo $XDG_SESSION_TYPE

If above command outputs "wayland" then your system is using wayland.

To use screensharing we have to disable wayland and enable xorg(x11).

2. Open   /etc/gdm3/custom.conf and uncomment below line,
   WaylandEnable=false
save the changes and reboot your system.

3, do. echo $XDG_SESSION_TYPE and it should display x11.

Now launch sikuli IDE and try to take snapshots, It should work.


Thanks,
Akshay

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.