You are not logged in.

#1 2020-09-08 21:36:45

pepemopap
Member
Registered: 2015-09-30
Posts: 49

Display manager vs tty start environment (anydesk issue)

Hi! I prefer to login in tty and use startx. Usually I have display manager disabled. Now im testing anydesk remote control tool, but when try to connect to my system have a error connection: Remote display server is not supported. Surprisingly if enable and login from lightdm I can remote connect to my system without any issues.

Something is doing lightdm that anydesk is checking, i dont know what. Maybe there is any variable, system config or environment that I can reproduce on tty login to do anykesk working when login from tty? 

I have check some XDG_* variables are initialized in lightdm (like XDG_SESSION_TYPE=x11), but i have created and exported it in tty mode without success.

If someone have any clue to search I will be grateful.
Thanks!

Offline

#2 2020-09-12 22:39:36

ohnonot
...again
Registered: 2015-09-29
Posts: 5,026
Website

Re: Display manager vs tty start environment (anydesk issue)

Do you parse any files when initialising X?
I have ~/.xinitrc (although this is different on Debian afaiu), and it has these lines:

if [ -d /etc/X11/xinit/xinitrc.d ]
then
  for f in /etc/X11/xinit/xinitrc.d/*
  do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

Search youtube without a brwoser: repo | thread
BL quote proposals to this thread please.
my repos / my repos

Offline

Board footer

Powered by FluxBB