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

 

 

 

 

본 웹사이트는 광고를 포함하고 있습니다.
광고 클릭에서 발생하는 수익금은 모두 웹사이트 서버의 유지 및 관리, 그리고 기술 콘텐츠 향상을 위해 쓰여집니다.
번호 제목 글쓴이 날짜 조회 수
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 66
739 2019년도 국가전문자격시험 시행일정 등 사전공고 file 졸리운_곰 2018.12.05 54
738 도스 허큘리스 모드에서의 GW-BASIC 그래픽 프로그래밍 file 졸리운_곰 2018.12.04 502
737 <도스박스 사용법> dosbox.conf - [dosbox] (도스박스 한글화, 그래픽 카드, 램 용량 등) file 졸리운_곰 2018.12.04 396
736 2019년도 국가기술자격검정 시행공고 file 졸리운_곰 2018.12.02 58
» DOS 게임을 telnet (ssh) 방식으로 접속 : Creating a DOS Games Server 졸리운_곰 2018.12.02 53
734 웹 브라우저에서 윈도우 95 구동하기 file 졸리운_곰 2018.12.01 55
733 피벗 테이블 file 졸리운_곰 2018.11.30 47
732 142_엑셀 피벗테이블 만들기 (2) file 졸리운_곰 2018.11.30 43
731 141_초급 강좌 – 피벗 테이블 기본(1) file 졸리운_곰 2018.11.30 52
730 Visual Studio Code 파이썬 개발환경 구축 file 졸리운_곰 2018.11.29 37
729 하이퍼레저 페브릭에 대하여 잠깐 알아보자 [펌] file 졸리운_곰 2018.11.27 59
728 VBA에서 Google 스크립트로 변경 : From VBA to Google Apps Script 졸리운_곰 2018.11.27 44
727 vba 에서 gas (google apps script)로 변환 Simplifying Migration from VBA to Google Apps Script 졸리운_곰 2018.11.27 108
726 엑셀 숫자 연속 번호 매기기 방법! file 졸리운_곰 2018.11.04 42
725 “정말 아무것도 모르는” 엑셀 초보자를 위한 핵심 키보드 단축키 15개 file 졸리운_곰 2018.11.04 262
724 수학 / 수치해석 라이브러리 모음 졸리운_곰 2018.11.04 87
723 구글이 만든 Docker Container Orchestration 툴, Kubernetes 소개 file 졸리운_곰 2018.11.03 70
722 GPL·AGPL·MPL…한눈에 보는 오픈소스SW 라이선스 file 졸리운_곰 2018.10.31 57
721 리모릭스 개발 이야기 (Xamarin 응용개발기 프로젝트) file 졸리운_곰 2018.10.17 40
대표 김성준 주소 : 경기 용인 분당수지 U타워 등록번호 : 142-07-27414
통신판매업 신고 : 제2012-용인수지-0185호 출판업 신고 : 수지구청 제 123호 개인정보보호최고책임자 : 김성준 sjkim70@stechstar.com
대표전화 : 010-4589-2193 [fax] 02-6280-1294 COPYRIGHT(C) stechstar.com ALL RIGHTS RESERVED