Results 1 to 3 of 3
Hi folks,
OpenVZ - Virtual Machine
host - Ubuntu 8.04
guest - Ubuntu 8.10 with wine running
On host;
$ ssh -2 -c blowfish -X satimis@192.168.0.103
Code:
satimis@192.168.0.103's password:
Linux ...
- 05-07-2009 #1Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,546
About syntax
Hi folks,
OpenVZ - Virtual Machine
host - Ubuntu 8.04
guest - Ubuntu 8.10 with wine running
On host;
$ ssh -2 -c blowfish -X satimis@192.168.0.103No complaint and login guestCode:satimis@192.168.0.103's password: Linux vz3.satimis.com 2.6.24-24-openvz #1 SMP Wed Apr 15 19:41:36 UTC 2009 i686 The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To access official Ubuntu documentation, please visit: http://help.ubuntu.com/
X forwarded to guest.
On guest
$ wineconsole cmdCode:Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly. err:wineconsole:WINECON_Fatal Couldn't find a decent font, aborting
$ echo $DISPLAY
only a blank line displayed.
$ export $DISPLAY=":0.0"Code:-bash: export: `=:0.0': not a valid identifier
$ export $DISPLAY=:0.0Code:-bash: export: `=:0.0': not a valid identifier
$ export $DISPLAY=0None of them can work.Code:-bash: export: `=0': not a valid identifier
Please advise what will be the correct syntax to run "export $DISPLAY"
TIA
B.R.
satimis
- 05-07-2009 #2Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
Just remove the '$', since it's really a variable declaration.
If you use the $, then $DISPLAY is expanded to its value, which is an empty string, and the resulting line is this:
Hence that error message that you get, since neither of '=' nor '.' are valid characters for an identifier.Code:export "=:0.0"
- 05-07-2009 #3Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,546


Reply With Quote

