태그 보관물: gnome-session

gnome-session

gnome-fallback.desktop은 13.10에서 가속 그래픽이 필요합니까? 4.1.1 – built Jan 14 2013 22:28:40 Copyright

gnome-fallback.desktopVncServer 에서 실행하려고합니다 .

13.10으로 업그레이드 한 후 VNC가 더 이상 작동하지 않습니다. 세션이없는 빈 터미널 창이 표시됩니다.

다음은 내가 설치 한 세션입니다.

$ ls /usr/share/xsessions/
gnome.desktop                  gnome-fallback.desktop  xfce.desktop
gnome-fallback-compiz.desktop  ubuntu.desktop

그리고 이것은 내 ~/.vnc/xstartup파일 의 내용이며 , gnome-fallback.desktop내가 알 수있는 한 가리키고 있습니다.

#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
# exec /etc/X11/xinit/xinitrc
gnome-session --session=gnome-fallback.desktop &
#gnome-session --session=gdm-session &

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &

이것은 다음의 로그 파일 출력입니다 ~/.vnc/.

Xvnc Free Edition 4.1.1 - built Jan 14 2013 22:28:40
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Underlying X server release 40300000, The XFree86 Project, Inc


Sat Oct 19 17:37:51 2013
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on port 5901
 vncext:      created VNC server for screen 0
error opening security policy file /etc/X11/xserver/SecurityPolicy
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/misc/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/75dpi/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/, removing from list!
Could not init font path element /usr/share/fonts/X11/75dpi/, removing from list!
Could not init font path element /usr/share/fonts/X11/100dpi/, removing from list!
Option "--login" is no longer supported in this version of gnome-terminal; you might want to create a profile with the desired setting, and use the new '--profile' option
gnome-session-is-accelerated: No composite extension.
gnome-session-check-accelerated: Helper exited with code 256
Window manager warning: Log level 32: could not find XKB extension.
gnome-session-is-accelerated: No composite extension.
gnome-session-check-accelerated: Helper exited with code 256

** (process:1602): WARNING **: software acceleration check failed: Child process exited with code 1

** (gnome-session:1602): CRITICAL **: We failed, but the fail whale is dead. Sorry....

gnome-fallback.desktop이제 가속 그래픽이 필요한 것 같 습니까? 이 올바른지?



답변

gnome-session이 시작하는 데 수동으로 시작하면 작동합니다. 글꼴이 설정되지 않은 것 같습니다.

~ / .vnc / xstartup

#!/bin/sh

export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS

gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
gnome-terminal &

답변

업그레이드 후 똑같은 문제가 발생하여 가능한 해결책을 찾으려고했지만 소프트웨어 가속 문제와 관련된 것을 찾을 수 없었습니다.

결국 나는 더 이상 주위를 파고들 수 없었습니다. 그래서 나는 xfce4와 함께 갔고 이제는 완벽하게 다시 작동합니다.

내 Xstartup은 다음과 같습니다.

#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
startxfce4 &

내 생각에 gnome-fallback이 깨질 수 있으며 기본적으로 gnome3으로 설정되며 실제로 작동하려면 가속이 필요합니다.

이것이 도움이되기를 바랍니다.


답변

이것은 (매우 실망스러운) 그놈 문제입니다. 문제는 1 년이 지났으며 여전히 14.04 LTS에 있습니다.

이 스레드에서 –disable-acceleration-check를 사용하는 솔루션이 효과가 없었습니다.

https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1251281

그러나 해결 방법으로 xfce4 또는 fluxbox (runfluxbox 실행)가 작동합니다.


답변