GithubHelp home page GithubHelp logo

Comments (8)

briceonk avatar briceonk commented on June 9, 2024 2

Yonezawa-san,
Cool, I'm glad networking is working, that is a big part of the battle done! Can you confirm that sxdm is actually running on the emulated NEWS system with ps? If so, try killing sxdm, then relaunching it. I don't see it often, but I have seen a case in the past where sxdm refused to respond to any queries. Make sure you leave Xephyr on the black screen for a little while - since the driver can only run at a certain % of real-time speed, the login window can take some time to pop up depending on your host system's performance. Even my i9-12900K system can only achieve 30-35% speed when using SCSI and Ethernet.
Also, I didn't see your confirmation, but if you didn't set the default route, XDMCP won't work. telnet seems to be able to handle it, for some reason, but I wasn't able to get X working without setting the default route.

Finally, if restarting sxdm and confirming the default route doesn't fix it, I'd recommend using a tool like wireshark to see what the emulated system is kicking back to Xephyr's XDMCP request - if there are networking issues, those will hopefully show up. You could also try running plain old xdm to see if it has any difference in behavior compared to sxdm.

  • Brice

from news-os.

briceonk avatar briceonk commented on June 9, 2024 2

Yonezawa-san,
Great! I am happy it worked. I'll add the extra details to the document later. If there is anything else you think I should add, please let me know :)

  • Brice

from news-os.

briceonk avatar briceonk commented on June 9, 2024 1
  1. Setup TAP/TUN device and launch MAME:
    image
  2. Press Scroll Lock to enable the UI, followed by Tab to bring up the menu
    image
  3. Scroll down to Network Devices and press Enter. If :sonic is not mapped to TAP/TUN Device, use the left/right arrow keys to select it. You might need to reset MAME after selecting this (it should remember the setting)
    image
  4. Boot to NEWS-OS 4
  5. First, log in as root and run the following command: route add default 192.168.5.1 1, replacing 192.168.5.1 with your system's host address. For you, it would be 192.168.10.110.
    image
  6. Next, to test out the basic connection, run telnet 192.168.10.40 from your host machine.
    image
  7. If that works, run sxdm from the root console or telnet session to start the NEWS Desk window manager
    image
  8. Finally, connect to the emulated system using Xephyr.
    image
  9. In the screen that pops up, you should see the NEWS Desk login prompt:
    image

For Japanese fonts to work, you'll need to copy them from NEWS-OS (NEWS-OS's /usr/lib/X11/fonts/100dpi and friends) to your host machine and add them to the font path. You may need to do some additional work on the font directories depending on your distro. Check out https://github.com/briceonk/news-os/blob/master/src/xdmcp.py for a wrapper script I wrote for connecting to XDMCP servers with font path manipulation included.

from news-os.

yoneworld avatar yoneworld commented on June 9, 2024 1

Dear briceonk
I got it !! Thank you very much!!!
image
newswork2

Japanese Fonts work!
image

from news-os.

briceonk avatar briceonk commented on June 9, 2024

Thanks for your comment! I'll take a few screenshots later to explain that better. I haven't used MAME with WSL, so I'm not sure if anything is different because of that, but let's see :)

from news-os.

yoneworld avatar yoneworld commented on June 9, 2024

Dear briceonk
Thank you very much! I telneted from WSL to NEWS on MAME. Network is working.

Network is working!

image

I found nws5000x.cfg for MAME should be like that

sonic interface =0"
<?xml version="1.0"?>
<!-- This file is autogenerated; comments and unknown tags will be stripped -->
<mameconfig version="10">
    <system name="nws5000x">
        <image_directories>
            <device instance="floppydisk" directory="" />
            <device instance="harddisk" directory="" />
            <device instance="cdrom" directory="" />
        </image_directories>
        <input>
            <keyboard tag=":hid" enabled="1" />
        </input>
        <network>
            <device tag=":sonic" interface="0" mac="00:00:00:00:00:00" />
        </network>
    </system>
</mameconfig>

I have a question.

And then unfortunatelly I can't connnect X-Window.
I typed on NEWS. it looks working.

sxdm

I typed that on WSL.

Xephyr -ac -query 192.168.10.40 -screen 1024x768x8 :2

just Opened Black Screen. No Login Prompt.

Should I set any other thing?

export DISPLAY=:2.0

etc....

Thank you.
Regards

from news-os.

yoneworld avatar yoneworld commented on June 9, 2024

NEWS-OS 4.2.1R Booting movie

https://www.youtube.com/watch?v=L89Jbi8ibA8

NEWS-OS 4.2.1R X-Window Operation movie

https://www.youtube.com/watch?v=TvFyzIpglKE

from news-os.

briceonk avatar briceonk commented on June 9, 2024

Awesome!! Thanks for sharing!

from news-os.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.