Windows10でUbubtuのデスクトップ環境が出来なくなった
systemdで起動させているからこれが原因かと思ったが
エラーログ見たら
(xfce4-session:724): xfce4-session-WARNING **: 15:23:56.470: gpg-agent returned no PID in the variables

(xfce4-session:724): xfce4-session-WARNING **: 15:23:56.475: xfsm_manager_load_session: Something wrong with /home/toshi/.cache/sessions/xfce4-session-wayland-0, Does it exist? Permissions issue?

(xfwm4:746): Gtk-WARNING **: 15:23:56.496: cannot open display: wayland-0

(xfce4-panel:764): libxfce4ui-WARNING **: 15:23:56.787: ICE I/O Error
xfce4-panel: Failed to connect to session manager: セッションマネージャーへの接続に失敗しました: IO error occured opening connection

(xfce4-panel:764): libxfce4ui-WARNING **: 15:23:56.789: Disconnected from session manager.

いつの間にかwaylandが導入されていた
で仕方がないので
.bashrcに記入したら出来た

export GDK_BACKEND="x11,wayland"
export WAYLAND_DISPLAY="wayland-0"
export DISPLAY="x11"