portable ubunutu(colinux)에서 Xwin만 실행이 가능하도록 하려고
추려내는데 디렉토리 구조의 문제인지 어떤 이유인진 모르겠지만 실패다 -_-


아무튼, 실행에 필요한 최소한의 파일은 아래와 같다.
(9.8MB 정도 크기 임, Xming이나 차이 별로 없음)

cygbz2-1.dll
cygcrypto-0.9.8.dll
cygfontenc-1.dll
cygfreetype-6.dll
cyggcc_s-1.dll
cygGL-1.dll
cygpixman-1-0.dll
cygwin1.dll
cygX11-6.dll
cygXau-6.dll
cygxcb-1.dll
cygXdmcp-6.dll
cygXext-6.dll
cygz.dll
XWin.exe

----
/var/log 만들어서 에러로그 출력 해보니
/tmp 가 없어서 실행불가

/tmp를 만드니
2011-09-10 09:59:03 (WW) Failed to open protocol names file /usr/lib/X11/protocol.txt
2011-09-10 09:59:03 (EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/base 
파일 못 연다고 배쨈 

하위 폴더 복사
/usr/share/X11/xkb
/lib/dir
/lib/X11



결론 : 그냥 대충 추려내자 -_- 안해안해 -_-

'프로그램 사용 > cygwin & Xming' 카테고리의 다른 글

Xwin DISPLAY 고찰(?)  (0) 2015.08.13
Xming vs cygwin/x  (0) 2012.01.25
Xming 신버전은 유료?  (0) 2011.09.09
xming + opengl + ssh  (0) 2011.09.08
X 윈도우 없이 Xming으로 X 프로그램 구동하기  (0) 2010.08.23
Posted by 구차니

현재 sourceforge 상의 최신버전은 6.9.0.31 버전이고
font server 쪽으로는 신버전이 올라오고 있으며


2011년 8월 6일 릴리즈로는 7.5.0.39가 최신버전이다.
아무튼 신버전들은 donate 이후 id를 받아서 다운로드 받아야 한다 ㅠ.ㅠ

[링크 : http://www.straightrunning.com/XmingNotes/]

[링크 : http://www.straightrunning.com/XmingNotes/release2.php]


몇 버전부터 지원하는건진 모르겠지만 7.5.0.8 버전에서는 -wgl 옵션을 지원한다.
6.9.0.31 버전에서 -wgl을 넣으니 없는 옵션이라고 배쨈 ㅠ.ㅠ
If Xming's native Windows WGL interface for accelerated OpenGL (-wgl option from 7.5.0.8) doesn't work with a program then you can switch on various diagnostic output. Start Xming with special environment variables set 

[링크 : http://www.straightrunning.com/XmingNotes/trouble.php#head-19]  

아래 블로 링크에서 예제 파일을 받아 해보니 음.. 에러 숫자가 달라졌지만 아무튼
블로그에서 처럼 뜨질 않는데 무슨 차이일려나...
Expose event
X Error of failed request:  BadRequest (invalid request code or no such operation)
  Major opcode of failed request:  143 (GLX)
  Minor opcode of failed request:  182 ()
  Serial number of failed request:  33
  Current serial number in output stream:  41

[링크 : http://cloudlucifer.tistory.com/tag/xming
Posted by 구차니
colinux 에서 잘되던 녀석이
Xming을 통해 X11 터널링으로 하면 아래와 같은 에러가 발생한다 -_-

freeglut (./a.out):  ERROR:  Internal error <FBConfig with necessary capabilities not found> in function fgOpenWindow
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  4 (X_DestroyWindow)
  Resource id in failed request:  0x0
  Serial number of failed request:  18
  Current serial number in output stream:  21 

현재까지 발견한 미봉책은 colinux를 실행하고
X11 터널링을 localhost:0.0 으로 설정하여 쓰는 것뿐.. 
colinux에서는 Xming이 아닌 Xwin으로 설정을 하는데 

 XWin.exe :0 -ac -notrayicon -multiwindow -dpi 100 

아마도 Xming 과 Cygwin/X11과의 차이점으로 안되는것으로 추측된다.

---
2011.09.14 추가

openGL tutorial의 gears 예제 파일인데

 
로컬 네트워크에서 테스트를 해보니 생각보다 많은 대역폭을 잡아먹는다.
기가비트인데 저 정도면, 100M 이더넷으로는 거의 30% 이상을 잡아 먹고,
네트워크가 느린 원격지 서버에서는 애니메이션이 버벅댈수 밖에 없을듯 하다.

 
Posted by 구차니
예전 링크는 사라졌고 -_-
아무튼, sourceforge는 아직 건재함!

2010-03-31 에 마지막으로 올라온것 봐서는
이 프로젝트도 고사직전인듯

[링크 : http://sourceforge.net/projects/portableubuntu/files/portableubuntu/TRES/]
Posted by 구차니
친구가 찾아본 희한한 플러그인 -ㅁ-
써봐야지 +_+!


기본 원리는 카메라 2개의 시차를 조절해서
입체이미지를 렌더링 해주는 자동화 플러그인

[링크 : http://www.noeol.de/s3d/] << 플러그인 다운로드
[링크 : http://www.youtube.com/watch?v=HFhKxocDqnA] << 사용방법 

'프로그램 사용 > Blender' 카테고리의 다른 글

blender 2.78 network render  (0) 2016.11.16
Blender stereoscopic Add-on 설치  (2) 2011.09.19
Blender 2.5x 계열 UI 정리  (0) 2011.09.06
blender - armature  (0) 2011.05.02
blender 에서 수치로 개체 조작하기  (0) 2011.04.30
Posted by 구차니
UI가 바뀌어서 헤매다가 어제 다시 만져보고 이제야 감 잡았으~

기존의 버전에서 하단에 있던 메뉴들은 좌측으로 옮겨졌고
"Edit Mode" 에서는 Subdivide 등이 왼쪽에 존재한다 -_-


환경설정(페이지 구성)은 "Save User Settings"로 바뀌었고


렌더링 결과가 기존에는 새로운 창에 떳었는데 이제는 Editor Type에 "UV/Image Editor"로 추가되었다.

 

'프로그램 사용 > Blender' 카테고리의 다른 글

Blender stereoscopic Add-on 설치  (2) 2011.09.19
blender 2.5용 Stereoscopic plugin  (0) 2011.09.07
blender - armature  (0) 2011.05.02
blender 에서 수치로 개체 조작하기  (0) 2011.04.30
Blender 2.57 released!  (2) 2011.04.20
Posted by 구차니
139, 445번만 포워딩 하면 되는거 같은데 흐음.. 맞나?

/etc/services에 보면
아래와 같이 137~139번 까이 netbios 관련이고 139는 세션이니까 필요할 것 같긴한데...

netbios-ns      137/tcp                         # NETBIOS Name Service
netbios-ns      137/udp
netbios-dgm     138/tcp                         # NETBIOS Datagram Service
netbios-dgm     138/udp
netbios-ssn     139/tcp                         # NETBIOS session service
netbios-ssn     139/udp
microsoft-ds    445/tcp                         # Microsoft Naked CIFS
microsoft-ds    445/udp 

[링크 : http://www.blisstonia.com/eolson/notes/smboverssh.php]

'프로그램 사용 > SMB(Samba)' 카테고리의 다른 글

삼바 - nfs - 삼바 공유하기  (0) 2012.12.07
samba에 갑작스러운 "엑세스 거부"  (0) 2011.11.23
삼바 프린터 드라이버 경로 설정하기  (0) 2011.05.06
samba on Ubuntu 10.04 LTS  (0) 2010.11.11
cifsd  (0) 2010.03.18
Posted by 구차니
SVN repository를 GIT에 담아가서 svn에 여러번 commit후
나중에 통합을 한다는 이야기를 들었는데
[링크 : http://allofsoftware.net/entry/왜-하나만-써야-하는가]

stackoverlfow에는 이렇게 하면 된다는데 흐음.. 조금더 조사를 해봐야할듯.
git svn clone -rN svn://some/repo 

[링크 : http://stackoverflow.com/.../how-to-git-svn-clone-the-last-n-revisions-from-a-subversion-repository

[링크 : http://www.kernel.org/pub/software/scm/git/docs/git-svn.html

'프로그램 사용 > Version Control' 카테고리의 다른 글

svn 명령어  (0) 2011.10.16
rabbitVCS - 리눅스용 svn client  (0) 2011.10.15
TortoiseSVN doc 비교  (0) 2011.07.29
svn pam  (0) 2011.06.24
혼자서도 잘쓰는 tortoiseSVN  (0) 2011.06.20
Posted by 구차니
프로그램 사용/nfs2011. 8. 4. 17:58
---
삼바 공유된 경로를
nfs통해서 원격으로 끌어온 뒤
다시 samba로 공유하려고 할 경우 엄청난 딜레이 후에 실패하는 문제가 발생한다.

원인은 파일 공유 lock 때문인데
samba 설정보다는 nfs 쪽 lock 관련 문제이기 때문에
nfs mount시에 설정해야 해결이 된다.

2012/12/11 - [프로그램 사용/nfs] - nfs mount 시 옵션들
---


[링크 : http://book.opensourceproject.org.cn/sysadmin/samba/definitive/opensource/8885final/lib0074.html]
[링크 : http://utcc.utoronto.ca/~cks/space/blog/linux/NFSSambaLockingII]
[링크 : http://oreilly.com/catalog/samba/chapter/book/ch05_05.html

'프로그램 사용 > nfs' 카테고리의 다른 글

showmount  (0) 2012.06.08
ubuntu nfs 지원  (4) 2012.06.06
cp: `./filename'의 소유자 검출 실패: Operation not permitted  (0) 2011.08.03
NFS를 외부에서 접속하기 (공유기를 거쳐)  (0) 2011.07.29
nfs 보안  (2) 2011.06.24
Posted by 구차니
프로그램 사용/nfs2011. 8. 3. 14:50
NFS로 마운트 하고 나서 보기에는 문제가 없어 보이지만
실제로 파일을 복사해 넣으려고 하면 위와 같은 에러가 발생한다.

sudo cp 를 해도 여전히 문제가 해결되지 않는데 이는 NFS의 권한 문제 때문이다. 

cat /etc/exports
/home (rw)
 

라고만 nfs를 공유할 경우,
기본값으로 root_squash  옵션이 들어가며, 이런 이유로 rw가 들어가더라도 권한이 맞지 않아 파일을 생성할 수 없게 된다. 
(anonymous 권한으로 설정이 되는데, 이러한 이유로 nobody:nogroup 권한으로 파일이 생성되며, other 권한이 rw- 일 경우 제한적으로 파일이 생성되기도 한다. 물론 디렉토리 권한한 기본 퍼미션 마스크를 따르기 때문에 하위 디렉토리 부터는 안될수도 있다)

User ID Mapping

nfsd bases its access control to files on the server machine on the uid and gid provided in each NFS RPC request. The normal behavior a user would expect is that she can access her files on the server just as she would on a normal file system. This requires that the same uids and gids are used on the client and the server machine. This is not always true, nor is it always desirable.
Very often, it is not desirable that the root user on a client machine is also treated as root when accessing files on the NFS server. To this end, uid 0 is normally mapped to a different id: the so-called anonymous or nobody uid. This mode of operation (called 'root squashing') is the default, and can be turned off with no_root_squash.

By default, exportfs chooses a uid and gid of 65534 for squashed access. These values can also be overridden by the anonuid and anongid options. Finally, you can map all user requests to the anonymous uid by specifying the all_squash option.

Here's the complete list of mapping options:

root_squash
Map requests from uid/gid 0 to the anonymous uid/gid. Note that this does not apply to any other uids that might be equally sensitive, such as user bin.
no_root_squash
Turn off root squashing. This option is mainly useful for diskless clients.
all_squash
Map all uids and gids to the anonymous user. Useful for NFS-exported public FTP directories, news spool directories, etc. The opposite option is no_all_squash, which is the default setting.
anonuid and anongid
These options explicitly set the uid and gid of the anonymous account. This option is primarily useful for PC/NFS clients, where you might want all requests appear to be from one user. As an example, consider the export entry for /home/joe in the example section below, which maps all requests to uid 150 (which is supposedly that of user joe). 

[링크 : http://linux.die.net/man/5/exports 

'프로그램 사용 > nfs' 카테고리의 다른 글

ubuntu nfs 지원  (4) 2012.06.06
conflict of nfs file lock and samba  (0) 2011.08.04
NFS를 외부에서 접속하기 (공유기를 거쳐)  (0) 2011.07.29
nfs 보안  (2) 2011.06.24
NFS 왜 안될까?  (0) 2010.02.17
Posted by 구차니