huangxz的笔记 https://bbs.21ic.com/?73035 [收藏] [复制] [RSS]

日志

my notes -- will edit every time

已有 336 次阅读2020-9-30 09:08 |系统分类:兴趣爱好

how to force lxde for xrdp connections on 18.04

https://askubuntu.com/questions/1160604/how-to-force-lxde-for-xrdp-connections-on-18-04

        
        
   
   

Well, nevermind. After hours of no results I now randomly stumbled upon the solution.



update-alternatives --config x-session-manager


and then select the LXDE option...



2

#1.cmake version
  2 cmake_minimum_required(VERSION 3.2)
  3
  4 #2.project name
  5 PROJECT(talk_ref)
  6
  7 #3.head file path
  8 INCLUDE_DIRECTORIES(
  9     include
 10     )
 11
 12 #4.source directory
 13 AUX_SOURCE_DIRECTORY(. DIR_SRCS)
 14
 15 #5.set enviroment varible
 16 SET(CMAKE_C_COMPILER g++)
 17 SET( TEST_MATH ${DIR_SRCS})
 18 SET(CMAKE_BUILD_TYPE "Debug")
 19 SET(CMAKE_CXX_FLAGS_DEBUG "$ENV{CXXFLAGS} -O0 -Wall -g2 -ggdb")
 20 SET(CMAKE_CXX_FLAGS_RELEASE "$ENV{CXXFLAGS} -O3 -Wall")
 21 add_compile_options(-std=c++11)
 22
 23 #6.add excuteable
 24 ADD_EXECUTABLE(${PROJECT_NAME} ${TEST_MATH})
 25
 26 #7.add link library
 27 TARGET_LINK_LIBRARIES(${PROJECT_NAME} m pthread)


   

路过

鸡蛋

鲜花

握手

雷人

评论 (0 个评论)