Running WINE on VPS

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
dadada
Newbie
Newbie
Posts: 2
Joined: Tue Jul 27, 2010 3:31 pm

Running WINE on VPS

Post by dadada »

Hello

Id like to know how to setup up WINE on my VPS step by step?
OS : Ubuntu 10.04 32BIT

sudo apt-get update
sudo apt-get install xorg
sudo apt-get install wine
winecfg - then message pops out - Make sure that your X server is running and that $DISPLAY is set correctly.

lil help plz?
James McKenzie

Running WINE on VPS

Post by James McKenzie »

dadada wrote:
Hello

Id like to know how to setup up WINE on my VPS step by step?
OS : Ubuntu 10.04 32BIT

sudo apt-get update
sudo apt-get install xorg
sudo apt-get install wine
winecfg - then message pops out - Make sure that your X server is running and that $DISPLAY is set correctly.
You have to startx before installing Wine.

James McKenzie
jeffz
Level 5
Level 5
Posts: 345
Joined: Thu Mar 13, 2008 10:03 pm

Re: Running WINE on VPS

Post by jeffz »

James McKenzie wrote:dadada wrote:
Hello

Id like to know how to setup up WINE on my VPS step by step?
OS : Ubuntu 10.04 32BIT

sudo apt-get update
sudo apt-get install xorg
sudo apt-get install wine
winecfg - then message pops out - Make sure that your X server is running and that $DISPLAY is set correctly.
You have to startx before installing Wine.

James McKenzie
Either that or as the message says "make sure that $DISPALY is set correctly". You can specify a remove X server, perhaps running on your local machine.
James McKenzie

Running WINE on VPS

Post by James McKenzie »

jeffz wrote:
James McKenzie wrote:
dadada wrote:

Hello

Id like to know how to setup up WINE on my VPS step by step?
OS : Ubuntu 10.04 32BIT

sudo apt-get update
sudo apt-get install xorg
sudo apt-get install wine
winecfg - then message pops out - Make sure that your X server is running and that $DISPLAY is set correctly.


You have to startx before installing Wine.

James McKenzie
Either that or as the message says "make sure that $DISPALY is set correctly". You can specify a remove X server, perhaps running on your local machine.


export DISPLAY=:10.0

Will set the DISPLAY variable to the tenth screen on the localhost.

Most of the time, I use screen 0 so the following does work in Linux:
export DISPLAY=:0.0

On a Mac running Leopard or later you will have to detect the Display
and then echo it out. (This is just a generic comment for searches.)

James McKenzie
dadada
Newbie
Newbie
Posts: 2
Joined: Tue Jul 27, 2010 3:31 pm

Post by dadada »

Ok , so here's what i did
sudo apt-get update
sudo apt-get install xorg
then im using command startx - and here's what i got

Code: Select all

xauth:  creating new authority file /root/.Xauthority
xauth:  creating new authority file /root/.Xauthority


X.Org X Server 1.7.6
Release Date: 2010-03-17
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-27-server i686 Ubuntu
Current Operating System: Linux anything 2.6.18-194.3.1.el5.028stab069.6 #1 SMP                                                                                                  Wed May 26 18:31:05 MSD 2010 i686
Kernel command line: quiet
Build Date: 16 June 2010  09:31:32AM
xorg-server 2:1.7.6-2ubuntu7.2 (For technical support please see http://www.ubun                                                                                                 tu.com/support)
Current version of pixman: 0.16.4
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Jul 28 08:57:41 2010
(==) Using config directory: "/usr/lib/X11/xorg.conf.d"

Fatal server error:
xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)


Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional informati                                                                                                 on.

 ddxSigGiveUp: Closing log
giving up.
xinit:  No such file or directory (errno 2):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Post by DaVince »

Not being able to run X.org is outside Wine territory - ask on your distro's forum.
Locked