Xvfb와 wine를 이용하여.. text환경에서 콘솔 window 프로그램 ?

peco의 이미지

로컬 혹은 리모트 서버에
X로 접속하거나 띄우지 않고
콘솔로만 접속하여
윈도우 콘솔 프로그램을 돌리고자 할때
Xvfb 와 wine을 이용할 수 있습니다...

패키지 구하고, 설치하기..
rpmfind.net 에서 Xvfb rpm 패키지를 구하거나
다른 설치 파일을 구합니다...
(XFree86-Xvfb... 혹은 ..x11-Xvfb... 등의 이름의 파일입니다..
현재 서버에 설치되어 있는 X패키지와 버전이 같아야 합니다...)
www.winehq.com 에서 wine을 구하고..
일단 Xvfb와 wine을 설치합니다..

Xvfb 사용하기
(테스트 환경은.. redhat9.0 과 fedora-core 3 입니다..
아직 장시간의 테스트는 해보지 않았습니다...)
먼저 사용하고자 하는 계정으로 로그인하여

$whereis winecfg
$winecfg

winecfg 를 실행하여
~/.wine/
디렉토리와 관련 파일들이 만들어 지도록 합니다...

$cp /etc/wine/config ~/.wine/ 로서

config 파일을 복사해 옵니다..

$Xvfb 99 -screen 0 800x600x8 &
$export DISPLAY=99

99는 가상서버의 DISPLAY 번호이며,
echo $DISPLAY 를 통하여 확인 할 수 있습니다..
export DISDISPLAY=99 를 통하여 현재 터미널에
Xvfb 에서 실행 메시지들이 표시되도록 합니다...
이때 /usr/X11R6/lib/X11/fonts 디렉토리에 필요한 폰트?
가 빈폴더로 있을시 에러가 뜰 수 있으며 이때는...

$Xvfb 99 -fp /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/ -screen 0 800x600x8 &

로서 넘어 갈수 있습니다...

$wine c\\windows\\system\\wcmd.exe

로서.. 윈도우 프로그램을 띄울수 있으며..
윈도우의 콘솔 서버프로그램을 띄워서
외부에서 접속이 가능합니다....

혹시 안될경우...
실행파일이 압축? 이 되어 있어서 않될 수 있습니다..
http//istmp.hp.infoseek.co.jp/untElock0.98+.zip

ps. 정보 공유를 하고자... 썼으나..
외국 사이트를 참고해서.. 부족한 내용이나 잘못된 내용이 있을 수 있으니 주의 당부
부탁드리며... 관련 정보를 아시는 것이 있으시면.. 알려주시기 부탁드려요 )

Forums: 

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.