You are not logged in.

#1 2022-05-18 11:38:46

zaxdan69
Member
Registered: 2016-06-04
Posts: 273

[SOLVED]Problem using 2 desktop environments in different ttys

I'm using autologin for tty1 and tty3 and xinit to start the DE/WM and not a DM. The main DE is xfce right now I had the same issues using cinnamon. The second(which starts in tty3) is always fluxbox and I use it only to run lutris and heroic launcher. The problem I have is that notifications or file picker dialogs of lutris or heroic run on xfce and not in fluxbox. Also icons of minimize to tray apps appear in xfce's and not in fluxbox's panel.
So is there any way to force those to run on the same tty they triggered and not on the other one?

Last edited by zaxdan69 (2022-05-19 18:24:25)

Offline

#2 2022-05-19 08:49:18

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: [SOLVED]Problem using 2 desktop environments in different ttys

zaxdan69 wrote:

I'm using autologin for tty1 and tty3 and xinit to start the DE/WM and not a DM.

Please post the full configuration files.

Offline

#3 2022-05-19 12:16:34

seth
Member
Registered: 2012-09-03
Posts: 51,213

Re: [SOLVED]Problem using 2 desktop environments in different ttys

notifications or file picker dialogs of lutris or heroic run on xfce and not in fluxbox

https://man.archlinux.org/man/core/dbus … ssion.1.en

icons of minimize to tray apps appear in xfce's and not in fluxbox's panel

"minimize to tray" doesn't exist as a concept.
If the clients presently use https://www.freedesktop.org/wiki/Specif … ifierItem/ and are able to fall back to https://specifications.freedesktop.org/ … atest.html , isolating the dbus session should™ cover that as well.

Offline

#4 2022-05-19 14:20:45

zaxdan69
Member
Registered: 2016-06-04
Posts: 273

Re: [SOLVED]Problem using 2 desktop environments in different ttys

For notifications/file dialogs can you please explain what you mean by posting this link?
About the tray icons, I usually use specific applications in the 2nd xserver with fluxbox. Specifically radeon-profile, lutris and/or heroic launcher. Radeon-profile and heroic which have tray icons and minimized to tray, the icons go to xfce panel. I also tried qbittorrent and vlc and they do the same. Any example of applications that should work as expected to test?

@Head_on_a_Stick:
what configuration files you need to post?

Last edited by zaxdan69 (2022-05-19 14:22:18)

Offline

#5 2022-05-19 14:23:39

seth
Member
Registered: 2012-09-03
Posts: 51,213

Re: [SOLVED]Problem using 2 desktop environments in different ttys

I mean

man dbus-run-session wrote:

dbus-run-session - start a process as a new D-Bus session

Your main proble is that both DEs share the same session bus and if xfce registers a notification daemon (first), that's where the notifications will go.

Offline

#6 2022-05-19 18:24:05

zaxdan69
Member
Registered: 2016-06-04
Posts: 273

Re: [SOLVED]Problem using 2 desktop environments in different ttys

That's clear thanks!
I didn't know about dbus-run-session.

Offline

#7 2022-06-03 07:03:18

zaxdan69
Member
Registered: 2016-06-04
Posts: 273

Re: [SOLVED]Problem using 2 desktop environments in different ttys

I repost here because I now have another problem using "dbus-run-session". The problem is that when a game runs and I change tty with ctl+alt+Fn, then most times the xserver shutdown when I try to return to the tty in which the game runs.

switch(EE) Server terminated with error(1). Closing log file or additional information (EE) (II) AIGLX: suspending AIGLX clients for VT X connection to :2 broken (explicit kill or server shutdown. 

xinit: Connection to X server lost
dbus-daemon[24490]: Reload Configuration

Last edited by zaxdan69 (2022-06-03 07:03:43)

Offline

#8 2022-06-03 12:29:54

seth
Member
Registered: 2012-09-03
Posts: 51,213

Re: [SOLVED]Problem using 2 desktop environments in different ttys

I repost here because I now have another problem

Generally refrain from that - you'll get more response on an "unsoled" topic and also multi-issue threads are less valuable for future readers.

Please open a new thread and post the complete xorg log for the crashing server (also this probably is not related to dbus-session-run, X11 doesn't depend on DBUS at all)

Offline

#9 2022-06-03 16:37:27

zaxdan69
Member
Registered: 2016-06-04
Posts: 273

Re: [SOLVED]Problem using 2 desktop environments in different ttys

Ok, I will. Thanks.

Offline

Board footer

Powered by FluxBB