|
Bugzilla – Full Text Bug Listing |
| Summary: | kdesu does not launch kate | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Frank Krüger <fkrueger> |
| Component: | KDE Applications | Assignee: | E-Mail List <opensuse-kde-bugs> |
| Status: | NEW --- | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | fabian, fkrueger, fvogt |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Frank Krüger
2023-07-02 17:06:55 UTC
I assume this is with an X11 session of Plasma? What's the output of "xauth list"? If you run "su", what's the output of "xauth list" inside? (In reply to Fabian Vogt from comment #1) > I assume this is with an X11 session of Plasma? > > What's the output of "xauth list"? gropius/unix:0 MIT-MAGIC-COOKIE-1 5c8ee00c7ae25ee87e693770f7894955 #ffff##:0 MIT-MAGIC-COOKIE-1 5c8ee00c7ae25ee87e693770f7894955 > If you run "su", what's the output of "xauth list" inside? ropius/unix:0 MIT-MAGIC-COOKIE-1 5c8ee00c7ae25ee87e693770f7894955 #ffff##:0 MIT-MAGIC-COOKIE-1 5c8ee00c7ae25ee87e693770f7894955 (In reply to Fabian Vogt from comment #1) > I assume this is with an X11 session of Plasma? Yes, X11 session. Might this issue actually be a feature? Cf. https://build.opensuse.org/package/view_file/openSUSE:Factory/kate/0001-Defuse-root-block.patch?expand=1 The xauth output looks good. What's $DISPLAY? Does xterm show any better error message? (In reply to Frank Krüger from comment #4) > Might this issue actually be a feature? Cf. > https://build.opensuse.org/package/view_file/openSUSE:Factory/kate/0001- > Defuse-root-block.patch?expand=1 No, it would clearly indicate that. In this case it fails to connect to the X server. (In reply to Fabian Vogt from comment #5) > What's $DISPLAY? echo $DISPLAY :0 > Does xterm show any better error message? Unfortunately not. By the way, kwrite works fine with kdesu. I was able to reproduce the issue. It's because kate forks into the background, but that causes the kdesu session to stop and the xauth file is deleted. Depending on whether the forked kate was quick enough or not, the X11 connection is successful or not. You can use kdesu -c "kate -b" instead. (In reply to Fabian Vogt from comment #7) > I was able to reproduce the issue. > > It's because kate forks into the background, but that causes the kdesu > session to stop and the xauth file is deleted. Depending on whether the > forked kate was quick enough or not, the X11 connection is successful or not. > > You can use kdesu -c "kate -b" instead. This works. Thx. |