lubuntu如何选择sessions

各种窗口管理器和美化相关
回复
头像
tor
帖子: 301
注册时间: 2009-01-18 23:26

lubuntu如何选择sessions

#1

帖子 tor » 2016-03-01 21:37

装了gnome后,登陆选择不是lubuntu了,是gnome了
sudo vim /usr/share/lightdm/lightdm.conf.d/
40-kde-plasma.conf 50-xserver-command.conf
40-lightdm-kde-greeter.conf 60-gnome.conf
50-greeter-wrapper.conf 60-lightdm-gtk-greeter.conf
50-guest-wrapper.conf
我应该编辑哪个,我没装unity,

sudo vim /usr/share/doc/lightdm/lightdm.conf.gz
sudo vim /etc/lightdm/lightdm.conf.d/20-lubuntu.conf

没有了 /etc/lightdm/lightdm.conf 这个文件,只能自己新建
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: lubuntu如何选择sessions

#2

帖子 vickycq » 2016-03-01 22:27

想默认登录哪个?
看可选择的 Session

代码: 全选

ls /usr/share/xsessions/
假设希望默认为 lxde.desktop
创建 /etc/lightdm/lightdm.conf.d/50-myconfig.conf 加入:

代码: 全选

[SeatDefaults]
user-session=lxde
注意 15.10 及以后的 lightdm 有改动,可能需要 把 [SeatDefaults] 改为 [Seat:0]
Later versions of lightdm (15.10 onwards) have replaced the obsolete [SeatDefaults] with [Seat:*]
参考 https://wiki.ubuntu.com/LightDM#Changin ... lt_Session
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
头像
tor
帖子: 301
注册时间: 2009-01-18 23:26

Re: lubuntu如何选择sessions

#3

帖子 tor » 2016-03-02 0:55

原来Lubuntu开启XDMCP服务,只要新建编辑/etc/lightdm/lightdm.conf
加上
[XDMCPServer]
enabled=true
就行了
千万别像/usr/share/doc/lightdm/lightdm.conf.gz 所说加:
port=177
listen-address=
key=

否则开机会显示The system is running in low graphics mode,因为在2D环境才能工作,也不用安装mate
也不用编辑/etc/lightdm/lightdm.conf.d/20-lubuntu.conf

然后用sudo netstat -anp |grep lightdm 查看端口,发现已开启
:em11
回复