Author Topic: Issues with Linux VPS (again)  (Read 4611 times)

There is a folder for wine but not wine console.

There is a folder for wine but not wine console.
Where is that folder, and what are it's contents?

What version of Wine are you using? The latest version is 1.4.1-4
« Last Edit: November 12, 2014, 12:01:59 PM by blueblur121 »

Run this command:
Code: [Select]
cat /usr/lib/wine/wineserver
If that actually finds a file, run this command:
Code: [Select]
sudo ln -s /usr/lib/wine/wineserver /usr/local/bin/wineserver

Just replace "wineconsole" with "wine wineconsole". Whether it be good or bad thing to do, works fine for me, and i've had the same exact issue. (o'well, possibly something with Debian and/or Wine64)

May as well find this little script useful in case of being new to Linux (or not liking to retype all these commands) - Nothing really fancy, but works, just place it in Blockland folder. Requires slightly modified blockland-server.
« Last Edit: November 12, 2014, 03:45:23 PM by Kikanek »

Wait, I think I have something



The command wineconsole opens a new window (which obviously can't happen without an x session)
If you want to use the wine command prompt via ssh, then you should use $ wine cmd to use cmd.exe in a normal terminal emulator.

The terminal on the left I'm using to demonstrate this is RXVT-Unicode. The console window on the right is wineconsole.

NOTE: I am demonstrating this on Arch. I'll test it on my Debian server later to see if this works there too.



EDIT: I just tested it, it works on Debian stable as well.



I don't know what those errors mean, but it's a working wine command prompt via SSH.
« Last Edit: November 12, 2014, 03:30:56 PM by blueblur121 »

I'm not using an x session.
Just replace "wineconsole" with "wine wineconsole". Whether it be good or bad thing to do, works fine for me, and i've had the same exact issue. (o'well, possibly something with Debian and/or Wine64)

May as well find this little script useful in case of being new to Linux (or not liking to retype all these commands) - Nothing really fancy, but works, just place it in Blockland folder. Requires slightly modified blockland-server.
output nothing, heck even when I type wine it doesn't even show the version number

Run this command:
Code: [Select]
cat /usr/lib/wine/wineserver
If that actually finds a file, run this command:
Code: [Select]
sudo ln -s /usr/lib/wine/wineserver /usr/local/bin/wineserver
no file or directory
« Last Edit: November 12, 2014, 04:39:45 PM by Nal »

http://192.252.223.102/wineconsole

Put that file into /usr/bin

Log out, then back in

Cd to /home/blockland-server

Run xvfb-run -a wineconsole --backend=curses Blockland.exe ptlaaxobimwroe -dedicated

Also post the result of wine --version
« Last Edit: November 12, 2014, 05:02:38 PM by Lugnut »

root@(none):/usr/bin# wine --version
root@(none):/usr/bin#

Run which wine
Post output.

Run which wine
Post output.
root@(none):/usr/bin# which wine
/usr/bin/wine
root@(none):/usr/bin#
note: I haven't done the /usr/bin thing

cat /usr/bin/wine

It's probably that dumb wine helper package.

cat /usr/bin/wine

It's probably that dumb wine helper package.
root@(none):/usr/bin# cat /usr/bin/wine
#!/bin/sh

XMESSAGE=/usr/bin/xmessage
ARCH="`dpkg --print-architecture`"
ARCH_I386="`echo $ARCH | sed s,amd64,i386,`"

TITLE="Debian / Wine: Multiarch Instructions"

I386_MSG=\
"This is the wine64-bin helper package, which does not provide wine itself,
but instead exists solely to provide the following information about
enabling multiarch on your system in order to be able to install and run
the 32-bit wine packages.

The following commands should be issued as root or via sudo in order to
enable multiarch (the last command installs 32-bit wine):

  # dpkg --add-architecture ${ARCH_I386}
  # apt-get update
  # apt-get install wine-bin:${ARCH_I386}

Be very careful as spaces matter above.  Note that this package
(wine64-bin) will be removed in the process.  For more information on
the multiarch conversion, see: http://wiki.debian.org/Multiarch/HOWTO"

$XMESSAGE -center \
    -buttons ok:0 -default ok \
    -title "$TITLE" \
    "$I386_MSG" 2>/dev/null
notify=$?
if [ $notify -eq 1 ] ; then
    # xmessage was unable to notify the user, try tty instead
    echo "** $TITLE **"
    echo "" >&2
    echo "$I386_MSG" >&2
    echo "" >&2
    echo -n "(okay) " >&2
    read confirm
fi

exit 1
yep

cat /usr/bin/wine

It's probably that dumb wine helper package.
MOTHERforgetER

I forgot about that confusing and worthless piece of stuff
you know what to do

I'm not using an x session.
That's my point.

The wineconsole command didn't work because you had no x session running.

However, if the wine command does nothing, then I have no idea what's wrong.

MOTHERforgetER

I forgot about that confusing and worthless piece of stuffyou know what to do
i'm probably doing something really wrong but
root@(none):/usr/bin# dpkg --add-architecture i386
dpkg: error: configuration error: /etc/dpkg/dpkg.cfg.d/architectures:1: unknown option 'foreign-architecture'
root@(none):/usr/bin#
I normally know more about linux when I'm actually using it, not via command line
That's my point.

The wineconsole command didn't work because you had no x session running.

However, if the wine command does nothing, then I have no idea what's wrong.
it outputs nothing