'Session'에 해당되는 글 2건

  1. 2010.05.14 시작 윈도우매니저 세션 변경하기 - 우분투
  2. 2009.04.12 Xwindow 시작 세션 변경하기 2
Linux/Ubuntu2010. 5. 14. 23:55
윈도우 매니저를 여러개 설치하면 생기는건진 모르겠지만,
로그인 화면 설정에서 아래와 같이 기본 세션을 선택할수 있다.



Ubuntu의 경우 기본적으로 Gnome 세션이고,
Vino server는 Gnome에 포함되어있으므로, 다른 세션으로 할 경우 vino를 통해서 VNC 접속이 불가능해진다. (확인필요)
그러므로 별도의 VNC를 설치해야 한다.

2010/02/04 - [Linux/Ubuntu] - 우분투 사용자 자동로그인

'Linux > Ubuntu' 카테고리의 다른 글

ubuntu 에서 X window 종료시키기  (0) 2010.08.23
우분투 기본 폰트 경로 - Default path of Ubuntu fonts  (0) 2010.05.30
Ubuntu 10.04 KDE  (2) 2010.05.11
Ubuntu 10.04 XFCE  (0) 2010.05.11
ubuntu 10.04 설치패키지 목록  (4) 2010.05.09
Posted by 구차니
Linux2009. 4. 12. 19:03

< startx and .xinitrc >

If you use the startx command for starting up the X Window System, you'll need to edit a file called .xinitrc that is located in your home directory. If the file already is there, just open it with your favorite text editor. If you don't have such a file in your home directory, create a new file with that name. Note the dot in the file name - it shows you that the file is a hidden file and doesn't show when you do a normal directory listing.

If you already have a .xinitrc file in your home directory, it may be a huge scary-looking text file with a lot of text that makes just as much sense as a file produced with a random number generator and encrypted after writing. If you want to make a backup of this file, rename it to something like .xinitrc.backup or whatever you wish:
mv .xinitrc .xinitrc.backup

Now you can use your text editor for creating a new, blank .xinitrc file. Although the file may be a complicated multi-line geeky script, it can be very simple, too. In its simplest it just contains a single line with the name of your new window manager. So, add a line like this to your file:
exec windowmanager
where windowmanager is the command that starts the window manager you want to be your default. For example, to make Window Maker your default window manager, you'd have a line like this:
exec wmaker

The commands for starting some popular window managers and desktop environments are:

  • KDE = startkde
  • Gnome = gnome-session
  • Blackbox = blackbox
  • FVWM = fvwm (or, for FVWM2 it's fvwm2, surprise)
  • Window Maker = wmaker
  • IceWM = icewm

After editing the .xinitrc file, save your changes. The next time you do a startx, the new window manager will be your default.


[출처 : http://www.tuxfiles.org/linuxhelp/changeman.html]


startx 라고 하면 리눅스에서 Xwindow가 구동이 되는데
어떠한 원리로 KDE나 Gnome 혹은 그 외의 윈도우 매니저가 선택이 되는지 궁금해서 찾아보게 되었지만
실제로 얻어낸 정보는 KDE 실행 파일이름(혹은 스크립트) Gnome 실행 파일이름 뿐이다..

]$ startx
xauth:  creating new authority file /home/morpheuz/.serverauth.3128

X.Org X Server 1.4.99.901 (1.5.0 RC 1)
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.18-53.1.14.el5xen i686
Current Operating System: Linux localhost.localdomain 2.6.25-14.fc9.i686 #1 SMP Thu May 1 06:28:41 EDT 2008 i686
Build Date: 06 May 2008  03:35:07PM
Build ID: xorg-x11-server 1.4.99.901-29.20080415.fc9
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Apr 13 00:10:44 2009
(==) Using config file: "/etc/X11/xorg.conf"

(EE) Failed to initialize GLX extension (NVIDIA X driver not found)
expected keysym, got XF86Info: line 914 of inet
expected keysym, got XF86Info: line 914 of inet
Started none
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/3316,unix/unix:/tmp/.ICE-unix/3316
** Message: another SSH agent is running at: /tmp/ssh-cwskYs3316/agent.3316
Window manager warning: Failed to read saved session file /home/morpheuz/.metacity/sessions/default1.ms: Failed to open file '/home/morpheuz/.metacity/sessions/default1.ms': No such file or directory
Failure: Module initalization failed

** (nm-applet:3382): WARNING **: <WARN>  applet_dbus_manager_start_service(): Could not acquire the NetworkManagerUserSettings service.
  Message: 'Connection ":1.102" is not allowed to own the service "org.freedesktop.NetworkManagerUserSettings" due to security policies in the configuration file'


(nm-applet:3382): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
system-config-printer-applet: failed to start NewPrinterNotification service

** (nautilus:3343): WARNING **: Unable to add monitor: Not supported


도대체.. 어떤 파일이나 어떠한 환경변수를 사용하여 그것을 설정하는지 알 수가 없다.
Posted by 구차니