我在/etc/lightdm/lightdm.config 修改的内容如下:
代码: 全选
[SeatDefaults]
greeter-session=unity-greeter
user-session=Gilbarco
autologin-user=cj
autologin-user-timeout=delay
greeter-show-manual-login=true
在/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
~/.dmrc中的内容如下:
代码: 全选
[Desktop]
Session=gnome-classic
代码: 全选
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.