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 구차니
XDMCP uses TCP, UDP port 177 and TCP port 6000 to 6005

Setup X. Do not setup with a resolution higher than what the remote users are able to use for their display. The newer version is now capable of probing the video chipset and determine that for you. Some older (X) version may not! Test the X Server by typing either startx or telinit 5. Make sure X is running properly.

[출처 : http://tldp.org/HOWTO/XDMCP-HOWTO/procedure.html]


일단은 방화벽 부터 처치하고, 한번 다시 시도해 봐야겠다.
그나저나.. 이미 실행되어 있는 Xwindow를 끌어 올 방법은 없나..
Posted by 구차니
이전 문서에 쓰자니..날짜가 넘어갔다 ㅋㅋ
아무튼 Xming을 설치하면 Localhost:0.0에 XServer를 구동한다.


그리고 Putty에서는 아래와 같이 설정한다.

그 다음에 Putty를 통해 접속 한뒤, 프로그램을 실행한다.

주의 : 외부의 것을 끌어 오는 것이므로, 보이는 것은 윈도우지만 실제 편집된 파일은 서버에 저장됨.
Posted by 구차니