WINE 4.0 winecfg

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
robins
Level 2
Level 2
Posts: 20
Joined: Tue Apr 02, 2019 1:41 am

WINE 4.0 winecfg

Post by robins »

Hello
I am a newbie in linux
I have a server ubuntu 16.4 64 bits with LXDE
I have a laptop windows 10
I installed Wine in the server, but when I put winecfg, I have this message:
https://www.screencast.com/t/YoDJilwGF

I didn't find a solution for the moment in internet

I would like to have wine to install my metatrader 4 in it. I chose this OS because I have a virtualization of the VPS ( like a windows VPS)

Thank you very much advance for your help ;-)
Attachments
ERROR_3.png
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: WINE 4.0 winecfg

Post by jkfloris »

Two things:
- Never run Wine as root!
- Do you have an Xserver running and permission to use it?
robins
Level 2
Level 2
Posts: 20
Joined: Tue Apr 02, 2019 1:41 am

Re: WINE 4.0 winecfg

Post by robins »

Hi
How can run wine without root please ?
My server is running: https://www.screencast.com/t/4eWPGE9U
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: WINE 4.0 winecfg

Post by jkfloris »

First I need some more information about your configuration.
Do you use your Windows 10 laptop to connect to the Ubuntu server? If so, what program do you use to connect?
robins
Level 2
Level 2
Posts: 20
Joined: Tue Apr 02, 2019 1:41 am

Re: WINE 4.0 winecfg

Post by robins »

yes I use my Windows 10 to connect to the Ubuntu server
Ubuntu 16.04 64 bits LXDE

I created another user, because it seems we have not to connect with root
I reinstalled wine but I have the same problem
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: WINE 4.0 winecfg

Post by jkfloris »

If you want to run a graphical program (like winecfg) on your Ubuntu server via Windows 10, you need to install an Xserver on Windows.
Which Windows program do you use to work on your Ubuntu server? Putty? WinSCP?
robins
Level 2
Level 2
Posts: 20
Joined: Tue Apr 02, 2019 1:41 am

Re: WINE 4.0 winecfg

Post by robins »

Putty
robins
Level 2
Level 2
Posts: 20
Joined: Tue Apr 02, 2019 1:41 am

Re: WINE 4.0 winecfg

Post by robins »

I have to download XMING too ?
or PLAYONLINUX ?
robins
Level 2
Level 2
Posts: 20
Joined: Tue Apr 02, 2019 1:41 am

Re: WINE 4.0 winecfg

Post by robins »

https://www.screencast.com/t/1gsjomzFRBq
I put start no client or start a program ?

https://www.screencast.com/t/p2bJrH7sFrda
if start a program, I put start a program on this computer or start program on remote computer please ?
robins
Level 2
Level 2
Posts: 20
Joined: Tue Apr 02, 2019 1:41 am

Re: WINE 4.0 winecfg

Post by robins »

VcXsrv Windows X Server is it X11 ?
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: WINE 4.0 winecfg

Post by jkfloris »

I have to download XMING too ?
or PLAYONLINUX ?
XMING - No, only one Xserver on your Windows machine is necessary. Either XMing or VcXsrv.
PlayOnLinux - No
VcXsrv Windows X Server is it X11 ?
Yes
I put start no client or start a program ?
Choose "Start program"

Start program on remote computer
Remote program: xterm
Password: <the user's password>
Connect to computer: <The Ubuntu server IP address>
Login as user: <the username>
Private key: <can left blank>

If there is a message about a key, enter "y" to trust your Ubuntu server
A new terminal window (xterm) is shown. Type winecfg to test.
robins
Level 2
Level 2
Posts: 20
Joined: Tue Apr 02, 2019 1:41 am

Re: WINE 4.0 winecfg

Post by robins »

I have this message:

https://www.screencast.com/t/kDBMUka2

when I press OK or Cancel, I have this:

https://www.screencast.com/t/aPiy2q0Qkg8
robins
Level 2
Level 2
Posts: 20
Joined: Tue Apr 02, 2019 1:41 am

Re: WINE 4.0 winecfg

Post by robins »

jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: WINE 4.0 winecfg

Post by jkfloris »

Yes, you could try that manual.
robins
Level 2
Level 2
Posts: 20
Joined: Tue Apr 02, 2019 1:41 am

Re: WINE 4.0 winecfg

Post by robins »

jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: WINE 4.0 winecfg

Post by jkfloris »

There is no error in the screenshot. Only a question if you want to quit the Xserver.

Why would you think something went wrong?
robins
Level 2
Level 2
Posts: 20
Joined: Tue Apr 02, 2019 1:41 am

Re: WINE 4.0 winecfg

Post by robins »

I tried to follow this website : http://laptops.eng.uci.edu/software-ins ... ming-putty

I put sudo nano /ssh/ssh_config

I have this : https://www.screencast.com/t/HY7NMmfFJt

"forward x11 NO

:-(
robins
Level 2
Level 2
Posts: 20
Joined: Tue Apr 02, 2019 1:41 am

Re: WINE 4.0 winecfg

Post by robins »

when I put winecfg I have this :

https://www.screencast.com/t/ZkEoEkZl
robins
Level 2
Level 2
Posts: 20
Joined: Tue Apr 02, 2019 1:41 am

Re: WINE 4.0 winecfg

Post by robins »

to see if I have successfull installed Putty with XMing, it works !!
https://www.screencast.com/t/Ff65fA6Mpo

but I don't understand why wine didn't want to display
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: WINE 4.0 winecfg

Post by jkfloris »

To make sure there is nothing wrong with the Wine installation, can you run Wine successful directly on the server?

(Please, don't post screenshots of a terminal output. You can copy-paste the text here. Don't forget the forum

Code: Select all

-tags.)
robins
Level 2
Level 2
Posts: 20
Joined: Tue Apr 02, 2019 1:41 am

Re: WINE 4.0 winecfg

Post by robins »

How can I run it with command line please ?
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: WINE 4.0 winecfg

Post by jkfloris »

I mean, can you connect a monitor, mouse and keyboard to your Ubuntu server and try to run Wine?
robins
Level 2
Level 2
Posts: 20
Joined: Tue Apr 02, 2019 1:41 am

Re: WINE 4.0 winecfg

Post by robins »

I don't know where is Wine in my laptop, i searched it, I didn't find it in any folder
In Putty, I have Wine 4.0 version
I could just connect to the cpanel of my Ubuntu server (ubuntu server with Hostinger)
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: WINE 4.0 winecfg

Post by jkfloris »

How did you install Wine?
robins
Level 2
Level 2
Posts: 20
Joined: Tue Apr 02, 2019 1:41 am

Re: WINE 4.0 winecfg

Post by robins »

Locked