'프로그램 사용'에 해당되는 글 2183건

  1. 2016.02.16 xrdp 구조?
  2. 2016.02.15 xrdp 3389 / lxde
  3. 2016.02.14 xrdp.. 사용가능한 세션 종류
  4. 2016.02.13 xrdp on ubuntu .... 실패
  5. 2016.02.12 cygwin/X XDMCP
  6. 2016.02.03 winscp 암호화 변경
  7. 2016.02.03 XDMCP over SSH ? / xnest
  8. 2016.02.03 ssh X11 forwarding 속도 향상.. 2?
  9. 2016.02.02 xming / xdmcp 성공
  10. 2015.12.18 make 의존성 파일?
프로그램 사용/xrdp2016. 2. 16. 09:43

찾다보니 별게 다 보이네...

아무튼 rdp는 vnc와 달리 윈도우 매니저와 연동되서

변화하는 내용에 좀더 스마트 하게전송하는 녀석이라..

windwow maanger + moudle manager를 통해 작동하지만..

저넘의 libvnc가 자꾸 눈에 걸리네...





[링크 : http://www.xrdp.org/index.php?option=...xrdp-architecure-overview...&Itemid=7]

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

xrdp의 장점 (vino/vnc 대비)  (0) 2016.02.23
xrdp.ini  (0) 2016.02.16
xrdp 3389 / lxde  (0) 2016.02.15
xrdp.. 사용가능한 세션 종류  (0) 2016.02.14
xrdp on ubuntu .... 실패  (0) 2016.02.13
Posted by 구차니
프로그램 사용/xrdp2016. 2. 15. 15:47

걍.. 속편하게(?) 포기하면 편해... ㅠㅠ


rdp는 3389 열어 주면 끝


/etc/xrdp$ cat startwm.sh

#!/bin/sh


if [ -r /etc/default/locale ]; then

  . /etc/default/locale

  export LANG LANGUAGE

fi


#. /etc/X11/Xsession

/usr/bin/lxsession 


vino로 연결하기..(실패)

# echo "

[xrdp8]

name=Vino-Session

lib=libvnc.so

username=ask

password=ask

ip=127.0.0.1

port=5900

" >> "/etc/xrdp/xrdp.ini"

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

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

xrdp의 장점 (vino/vnc 대비)  (0) 2016.02.23
xrdp.ini  (0) 2016.02.16
xrdp 구조?  (0) 2016.02.16
xrdp.. 사용가능한 세션 종류  (0) 2016.02.14
xrdp on ubuntu .... 실패  (0) 2016.02.13
Posted by 구차니
프로그램 사용/xrdp2016. 2. 14. 22:06

흐음.. 걍 맘편하게 포기하고 mate desktop 정도로 가야하나?

결론은.. 12.10 이후로는 안되는거 보면.. gnome3의 문제일지도 모르겠...네?


Question 3 – Which Alternate Desktop Environment can be used with XRDP solution ?


Answer : Since Ubuntu 12.10, you cannot use the Unity Desktop Environment.  Since Ubuntu 13.04, you cannot use the Gnome-Fallback Desktop Environment. 


You can use the following alternate desktops : 


XFCE

LXDE

LXQT

KDE

MATE*DESKTOP

We have not tested the Cinnamon interface yet but we think it would not work as it’s based on recent Gnome Desktop. 


[링크 : http://c-nergy.be/blog/?p=5984]

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

xrdp의 장점 (vino/vnc 대비)  (0) 2016.02.23
xrdp.ini  (0) 2016.02.16
xrdp 구조?  (0) 2016.02.16
xrdp 3389 / lxde  (0) 2016.02.15
xrdp on ubuntu .... 실패  (0) 2016.02.13
Posted by 구차니
프로그램 사용/xrdp2016. 2. 13. 22:53

흐음.. 일단은 실패 ㅠㅠ

xfce 쓰기 전에는 답이 없는건가..

ubuntu mate 통해서 하는건 보이긴 한데.. 흐음...


$ apt-cache search xrdp

xrdp - Remote Desktop Protocol (RDP) server


$ sudo apt-get install xrdp

패키지 목록을 읽는 중입니다... 완료

의존성 트리를 만드는 중입니다

상태 정보를 읽는 중입니다... 완료

다음 패키지를 더 설치할 것입니다:

  vnc4server xbase-clients

제안하는 패키지:

  vnc-java x11-xfs-utils

다음 새 패키지를 설치할 것입니다:

  vnc4server xbase-clients xrdp

0개 업그레이드, 3개 새로 설치, 0개 제거 및 7개 업그레이드 안 함.

1,840 k바이트 아카이브를 받아야 합니다.

이 작업 후 7,153 k바이트의 디스크 공간을 더 사용하게 됩니다.

계속 하시겠습니까? [Y/n]

받기:1 http://kr.archive.ubuntu.com/ubuntu/ wily/universe xbase-clients all 1:7.7+7ubuntu4 [2,838 B]

받기:2 http://kr.archive.ubuntu.com/ubuntu/ wily/universe vnc4server amd64 4.1.1+xorg4.3.0-37.3ubuntu2 [1,622 kB]

받기:3 http://kr.archive.ubuntu.com/ubuntu/ wily/universe xrdp amd64 0.6.1-2 [215 kB]

내려받기 1,840 k바이트, 소요시간 0초 (2,249 k바이트/초)

Selecting previously unselected package xbase-clients.

(데이터베이스 읽는중 ...현재 181179개의 파일과 디렉터리가 설치되어 있습니다.)

Preparing to unpack .../xbase-clients_1%3a7.7+7ubuntu4_all.deb ...

Unpacking xbase-clients (1:7.7+7ubuntu4) ...

Selecting previously unselected package vnc4server.

Preparing to unpack .../vnc4server_4.1.1+xorg4.3.0-37.3ubuntu2_amd64.deb ...

Unpacking vnc4server (4.1.1+xorg4.3.0-37.3ubuntu2) ...

Selecting previously unselected package xrdp.

Preparing to unpack .../xrdp_0.6.1-2_amd64.deb ...

Unpacking xrdp (0.6.1-2) ...

Processing triggers for man-db (2.7.4-1) ...

Processing triggers for ureadahead (0.100.0-19) ...

ureadahead will be reprofiled on next reboot

Processing triggers for systemd (225-1ubuntu9) ...

xbase-clients (1:7.7+7ubuntu4) 설정하는 중입니다 ...

vnc4server (4.1.1+xorg4.3.0-37.3ubuntu2) 설정하는 중입니다 ...

update-alternatives: using /usr/bin/vnc4server to provide /usr/bin/vncserver (vncserver) in auto mode

update-alternatives: using /usr/bin/Xvnc4 to provide /usr/bin/Xvnc (Xvnc) in auto mode

update-alternatives: using /usr/bin/x0vnc4server to provide /usr/bin/x0vncserver (x0vncserver) in auto mode

update-alternatives: using /usr/bin/vnc4passwd to provide /usr/bin/vncpasswd (vncpasswd) in auto mode

update-alternatives: using /usr/bin/vnc4config to provide /usr/bin/vncconfig (vncconfig) in auto mode

xrdp (0.6.1-2) 설정하는 중입니다 ...

Processing triggers for ureadahead (0.100.0-19) ...

Processing triggers for systemd (225-1ubuntu9) ... 


mstsc로 접속


여기서 접속하면 먼가 뜨다가 그냥 창이 닫힌다.. 머가 문제지..

xfce가 아니라 그런가?





+

/etc/xrdp$ ls -al

total 104

drwxr-xr-x   2 xrdp xrdp  4096  2월 13 22:48 .

drwxr-xr-x 133 root root 12288  2월 13 22:48 ..

-rw-r--r--   1 xrdp xrdp  8756 10월 26  2014 km-0407.ini

-rw-r--r--   1 xrdp xrdp  8655 10월 26  2014 km-0409.ini

-rw-r--r--   1 xrdp xrdp  8744 10월 26  2014 km-040c.ini

-rw-r--r--   1 xrdp xrdp  8732 10월 26  2014 km-0410.ini

-rw-r--r--   1 xrdp xrdp  9169 10월 26  2014 km-0419.ini

-rw-r--r--   1 xrdp xrdp  8760 10월 26  2014 km-041d.ini

-rw-------   1 xrdp xrdp  1019  2월 13 22:48 rsakeys.ini

-rw-r--r--   1 xrdp xrdp   596 10월 26  2014 sesman.ini

-rwxr-xr-x   1 xrdp xrdp   118 10월 26  2014 startwm.sh

-rw-r--r--   1 xrdp xrdp   824 10월 26  2014 xrdp.ini 


$ cat startwm.sh

#!/bin/sh


if [ -r /etc/default/locale ]; then

  . /etc/default/locale

  export LANG LANGUAGE

fi


. /etc/X11/Xsession 


[링크 : http://abydos.tistory.com/3]

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

xrdp의 장점 (vino/vnc 대비)  (0) 2016.02.23
xrdp.ini  (0) 2016.02.16
xrdp 구조?  (0) 2016.02.16
xrdp 3389 / lxde  (0) 2016.02.15
xrdp.. 사용가능한 세션 종류  (0) 2016.02.14
Posted by 구차니

cygwin에서

xorg-server 를 설치해야 X가 설치 되는데...

cygwin shell을 통해서


$ X -query ip

입력하면 되긴한데.. 이상하리 만치 무지 느리다.


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


다만.. ubuntu 15.10 + Xming on win10 은 오류가 나는데

Cygwin/X는 오류는 나지 않는다는 차이?


2009/03/24 - [프로그램 사용/cygwin / Xming] - cygwin/x 설치하기


XDMCP로 하니까 무시무시하게 대역폭을 잡아먹네... -_-a


Xming에 Xnest로는 왜이렇게 안되지 -_-??

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

VcXsrv - Xming 대체 프로그램  (0) 2017.10.07
XDMCP over SSH ? / xnest  (0) 2016.02.03
xming / xdmcp 성공  (0) 2016.02.02
cygwin bash 쉘 시작 위치 지정하기  (0) 2015.12.02
Xwin DISPLAY 고찰(?)  (0) 2015.08.13
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 구차니

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 구차니

gcc -M을 통해서 해당 소스가 끌어와야 하는 헤더들의 목록을 얻어낼수 있다.

이걸 이용하여 역으로

make 파일에서 사용해야 하는 헤더들의 목록을 생성해 낼 수 있고

이걸 make dep나 make depend를 통해서 수행하게 된다.


생각해보니.. ifdef로 된거.. option 파일이 아닌

-D 인자를 통해서 gcc -M -Dflag 해주면... 외부에서 소스변경없이 구현이 가능해져서 더 편하려나?


[링크 : http://developinghappiness.com/?p=174]

    [링크 : http://developinghappiness.com/?page_id=222]


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

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

make 기본셸  (0) 2016.06.08
makefile := = 차이점  (0) 2016.06.04
make 암시적 룰  (0) 2015.12.18
make jobserver unavailable  (0) 2015.12.16
make 아카이브  (0) 2015.12.14
Posted by 구차니