You are not logged in.

#1 2024-01-02 08:45:51

UndefFox
Member
Registered: 2024-01-02
Posts: 18

[SOLVED] Can't start Plasma via startx

Hi.

I'm trying to start another plasma session in tty3. After running startx, loading screen shows up and after some time black screen with cross cursor. If i try pressing shutdown button in start menu, screen with shutdown options will show up on the tty3 instead of current session.

I followed the guides:
https://wiki.archlinux.org/title/Xinit
https://wiki.archlinux.org/title/KDE

- I copied /etc/X11/xinit/xinitrc to ~/.xinitrc
- Replaced last part of executions

twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login

with:

DESKTOP_SESSION=plasma
/usr/lib/plasma-dbus-run-session-if-needed startplasma-x11

- Edited /etc/X11/Xwrapper.conf with

allowed_users=anybody
needs_root_rights=no

Last edited by UndefFox (2024-01-02 15:01:06)

Offline

#2 2024-01-02 11:17:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,048

Re: [SOLVED] Can't start Plasma via startx

I'm trying to start another plasma session in tty3.

Stressed the relevant part.

pressing shutdown button in start menu, screen with shutdown options will show up on the tty3

I assume you're trying to run the session for the same user that holds the first one?
Try to unconditionally "dbus-launch startplasma-x11", otherwise both sessions will share the same session bus, ie. you're trying to run the same session on different TTYs (hence the shutdown dialog goes to the wrong display)

Offline

#3 2024-01-02 12:48:01

UndefFox
Member
Registered: 2024-01-02
Posts: 18

Re: [SOLVED] Can't start Plasma via startx

Yes, it works now. But here another problem (idk if i need to start another thread). Initially i tried to start  xrdp and to check if it could start session i used startx, and now session is working, but when i try to connect it's still not showing desktop. I can run programs and widnwos are visible, but not desktop.

Packages that i use:
xrdp-git
xorg-xrdp-nvidia

I've already did:
- sat Xorg and xrdp/xorg.conf to /usr/lib/Xorg and xrdp/xorg_nvidia.conf
- In latest version waitforx is not working and i used method suggested here https://github.com/neutrinolabs/xrdp/is … 1710163813

Any idea on why desktop is not visible while programs are?

Offline

#4 2024-01-02 14:24:31

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,048

Re: [SOLVED] Can't start Plasma via startx

i need to start another thread

Post the xorg log of the second session and check "glxinfo -B"; I'd not be surprised if this now runs on software GL and xorg-xrdp-nvidia might be a problem.

Does eg. a parallel openbox session show up as expected?

Offline

#5 2024-01-02 14:25:30

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,554
Website

Re: [SOLVED] Can't start Plasma via startx

idk if i need to start another thread

Please do. Mark this one as solved as well.

https://wiki.archlinux.org/title/Genera … ow_to_post


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2024-01-02 15:40:06

UndefFox
Member
Registered: 2024-01-02
Posts: 18

Re: [SOLVED] Can't start Plasma via startx

Offline

Board footer

Powered by FluxBB