loginctl shows tty instead x11
by drigohighlander from LinuxQuestions.org on (#6EJ8X)
Hi folks
When I startx my xfce4 desktop from command line (I'm using Slackware-Current)
loginct shows tty.
loginctl show-session 1 --p Type --value
tty
But when I use one display manager, like xdm or sddm for example, it shows
correctly x11
loginctl show-session 1 --p Type --value
x11
The problem is, anydesk and other applications only works in Xorg, and they check this type if is x11 to work, so I can only use these softwares using a display manager (xdm or sddm for example).
But I can't use these displayer manager, because I need autologin, and xdm doens't have it, and sddm has so many dependences to work on for my little server.
Has anyone came into this problem too? how startx xfce4 or other environment with the correctly loginctl session type?
Thanks all in advance.
When I startx my xfce4 desktop from command line (I'm using Slackware-Current)
loginct shows tty.
loginctl show-session 1 --p Type --value
tty
But when I use one display manager, like xdm or sddm for example, it shows
correctly x11
loginctl show-session 1 --p Type --value
x11
The problem is, anydesk and other applications only works in Xorg, and they check this type if is x11 to work, so I can only use these softwares using a display manager (xdm or sddm for example).
But I can't use these displayer manager, because I need autologin, and xdm doens't have it, and sddm has so many dependences to work on for my little server.
Has anyone came into this problem too? how startx xfce4 or other environment with the correctly loginctl session type?
Thanks all in advance.