• Okay, hopefully one last DOSEMU/Linux question

    From The Lizard Master@VERT/NITEEYES to All on Friday, April 03, 2020 22:06:23
    I took the advice, I'm running Sync as a user. I took a couple days playing around after that to try and get running without bothering with basic questions.

    Still stumped though. I'm not sure if this is a cause or a red herring. So first off if I sudo dosemu from the terminal prompt, no errors. If I run dosemu from the terminal as a user I get this error which also shows when sync tries to execute it -
    ERROR: Unable to open console or check with X to evaluate the keyboard map. Please specify your keyboard mat via the $_layout option.

    When from the command prompt if I hit enter past the error, I can still run my door anyway. I've tried all the commands I can think for granting access to my user with dosemu, but that might not be it. Sync throws a third error -

    ERROR: MFS: couldn't find root path /media/CDROM

    Is that what shows when I have something set incorrectly in settings? Or am I still struggling with permissions running dosemu as a user.

    Hopefully that makes sense.

    ---TLM

    ---
    þ Synchronet þ My Brand-New BBS
  • From Nelgin@VERT/EOTLBBS to The Lizard Master on Friday, April 03, 2020 21:31:43
    The wrote:
    I took the advice, I'm running Sync as a user. I took a couple days playing around after that to try and get running without bothering with basic questions.

    Still stumped though. I'm not sure if this is a cause or a red herring. So first off if I sudo dosemu from the terminal prompt, no errors. If I run dosemu from the terminal as a user I get this error which also shows when sync tries to execute it -
    ERROR: Unable to open console or check with X to evaluate the keyboard map. Please specify your keyboard mat via the $_layout option.

    In your dosmeu.conf file you need to specity $_leyout as a keymap and not
    let it set to auto

    # $_layout = "auto"
    $_layout = "us" # sbbs



    When from the command prompt if I hit enter past the error, I can still run my door anyway. I've tried all the commands I can think for granting access to my user with dosemu, but that might not be it. Sync throws a third error -

    ERROR: MFS: couldn't find root path /media/CDROM

    Is that what shows when I have something set incorrectly in settings? Or am I still struggling with permissions running dosemu as a user.

    Maybe check for such an entry in your dosemu.conf though this used to be a known bug.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com
  • From Rampage@VERT/SESTAR to The Lizard Master on Saturday, April 04, 2020 05:39:47
    Re: Okay, hopefully one last DOSEMU/Linux question
    By: The Lizard Master to All on Fri Apr 03 2020 22:06:23


    Still stumped though. I'm not sure if this is a cause or a red
    herring. So first off if I sudo dosemu from the terminal prompt,
    no errors.

    Rule #1: do not "sudo dosemu" unless you're going to run root's dosemu and 99.99999% of the time, you won't be and don't need to...

    just forget about sudo unless you are doing OS-level specific things like starting/stopping daemons, updating to the latest from your distro, and similar root-level or OS-level tasks...


    If I run dosemu from the terminal as a user I get this error which
    also shows when sync tries to execute it -

    ERROR: Unable to open console or check with X to evaluate the
    keyboard map. Please specify your keyboard mat via the $_layout
    option.

    this is normal... do what it says... specify the keyboard in /etc/dosemu/dosemu.conf (i think, too early in morning and no c0ffee)... i do it in the global dosemu.conf to keep things simple for me on my server where my BBS runs... there's only one user there (not counting root) and that's my bbs user... but back to dosemu keyboard stuff... here's the section from my conf... i added the uncommented "$_layout = us" line seen in this snippet...


    ############################################################################## ## Keyboard related settings

    # Keyboard layout: default: 'auto' (which tries to generate the table from
    # the current Linux console settings)
    # or one of: finnish(-latin1), de(-latin1), be, it, us, uk, dk(-latin1),
    # keyb-no, no-latin1, dvorak, pl, po, sg(-latin1), fr(-latin1), sf(-latin1),
    # es(-latin1), sw, hu(-latin2), hu-cwi, keyb-user, hr-cp852, hr-latin2,
    # cz-qwerty, cz-qwertz, ru, tr.

    # $_layout = "auto"
    $_layout = "us"

    # bypass normal keyboard input on the Linux console, maybe dangerous
    # default: (auto), use only with -s or -k, or (0): off, use -k, or (1): on.

    # $_rawkeyboard = (auto)

    # 30 == Ctrl-^ (Ctrl-6 on US keyboards), special-sequence prefix for terminals # use Ctrl-^ h for help

    # $_escchar = (30)



    When from the command prompt if I hit enter past the error, I can
    still run my door anyway. I've tried all the commands I can think
    for granting access to my user with dosemu, but that might not be it.

    why do you think it is a lack of access problem?

    and remember, your user's dosemu stuff is not the same as sbbs' dosemu stuff... they are completely distinct and separate from each other... read on below...


    Sync throws a third error -

    ERROR: MFS: couldn't find root path /media/CDROM

    Is that what shows when I have something set incorrectly in settings?
    Or am I still struggling with permissions running dosemu as a user.

    the above about the cdrom shouldn't be a problem unless you are specifically trying to have one mounted for the dosemu session... as long as it doesn't stop the session and wait for a keystroke, it should be ok...


    at this point, it sounds like you have three separate dosemu configurations...


    /root/.dosemu
    /home/youruser/.dosemu
    /sbbs/ctrl/.dosemu


    the 1st one from your messing around with "sudo dosemu"...
    the 2nd one from your plain "dosemu" commands with your user...
    the 3rd one assuming your bbs is installed in /sbbs and you've tried running a dosemu requiring program while logged into your bbs...

    while you might get/have a door running from your user's dosemu, it doesn't mean that the door is set up properly to run from sbbs' dosemu... they are not the same and unless you specifically set up the same environment for your users as the one that sbbs sets up, then the drives and paths will be different inside dosemu... not to mention that from the linux side, the confs are completely separate, too...

    in other words, if you have a user on your bbs in a dos door that allows multiple users and you try to pop in from your normal linux user login and run the same door in local mode, you won't see each other... you have to log into your bbs and then enter the door to be able to see each other... that is if the door's multiplayer works at all in the dosemu environment... some do, some don't...


    )\/(ark

    ---
    þ Synchronet þ The SouthEast Star Mail HUB - SESTAR
  • From The Lizard Master@VERT/NITEEYES to Rampage on Saturday, April 04, 2020 09:43:29
    Re: Okay, hopefully one last DOSEMU/Linux question
    By: Rampage to The Lizard Master on Sat Apr 04 2020 05:39 am

    in other words, if you have a user on your bbs in a dos door that allows multiple users and you try to pop in from your normal linux user login and run the same door in local mode, you won't see each other... you have to log into your bbs and then enter the door to be able to see each other... that is if the door's multiplayer works at all in the dosemu environment... some do, some don't...


    )\/(ark

    Thank you for your long thoughtful reply! I will continue plugging ahead with this advice. Just getting SBBS to run as a user was a challenge, hah, but I am getting there with the not running everything root.

    It's much appreciated because I have a friend who I'm separate from and we just want to enjoy some specific old DOS games from long ago while quarantined and this has turned out to be more challening for me than expected since I've always run on DOS/Windows.

    ---TLM

    ---
    þ Synchronet þ Nite Eyes BBS - To make people happy about my tagline everywhere...
  • From The Lizard Master@VERT/NITEEYES to Rampage on Saturday, April 04, 2020 16:41:00
    Re: Okay, hopefully one last DOSEMU/Linux question
    By: Rampage to The Lizard Master on Sat Apr 04 2020 05:39 am

    in other words, if you have a user on your bbs in a dos door that allows multiple users and you try to pop in from your normal linux user login and run the same door in local mode, you won't see each other... you have to log into your bbs and then enter the door to be able to see each other... that is if the door's multiplayer works at all in the dosemu environment... some do, some don't...


    )\/(ark

    Hey I got one to work!! I owe you a beer or coffee! I appreciate it!

    ---TLM

    ---
    þ Synchronet þ Nite Eyes BBS - To make people happy about my tagline everywhere...
  • From The Lizard Master@VERT/NITEEYES to Rampage on Saturday, April 04, 2020 16:49:24
    Re: Okay, hopefully one last DOSEMU/Linux question
    By: The Lizard Master to Rampage on Sat Apr 04 2020 04:41 pm

    )\/(ark

    Hey I got one to work!! I owe you a beer or coffee! I appreciate it!

    I spoke slightly too soon. Everything appears to work except return back to sync. It hangs there after the door is terminated. Is that a quick setting I'm missing? Either way, pretty excited right now. Thanks again!

    ---TLM

    ---
    þ Synchronet þ Nite Eyes BBS - To make people happy about my tagline everywhere...
  • From Altere@VERT/ATHEL to The Lizard Master on Monday, April 06, 2020 02:57:18
    Re: Okay, hopefully one last DOSEMU/Linux question
    By: The Lizard Master to Rampage on Sat Apr 04 2020 04:49 pm

    Hey I got one to work!! I owe you a beer or coffee! I appreciate it!

    I spoke slightly too soon. Everything appears to work except return back to sync. It hangs there after the door is terminated. Is that a quick setting I'm missing? Either way, pretty excited right now. Thanks again!

    And I bet this 'hang' as you describe isn't actually hanging. Type exitemu and see if it returns you. If so, it's not hung, there's something wrong with your configuration, likely in scfg not specifying the entire start cmd.

    For example with LORD:

    start %# NORIP <--- this will produce the result you're getting start.bat %# NORIP <--- will exit back to the bbs properly

    If this isn't the case, you'll have to provide more information.

    -altere

    ---
    þ Synchronet þ Athelstan BBS þ athelstan.org þ telnet:23 / ssh:2222
  • From The Lizard Master@VERT/NITEEYES to Altere on Monday, April 06, 2020 21:46:39
    Re: Okay, hopefully one last DOSEMU/Linux question
    By: Altere to The Lizard Master on Mon Apr 06 2020 02:57 am

    And I bet this 'hang' as you describe isn't actually hanging. Type exitemu and see if it returns you. If so, it's not hung, there's something wrong with your configuration, likely in scfg not specifying the entire start cmd.

    For example with LORD:

    start %# NORIP <--- this will produce the result you're getting start.bat %# NORIP <--- will exit back to the bbs properly

    If this isn't the case, you'll have to provide more information.

    -altere


    Thanks for the reply. It's on exit of the door, and I'm running sync as a service....oh you mean on the actual hang screen from my termina? Thanks.

    ---TLM

    ---
    þ Synchronet þ Nite Eyes BBS - To make people happy about my tagline everywhere...
  • From The Lizard Master@VERT/NITEEYES to Altere on Tuesday, April 07, 2020 09:34:14
    Re: Okay, hopefully one last DOSEMU/Linux question
    By: Altere to The Lizard Master on Mon Apr 06 2020 02:57 am

    I spoke slightly too soon. Everything appears to work except return back to sync. It hangs there after the door is terminated. Is that a quick setting I'm missing? Either way, pretty excited right now. Thanks again!

    And I bet this 'hang' as you describe isn't actually hanging. Type exitemu and see if it returns you. If so, it's not hung, there's something wrong with your configuration, likely in scfg not specifying the entire start cmd.

    For example with LORD:

    start %# NORIP <--- this will produce the result you're getting start.bat %# NORIP <--- will exit back to the bbs properly

    If this isn't the case, you'll have to provide more information.

    Thank you. I added exitemu to the executed .bat file and boom, that was the problem. I had seen that written as an issue elsewhere, but I thought that was for phantom sessions in a windowed ubuntu environment.

    Much appreciated!

    ---TLM

    ---
    þ Synchronet þ Nite Eyes BBS - To make people happy about my tagline everywhere...
  • From Altere@VERT/ATHEL to The Lizard Master on Tuesday, April 07, 2020 17:16:24
    Re: Okay, hopefully one last DOSEMU/Linux question
    By: The Lizard Master to Altere on Tue Apr 07 2020 09:34 am

    I spoke slightly too soon. Everything appears to work except
    return back to sync. It hangs there after the door is terminated.
    Is that a quick setting I'm missing? Either way, pretty excited
    right now. Thanks again!

    And I bet this 'hang' as you describe isn't actually hanging. Type
    exitemu and see if it returns you. If so, it's not hung, there's
    something wrong with your configuration, likely in scfg not specifying
    the entire start cmd.

    For example with LORD:

    start %# NORIP <--- this will produce the result you're getting
    start.bat %# NORIP <--- will exit back to the bbs properly

    If this isn't the case, you'll have to provide more information.

    Thank you. I added exitemu to the executed .bat file and boom, that was the problem. I had seen that written as an issue elsewhere, but I thought that was for phantom sessions in a windowed ubuntu environment.

    You probably shouldn't be adding exitemu to your .bat files, you won't have that option on the few doors that run off .exe and Synchronet handles closing dosemu when the door is setup properly. That was more for testing purposes.

    You should change that back, and if it's still not returing to Synchronet, post your configuration in scfg for that door.

    -altere

    ---
    þ Synchronet þ Athelstan BBS þ athelstan.org þ telnet:23 / ssh:2222
  • From The Lizard Master@VERT/NITEEYES to Altere on Saturday, May 09, 2020 11:13:46
    Re: Okay, hopefully one last DOSEMU/Linux question
    By: Altere to The Lizard Master on Tue Apr 07 2020 05:16 pm

    You probably shouldn't be adding exitemu to your .bat files, you won't have that option on the few doors that run off .exe and Synchronet handles closing dosemu when the door is setup properly. That was more for testing purposes.

    You should change that back, and if it's still not returing to Synchronet, post your configuration in scfg for that door.

    It appears after removing exit emu from all the ones I currently have running they exit properly now, not sure what changed. Appreciate it!

    ---TLM

    ---
    þ Synchronet þ Nite Eyes BBS - To make people happy about my tagline everywhere...