当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 2 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : Ubuntu 12.04用户自动登陆桌面出错,急!急!急!求大神指导!!
帖子发表于 : 2015-11-05 17:12 

注册: 2015-11-05 16:45
帖子: 1
系统: Ubuntu
送出感谢: 0 次
接收感谢: 0 次
Ubuntu 12.04用户自动登陆桌面出错,

我在/etc/lightdm/lightdm.config 修改的内容如下:
代码:
[SeatDefaults]
greeter-session=unity-greeter
user-session=Gilbarco
autologin-user=cj
autologin-user-timeout=delay
greeter-show-manual-login=true

cj是自动登陆用户名,session为Gilbarco

在/usr/shared/xsessions/Gilbarco.desktop的内容如下:
代码:
[Desktop Entry]
Name=Gilbarco
Comment=This session logs you into Gilbarco HMI
Exec=gnome-session --session=ubuntu-2d
TryExec=unity-2d-panel
Icon=
Type=Application
X-Ubuntu-Gettext-Domain=gnome-session-3.0


重启后,没有进入unity的桌面,而是进入的GNome-Classic的桌面
~/.dmrc中的内容如下:
代码:
[Desktop]
Session=gnome-classic


~/.xsession-errors的内容如下
代码:
gnome-session-is-accelerated: No hardware 3D support.
gnome-session-check-accelerated: Helper exited with code 256
gnome-session[1358]: WARNING: Session 'gnome-classic' runnable check failed: 以代码 1 退出
Home directory /home/cj not ours.

** (gnome-settings-daemon:1484): WARNING **: Failed to connect context: 确定
Home directory /home/cj not ours.

(gnome-settings-daemon:1484): GLib-CRITICAL **: g_variant_new_string: assertion `string != NULL' failed

(gnome-settings-daemon:1484): GLib-GIO-CRITICAL **: g_settings_schema_key_type_check: assertion `value != NULL' failed

(gnome-settings-daemon:1484): GLib-CRITICAL **: g_variant_get_type_string: assertion `value != NULL' failed

(gnome-settings-daemon:1484): GLib-GIO-CRITICAL **: g_settings_set_value: key 'picture-uri' in 'org.gnome.desktop.background' expects type 's', but a GVariant of type '(null)' was given
gnome-session[1358]: WARNING: Application 'gnome-panel.desktop' killed by signal
** Message: applet now removed from the notification area
** Message: using fallback from indicator to GtkStatusIcon

(nautilus:1692): IBUS-WARNING **: The owner of /home/cj/.config/ibus/bus is not cj!
** Message: moving back from GtkStatusIcon to indicator
gnome-session[1358]: WARNING: App 'gnome-panel.desktop' respawning too quickly
gnome-session[1358]: CRITICAL: We failed, but the fail whale is dead. Sorry....
gnome-session[1358]: WARNING: Application 'gnome-panel.desktop' killed by signal

(HMIStartup:1809): IBUS-WARNING **: The owner of /home/cj/.config/ibus/bus is not cj!
** Message: using fallback from indicator to GtkStatusIcon

(HMIDisplay:1817): IBUS-WARNING **: The owner of /home/cj/.config/ibus/bus is not cj!
mplayer: could not connect to socket
mplayer: No such file or directory
窗口管理器警告: Treating resize request of legacy application 0x1200010 (9001) as a fullscreen request
Please run ibus-daemon with login user! Do not run ibus-daemon with sudo or su.
窗口管理器警告: Treating resize request of legacy application 0x1200025 (9001) as a fullscreen request
Home directory /home/cj not ours.
连接失败:拒绝连接
pa_context_connect() 失败:拒绝连接

(gnome-settings-daemon:1484): color-plugin-WARNING **: failed to get edid: unable to get EDID for output

(gnome-settings-daemon:1484): color-plugin-WARNING **: unable to get EDID for xrandr-LVDS-0: unable to get EDID for output

(gnome-terminal:1855): IBUS-WARNING **: The owner of /home/cj/.config/ibus/bus is not cj!
Home directory /home/cj not ours.
Home directory /home/cj not ours.
Home directory /home/cj not ours.
Home directory /home/cj not ours.
窗口管理器警告: Treating resize request of legacy application 0x120002c (9001) as a fullscreen request
Home directory /home/cj not ours.
Home directory /home/cj not ours.
Home directory /home/cj not ours.

** (update-notifier:2008): WARNING **: not starting for system user

窗口管理器警告: Treating resize request of legacy application 0x1200033 (9001) as a fullscreen request
窗口管理器警告: Treating resize request of legacy application 0x120003a (9001) as a fullscreen request
窗口管理器警告: Treating resize request of legacy application 0x1200041 (9001) as a fullscreen request
窗口管理器警告: Treating resize request of legacy application 0x1200048 (9001) as a fullscreen request
Home directory /home/cj not ours.
窗口管理器警告: Treating resize request of legacy application 0x120004f (9001) as a fullscreen request
Home directory /home/cj not ours.
Home directory /home/cj not ours.
Home directory /home/cj not ours.
Home directory /home/cj not ours.
Home directory /home/cj not ours.
Home directory /home/cj not ours.
窗口管理器警告: Treating resize request of legacy application 0x1200056 (9001) as a fullscreen request
Home directory /home/cj not ours.



求大神教教我怎么做,如何才能默认登陆到untiy桌面上!!!


页首
 用户资料  
 
2 楼 
 文章标题 : Re: Ubuntu 12.04用户自动登陆桌面出错,急!急!急!求大神指导!!
帖子发表于 : 2015-11-05 18:57 

注册: 2009-08-04 16:33
帖子: 17141
送出感谢: 21
接收感谢: 1855
http://askubuntu.com/questions/62833/ho ... uto-logins
How do I change the default session for when using auto-logins?

http://www.liberiangeek.net/2012/03/aut ... -pangolin/
Automatically Login to Ubuntu 12.04

http://askubuntu.com/questions/145359/h ... t-start-up
How can I make Unity 2D the default session at start-up?


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 2 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译