Creating a DOS Games Server

This post assumes you've followed my guide to Setting up Xen on Ubuntu 12.04. and will talk you through the steps required to set up a web-accessible server for playing classic DOS Games (I've got Commander Keen, Duke Nukem 3D and Quake in mind!).

Either create a new Ubuntu VM, or clone an existing one, launch and then connect via console.

First we want to install DOSBox

apt-get install dosbox

Next, we want to configure X-Forwarding (dosbox makes quite a mess of our console if we try and run it otherwise!)

nano /etc/ssh/sshd_config

Ensure X11 Forwarding is set to Yes

Add an unprivileged user (do you really want to be logging in as root to play games?)

sudo adduser gamesuser
sudo passwd gamesuser

Now we should be able to SSH into the VM (run ifconfig if you don't know the IP)

ssh -XY gamesuser@ip.address

We should get a window open on our local machine when we run

dosbox

If that worked then we've got some very basic config to do, exit dosbox and then run the following

nano ~/.dosbox/dosbox-0.74.conf
#Add the following to the end of the file, in the autoexec section

mount c ~/.dosbox/drive/

#Save and close
mkdir ~/.dosbox/drive

Now, when you run dosbox, the C: drive is automatically mounted. If you're keen to start installing games rather than doing the last few bits of configuration, copy your installers to that directory, then call them from DOSBox.

경축! 아무것도 안하여 에스천사게임즈가 새로운 모습으로 재오픈 하였습니다.
어린이용이며, 설치가 필요없는 브라우저 게임입니다.
https://s1004games.com

 

Automatically running on login

The only time you're actually going to login to that account is when you're wanting to play games, so edit /home/gamesuser/.bashrcand add the following line to the end of the file

dosbox

 

Additional Considerations

You should also think about securing the system further than we've done here - for example switching off plaintext authentication is likely to be a wise move.

 

[출처] https://www.bentasker.co.uk/blog/general/189-creating-a-dos-games-server

 

 

 

 

본 웹사이트는 광고를 포함하고 있습니다.
광고 클릭에서 발생하는 수익금은 모두 웹사이트 서버의 유지 및 관리, 그리고 기술 콘텐츠 향상을 위해 쓰여집니다.
번호 제목 글쓴이 날짜 조회 수
751 [JAVA] 파이어베이스 기초 사용법 Firebase in Android file 졸리운_곰 2018.12.26 68
750 FIREBASE 기능 요약 졸리운_곰 2018.12.26 57
749 AWS Certified Solution Architect Associate(SAA) 합격 후기 졸리운_곰 2018.12.24 157
748 비공식 AWS 공인 솔루션스 아키텍트 - 어소시에이트 (2018년 2월 출시) 수험 가이드 (bit.ly/saaguide) 졸리운_곰 2018.12.24 58
747 Power BI Desktop용 Google Analytics 커넥터 file 졸리운_곰 2018.12.24 18
746 PowerBI 초보자 가이드 Howto_PowerBI-20160825.pdf file 졸리운_곰 2018.12.24 9
745 TOP 9 HTML5 EDITORS FOR WEB DEVELOPERS 졸리운_곰 2018.12.17 27
744 Building an App the Simple Way: 6 Database-Powered App Builders file 졸리운_곰 2018.12.17 1024
743 SSH 프로토콜과 Tunneling 이해하기 file 졸리운_곰 2018.12.17 23
742 SSH Tunneling 사용하기 file 졸리운_곰 2018.12.17 12
741 2019년 주목되는 10대 전략 기술 트렌드는? file 졸리운_곰 2018.12.17 37
740 esxi vSwitch is disconnect NIC physicsal is down : ESXi/ESX host loses network connectivity after adding new NICs or an upgrade (2019871) 졸리운_곰 2018.12.12 45
739 2019년도 국가전문자격시험 시행일정 등 사전공고 file 졸리운_곰 2018.12.05 23
738 도스 허큘리스 모드에서의 GW-BASIC 그래픽 프로그래밍 file 졸리운_곰 2018.12.04 448
737 <도스박스 사용법> dosbox.conf - [dosbox] (도스박스 한글화, 그래픽 카드, 램 용량 등) file 졸리운_곰 2018.12.04 373
736 2019년도 국가기술자격검정 시행공고 file 졸리운_곰 2018.12.02 42
» DOS 게임을 telnet (ssh) 방식으로 접속 : Creating a DOS Games Server 졸리운_곰 2018.12.02 29
734 웹 브라우저에서 윈도우 95 구동하기 file 졸리운_곰 2018.12.01 30
733 피벗 테이블 file 졸리운_곰 2018.11.30 25
732 142_엑셀 피벗테이블 만들기 (2) file 졸리운_곰 2018.11.30 18
대표 김성준 주소 : 경기 용인 분당수지 U타워 등록번호 : 142-07-27414
통신판매업 신고 : 제2012-용인수지-0185호 출판업 신고 : 수지구청 제 123호 개인정보보호최고책임자 : 김성준 sjkim70@stechstar.com
대표전화 : 010-4589-2193 [fax] 02-6280-1294 COPYRIGHT(C) stechstar.com ALL RIGHTS RESERVED