Linux/Ubuntu2016. 2. 4. 16:00

일단 아카이빙...


[링크 : https://help.ubuntu.com/community/MultiseatX]

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

ubuntu selinux... disabled?!  (0) 2016.02.15
ubuntu 15.10 가벼워졌네?  (0) 2016.02.12
LXDE 에서는... XDMCP 미지원?  (0) 2016.02.04
xdrp  (0) 2016.02.02
wicd / network-manager ?  (0) 2016.01.04
Posted by 구차니
Linux/Ubuntu2016. 2. 4. 15:56

집에 있는 녀석은 Lubuntu이니 LXDE인데..

xming으로 XDMCP 연결하니 그냥 빈화면이 나와서 찾아 봤더니

미.지.원 -_-


XDMCP

LXDM does not support the XDMCP protocol. An alternative that does is LightDM.


[링크 : https://wiki.archlinux.org/index.php/LXDM]



그러고 보니 이걸 설정해줬던가..

다시 해봐야지 ㅠㅠ

To enable the XDMCP server in LightDM edit /etc/lightdm/lightdm.conf and add the following section:


[XDMCPServer]

enabled=true

[링크 : http://askubuntu.com/questions/66431/how-do-i-configure-lightdm-to-work-with-xdmcp] 


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

ubuntu 15.10 가벼워졌네?  (0) 2016.02.12
우분투 multiseat 설정  (0) 2016.02.04
xdrp  (0) 2016.02.02
wicd / network-manager ?  (0) 2016.01.04
리눅스 콘솔 한글 출력?  (0) 2016.01.04
Posted by 구차니

먼가 자꾸 끊어지는데..

아무튼 로그인에서 Advanced를 누른다.

저장된 경우에는 Edit을 누르면 아래와 같이 활성화 되니 수정후 Save!




AES(기본값) 음.. 14MB 정도일려나?


ARCFOUR 한.. 22MB/s 메가?

[링크 : https://winscp.net/eng/docs/ui_login_ssh]



5.7.1에서 5.7.6으로 바꾸고 나서 하니

AES

15MB/s -> 21MB/s

arcfour

24MB/s -> 50MB/s

Posted by 구차니



$ sudo apt-get install xnest

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following NEW packages will be installed:

  xnest

0 upgraded, 1 newly installed, 0 to remove and 147 not upgraded.

Need to get 785 kB of archives.

After this operation, 1,930 kB of additional disk space will be used.

Get:1 http://archive.ubuntu.com/ubuntu/ precise-updates/main xnest amd64 2:1.11.4-0ubuntu10.17 [785 kB]

Fetched 785 kB in 2s (356 kB/s)

Selecting previously unselected package xnest.

(Reading database ... 215036 files and directories currently installed.)

Unpacking xnest (from .../xnest_2%3a1.11.4-0ubuntu10.17_amd64.deb) ...

Processing triggers for man-db ...

Setting up xnest (2:1.11.4-0ubuntu10.17) ...


$ ssh -Y remote_hostname_or_ip_address Xnest :1 -query localhost

[링크 : http://x.cygwin.com/docs/ug/using-remote-session.html] 


암호화 지원하지 않아 안전하지 않다라...


XDMCP is inherently insecure as it does not encrypt your traffic. XDMCP is analogous to telnet, and therefore they share the same security issues. 

[링크 : https://wiki.ubuntu.com/xdmcp]


netsarang의 Xmanager는 XDMCP를 자체 지원하는데..

2단계 거쳐서 하라는거 보면 putty의 X11 포워딩 삘이..

[링크 : https://www.netsarang.com/tutorial/xmanager/3270/title]




아무튼 실험해보니..

putty + Xming으로

arcfour 설정해주니 썩 나쁘지 않은 속도로 반응



+

스트림 사이퍼.. 블록이 아니라 더 빠르게 응답하는 걸려나?

[링크 : https://en.wikipedia.org/wiki/RC4]


Update: Ben Harris has written an Internet-Draft (draft-harris-ssh-arcfour-fixes, now RFC 4345) describing a way of using Arcfour reasonably securely with SSH-2, and PuTTY now implements this. Note that this document defines the "arcfour256" and "arcfour128" ciphers; PuTTY still does not support the less secure "arcfour" cipher, and we have no plans to make it do so.


(Support was first added in 2005-04-22, but uonly under private names defined in an earlier draft: "arcfour256-draft-00@putty.projects.tartarus.org" and so on. Only from 2005-09-04 do we support the IETF names, which also appear in OpenSSH from 4.2.)

[링크 : http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/arcfour.html]



+

엥 다시 실행해보니..

XDMCP 보다 오히려 arcfour가 빠른 느낌이다 ㄷㄷ




+

[링크 : http://linux.die.net/man/1/xnest]

[링크 : http://www.x.org/archive/X11R7.5/doc/man/man1/Xnest.1.html]

[링크 : https://en.wikipedia.org/wiki/Xnest]




+

xnest의 사용법의 예제...?

일종의 vm 처럼 보이는 기분 ㅋㅋㅋ


$ Xnest :1 -query localhost -geometry 1024x768 


[링크 : http://www.idevelopment.info/data/Unix/Linux/LINUX_ConfiguringXDMCPRedHatLinux.shtml]

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

VcXsrv - Xming 대체 프로그램  (0) 2017.10.07
cygwin/X XDMCP  (0) 2016.02.12
xming / xdmcp 성공  (0) 2016.02.02
cygwin bash 쉘 시작 위치 지정하기  (0) 2015.12.02
Xwin DISPLAY 고찰(?)  (0) 2015.08.13
Posted by 구차니
프로그램 사용/Putty2016. 2. 3. 09:36

속도까지 잰건 아니지만

아무튼.. putty - X11 forwarding - Xming

을 통해서 


Xnest :1 -query localhost

명령 수행시 화면 로딩 속도를 보면


DES, ARCFOUR > AES > 3DES > blowfish

정도의 느낌?


putty에서는 AES가 기본이긴 한데

보안을 희생하고 속도를 올리려면..

ARCFOUR 정도가 무난할지도?



일단 벤치상으로는 arcfour가 가장 빠르고 blowfish가 그걸 뒤따르는데

체감이랑은 좀 많이 다른 듯..



[링크 : http://xmodulo.com/how-to-speed-up-x11-forwarding-in-ssh.html]

2015/09/24 - [프로그램 사용/ssh / scp / sftp] - ssh X11 forwarding 속도 향상


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

putty - CR+LF 전송하기 불가?  (0) 2015.07.14
putty chrome socks5 / dns remote  (0) 2014.12.18
putty로 proxy 설정하기 (socks5 + firefox)  (0) 2014.12.17
linux용 putty  (2) 2011.09.21
putty를 이용한 vnc 터널링  (1) 2011.06.21
Posted by 구차니

올ㅋ




'게임 > 오리진&스팀&유플레이' 카테고리의 다른 글

오리진의 선물!  (0) 2016.03.26
오리진의 낚시  (0) 2016.03.18
스팀 195개.. 오리진 45개?  (0) 2016.01.12
인디갈라 획득 실패 ㅠㅠ  (0) 2015.12.18
indiegala giveaday  (0) 2015.12.13
Posted by 구차니
Programming/openGL2016. 2. 2. 19:24


8.010 How does the camera work in OpenGL?


As far as OpenGL is concerned, there is no camera. More specifically, the camera is always located at the eye space coordinate (0., 0., 0.). To give the appearance of moving the camera, your OpenGL application must move the scene with the inverse of the camera transformation.


8.020 How can I move my eye, or camera, in my scene?


OpenGL doesn't provide an interface to do this using a camera model. However, the GLU library provides the gluLookAt() function, which takes an eye position, a position to look at, and an up vector, all in object space coordinates. This function computes the inverse camera transform according to its parameters and multiplies it onto the current matrix stack.


[링크 : https://www.opengl.org/archives/resources/faq/technical/viewing.htm]

    [링크 : http://gamedev.stackexchange.com/.../why-do-we-move-the-world-instead-of-the-camera] 


[링크 : http://blog.secmem.org/132]

[링크 : http://darkpgmr.tistory.com/84]

[링크 : http://gcland.tistory.com/189]


[링크 : https://www.opengl.org/archives/resources/code/samples/redbook/]

'Programming > openGL' 카테고리의 다른 글

glxgears 소스  (0) 2016.09.07
opencv opengl  (0) 2016.02.26
myAHRS cube 예제  (0) 2016.02.02
openCV <-> openGL  (0) 2015.09.24
openGL triangle winding  (0) 2015.07.22
Posted by 구차니

이번에 이걸 몰라서 헤맸...

연말정산간소화 - 자료제공동의/취소신청



제공동의시 공인인증서가 필요하고

미성년의 경우 공인인증서 없이 가능(애가 어려서 그런가..)


'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

MFI - Made For iP....  (0) 2016.02.17
사진 인화 준비..  (0) 2016.02.11
롯데마트 할인 신용카드 흐음...  (0) 2016.01.07
2015년 끝  (0) 2015.12.31
무료..  (0) 2015.12.26
Posted by 구차니

Ubuntu 12.04 LTS 서버측 설정

$ sudo vi /etc/lightdm/lightdm.conf

[SeatDefaults]

autologin-guest=false

autologin-user=cynix

autologin-user-timeout=0

autologin-session=lightdm-autologin

greeter-session=unity-greeter

user-session=ubuntu


[XDMCPServer]

enabled=true


$ sudo service lightdm restart

[링크 : https://wiki.ubuntu.com/xdmcp]


xming 클라이언트 설정(윈도우)







VNC보단 확실히 빠른느낌이다.


나중에 로컬이 아닌 외부에서 시도해봐야지..

XDMCP protocol on port 177/UDP. But the actual X11 protocol connections will be made to the local port 6000+n /TCP, where n is the display-number.

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


Open up TCP port 6000-6005 (plus X-Win32’s base display number) in both directions

Open up UDP port 177 to accept incomming connections from any port.

[링크 : https://www.starnet.com/xwin32kb/what-ports-need-to-be-opened-for-xdmcp/]


2009/04/10 - [프로그램 사용/cygwin / Xming] - Xming XDMCP 관련 도움말

2009/05/19 - [프로그램 사용/cygwin / Xming] - Xming --help


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

cygwin/X XDMCP  (0) 2016.02.12
XDMCP over SSH ? / xnest  (0) 2016.02.03
cygwin bash 쉘 시작 위치 지정하기  (0) 2015.12.02
Xwin DISPLAY 고찰(?)  (0) 2015.08.13
Xming vs cygwin/x  (0) 2012.01.25
Posted by 구차니
파일방2016. 2. 2. 16:03

리눅스에서 실행하는 윈도우용 프로그램 런쳐?


[링크 : https://www.playonlinux.com/en/]

'파일방' 카테고리의 다른 글

Avidemux & Free Video Editor  (0) 2016.03.04
스크롤 캡쳐  (0) 2016.02.15
hfs - HTTP file server  (0) 2015.11.23
바탕화면 달력  (0) 2015.10.14
라즈베리 파이 오디오 스트리밍 관련 문서  (0) 2015.09.18
Posted by 구차니