i couldn't start an application which is installed on the Server with Graphic User Interface

Philipp Hagemeister phihag at phihag.de
Tue Apr 12 03:35:32 PDT 2011


X applications (such as the ones rendering the graphical interface from
your Linux Server) need an X server they can talk to. The X server
renders the drawing commands by the application.

While Ubuntu includes an X server, Windows does not. You need to install
a Windows X server such as Xming (*and* enable X11 forwarding in your
ssh client).

Alternatively, you can use another protocol such as VNC or nomachine nx.
 You'll need a Windows client and a server on the .. well ... server. Be
warned that X tends not to perform well over high-latency low-bandwidth
links. Both VNC and nx are far more suitable on such

Additionally, the output
> Error in startup script: can't read "xcrys(platform)": no such
> variable while executing
> (...)
indicates an error in the application you're using (XCrySDen). Please
contact their support. Since you are apparently not running the latest
version, I'd encourage you to do so before reporting a bug.

Cheers,

Philipp

tian kong wrote:
> i connected to a Server which is using SUSE Linux Enterprise Server 10 SP2
> (x86_64).
> I have just installed xCrySDen on the Server. I want to open it with a
> graphic user interface when i use a ssh client( F-Secure ssh client ) to
> connect to the server.
> 
> When i use F-Secure ssh client in Windows 7, login in the server, then start
> xCrySDen, it failed with the following text:
> 
> Application initialization failed: no display name and no $DISPLAY
> environment variable
> Error in startup script: can't read "xcrys(platform)": no such variable
>    while executing
> "if { $xcrys(platform) == "windows" } {
>    # testing ...
>    rename exec _tcl_exec
> 
>    proc exec {args} {
>        global env
> 
>        # first try a normal exec..."
>    (file
> "/home/users/luttangfl/software/XCrySDen-1.5.21-bin-semishared/Tcl/cygwin.tcl"
> line 19)
>    invoked from within
> "source $system(TOPDIR)/Tcl/cygwin.tcl"
>    (file
> "/home/users/luttangfl/software/XCrySDen-1.5.21-bin-semishared/Tcl/xcInit.tcl"
> line 433)
> 
> then, i tried the command xlogo, it said:
> Error: Can't open display:
> 
> When i use Putty( another ssh client) in Windows 7, enable the X11
> forwarding in Putty, it still couldn't open the graphic user interface.
> 
> But when i used Ubuntu10.04, open the terminal, and use the following
> command: ssh -l abc -p 222 111.111.111.111 -X, and then after i login into
> the server and start xCrySDen, it works, i can see the application's graphic
> user interface.
> i want it works correctly when the clients' OS is Windows. Can you help me?
> Thx a lot !!!!
>>>>>>>>> 【this is an email sent by tiankong】
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> xorg at lists.freedesktop.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.freedesktop.org/mailman/listinfo/xorg
> Your subscription address: phihag at phihag.de



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20110412/a4024dd1/attachment.pgp>


More information about the xorg mailing list