Skip to content

Unable to open Xschem or KLayout #204

@gfcwfzkm

Description

@gfcwfzkm

Describe the bug
Attempting to open Xschem or KLayout results in an error message in the terminal.

Launching start_x.sh returns the following text:

❯ ./start_x.sh
[INFO] Design directory auto-set to /home/gfcwfzkm/eda/designs.
[INFO] Auto detected Linux.
[INFO] Assuming Wayland Socket /run/user/1000/wayland-0.
[INFO] Wayland Socket exists, forwarding...
./start_x.sh: line 185: /tmp/.iic-osic-tools_xserver_uid_1000_xauthority: Is a directory
xauth:  /tmp/.iic-osic-tools_xserver_uid_1000_xauthority not writable, changes will be ignored
xauth:  /tmp/.iic-osic-tools_xserver_uid_1000_xauthority not writable, changes ignored
[INFO] /dev/dri detected, forwarding GPU for graphics acceleration.
[WARNING] Container iic-osic-tools_xserver_uid_1000 exists.
[HINT] It can also be restarted with "docker start iic-osic-tools_xserver_uid_1000" or removed with "docker rm iic-osic-tools_xserver_uid_1000" if required.

Press "s" to start, and "r" to remove: s
iic-osic-tools_xserver_uid_1000

..which opens up a new terminal window in the docker environment. Trying to open xschem gives the following messages:

/foss/designs > xschem
Authorization required, but no authorization protocol specified


   X server connection failed, although DISPLAY shell variable is set.
   A possible reason is that the X server is not running or DISPLAY shell variable
   is incorrectly set.
   Starting Xschem in text only mode.

Using run time directory XSCHEM_SHAREDIR = /foss/tools/xschem/share/xschem
Sourcing /foss/tools/xschem/share/xschem/xschemrc init file
Sourcing /headless/.xschem/xschemrc init file
SG13G2_MODELS: /foss/pdks/ihp-sg13g2/libs.tech/ngspice/models
SG13G2_MODELS_XYCE: /foss/pdks/ihp-sg13g2/libs.tech/xyce/models
xschem [/foss/designs]

... and for KLayout:

/foss/designs > klayout
Authorization required, but no authorization protocol specified

Info: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

Aborted (core dumped)
/foss/designs > 

Environment:

  • OS: CachyOS (Arch-based Linux)
  • WM: KWin (KDE) (Wayland)
  • Operating mode: X11
  • Version tag: Current release

Is this some sort of Wayland-related issue? I'd be happy for any help or pointers to the right direction, thank you!

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions