• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

VNC oder doch was anderes?

zmaier

Newbie
Hallo!

Ich habe eine Linux Workstation auf der haupsächlich Matlab als Simulationsprogramm läuft. Ich brauche nun ein Programm, mit dem ich remote nachschauen kann, ob Matlab schon fertig ist.

Wenn ich das mit VNC mache, dann kann ich doch "nur" eine neue Sitzung aufmachen und wenn ich VNC schliesse, wird die Sitzung auch beendet.

Ich möchte die auf dem Rechner laufende Sitzung beobachten können?

Könnt ihr mir da weiterhelfen?

Schönen Dank
Martin
 
OP
Z

zmaier

Newbie
Hallo!

Matlab laüft leider nicht auf Console.

Ein weiteres Problem ist, dass mehrere Benutzer gleichzeitig auf dem Rechner arbeiten.
Es sind mehrere KDE Sitzungen offen, die da jeweils gesperrt sind. Und mit Benutzer Wechseln dann ausgewählt werden.

Zur Zeit sitzen die Benutzer direkt davor und arbeiten.
Jedoch ist der Rechner so laut und heizt mir den Raum so auf, dass ich ihn in den klimatisierten Serverraum stellen möchte. Dort sollten die Benutzer aber nicht hinein. Deshalb suche ich nach einer Lösung das ganze übers Netz zu machen.
 

rolle

Guru
Mit FreeNX funktioniert (zumindest bei einem kurzen Test bei mir) resume. Das heißt, alle Nutzerinnen können sich per NX-Client eine eigene X-Session starten und statt dieselbe zu beenden, können sie sie 'suspenden'. Die Session kann dann später wieder aufgerufen werden.
 
OP
Z

zmaier

Newbie
Hallo!

Ich habe auf dem Server FreeNX-0.2.4-2.x86_64 installiert und verwende den Windows NoMachine Client 1.5.0-103.

Ich kann eine neue Session aufmachen, wenn ich Client schliesse werde ich gefragt ob ich terminieren oder suspenden moechte.

Ich habe suspend gewaehlt.

Wie kann ich jetzt die unterbrochene Sitzung wieder aufrufen?
Wenn ich den Client nocheinmal starte kommt ein Fenster wo ich Sitzungen auswaehlen kann (available sessions). Dort ist auch noch die vorhandene Sitzung aufgelistet, aber ich kann sie nicht resumen? Der Button ist grau, ich kann sie terminieren oder eine neue Sitzung oeffnen?

Hast du einen Plan was das sein koennte?

Schoene Gruesse

Martin Ranzmaier
 

rolle

Guru
Ich nutze die FreeNX-Version 0.4.1-0.suse093.rb0. Die habe ich glaube ich über apt installiert. Dazu den Client 1.4. Den 1.5 lade ich gerade mal runter und teste dann nochmal.
 

rolle

Guru
So ich habe gerade mal ein wenig im Internet gesucht. Dabei fand ich den Changelog von Version 1.4 auf 1.5 des NX-Servers. Die Version 1.5 läuft wohl erst mit FreeNX 0.4.1. Zum Resume geb es folgende Änderungen:
Before, all contained applications where sent to sleep upon the suspending
of a session. (This made f.e. your compilation running in a konsole window
pause, or your IRC log containing gaps, or your kmail program not reacting
when you tried to shut it down with dcop commands). Now, all applications
stay awake and keep running when a session is suspended.
Das heißt für Dich, daß FreeNX Deine Probleme leider erst ab Version 0.4.1 lösen kann, da vorher alle laufenden Prozesse angehlaten würden, Deine Simulationen also nicht weiterliefen.
Schade eigentlich, war eine schöne Idee....
 

schweer

Hacker
rolle schrieb:
Das heißt für Dich, daß FreeNX Deine Probleme leider erst ab Version 0.4.1 lösen kann, da vorher alle laufenden Prozesse angehlaten würden, Deine Simulationen also nicht weiterliefen.
Aktueller Stand:
Suspend / Resume funktioniert mit der (CVS)-Version 0.4.2-04 von freenx, dem 1.5.0-Client von !M und den nxlibs-1.5.0. Diese Bibliotheken kann man selbst kompilieren (OSS, herunterladen von !M).

wolfgang
 
OP
Z

zmaier

Newbie
Hallo!

Danke fuer die vielen Antworten, aber ich habe noch ein Problem mit der Intallation.

Ich habe mir die Datei nxcomp-1.5.0-63.tar.gz von der !M Homepage heruntergeladen. Nach dem entpacken habe ich den Befehl ./configure ausgefuehrt. Das hat noch funktioniert.

Code:
celsius:~/nxcomp # ./configure
checking for g++... g++
checking for C++ compiler default output... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether compiler needs -Wno-deprecated... yes
checking whether compiler accepts -Wmissing-declarations and -Wnested-externs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C++ preprocessor... g++ -E
checking for X... no
checking for Cygwin32 environment... no
checking for Darwin environment... no
checking for Solaris environment... no
checking for FreeBSD environment... no
checking for in_addr_t... yes
compiling version 1.5.0
enabling dynamic linking of PNG library
enabling dynamic linking of JPEG library
enabling dynamic linking of Z library
disabling production of debug symbols
disabling info output in the log file
disabling valgrind memory checker workarounds
configure: creating ./config.status
config.status: creating Makefile

Aber der Befehl make liefert Fehler ohne Ende.

Code:
celsius:~/nxcomp # make
g++ -c -O3 -Wno-deprecated -DIN_ADDR_T=in_addr_t -DVERSION=\"1.5.0\"  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DX_DISPLAY_MISSING=1 -Wall -Wpointer-arith   Loop.cpp
In file included from Agent.h:28,
                 from Loop.cpp:77:
Transport.h:21:18: zlib.h: No such file or directory
In file included from Agent.h:28,
                 from Loop.cpp:77:
Transport.h:333: error: 'z_stream' is used as a type, but is not defined as a
   type.
Transport.h:334: error: 'z_stream' is used as a type, but is not defined as a
   type.
In file included from OpcodeStore.h:21,
                 from Channel.h:25,
                 from Proxy.h:30,
                 from Agent.h:29,
                 from Loop.cpp:77:
NXproto.h:25:19: X11/X.h: No such file or directory
NXproto.h:26:21: X11/Xmd.h: No such file or directory
NXproto.h:27:24: X11/Xproto.h: No such file or directory
In file included from OpcodeStore.h:21,
                 from Channel.h:25,
                 from Proxy.h:30,
                 from Agent.h:29,
                 from Loop.cpp:77:
NXproto.h:69: error: 'BYTE' is used as a type, but is not defined as a type.
NXproto.h:70: error: 'BYTE' is used as a type, but is not defined as a type.
NXproto.h:71: error: syntax error before `;' token
NXproto.h:72: error: syntax error before `;' token
NXproto.h:73: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:74: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:75: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:76: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:77: error: syntax error before `;' token
NXproto.h:78: error: syntax error before `;' token
NXproto.h:79: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:80: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:81: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:82: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:83: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:84: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:85: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:86: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:87: error: syntax error before `;' token
NXproto.h:91: error: 'BYTE' is used as a type, but is not defined as a type.
NXproto.h:92: error: 'BYTE' is used as a type, but is not defined as a type.
NXproto.h:93: error: syntax error before `;' token
NXproto.h:94: error: syntax error before `;' token
NXproto.h:95: error: 'BOOL' is used as a type, but is not defined as a type.
NXproto.h:96: error: 'BOOL' is used as a type, but is not defined as a type.
NXproto.h:97: error: 'BOOL' is used as a type, but is not defined as a type.
NXproto.h:98: error: 'BOOL' is used as a type, but is not defined as a type.
NXproto.h:99: error: 'BOOL' is used as a type, but is not defined as a type.
NXproto.h:100: error: syntax error before `,' token
NXproto.h:101: error: syntax error before `;' token
NXproto.h:102: error: syntax error before `;' token
NXproto.h:103: error: syntax error before `;' token
NXproto.h:104: error: syntax error before `;' token
NXproto.h:108: error: 'BYTE' is used as a type, but is not defined as a type.
NXproto.h:109: error: 'BYTE' is used as a type, but is not defined as a type.
NXproto.h:110: error: syntax error before `;' token
NXproto.h:111: error: syntax error before `;' token
NXproto.h:112: error: 'BOOL' is used as a type, but is not defined as a type.
NXproto.h:113: error: 'BOOL' is used as a type, but is not defined as a type.
NXproto.h:114: error: 'BOOL' is used as a type, but is not defined as a type.
NXproto.h:115: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:116: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:117: error: syntax error before `,' token
NXproto.h:118: error: syntax error before `;' token
NXproto.h:119: error: syntax error before `;' token
NXproto.h:120: error: syntax error before `;' token
NXproto.h:121: error: syntax error before `;' token
NXproto.h:131: error: 'BYTE' is used as a type, but is not defined as a type.
NXproto.h:132: error: 'BYTE' is used as a type, but is not defined as a type.
NXproto.h:133: error: syntax error before `;' token
NXproto.h:134: error: syntax error before `;' token
NXproto.h:135: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:136: error: syntax error before `,' token
NXproto.h:137: error: syntax error before `;' token
NXproto.h:138: error: syntax error before `;' token
NXproto.h:139: error: syntax error before `;' token
NXproto.h:140: error: syntax error before `;' token
NXproto.h:141: error: syntax error before `;' token
NXproto.h:145: error: 'BYTE' is used as a type, but is not defined as a type.
NXproto.h:146: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:147: error: syntax error before `;' token
NXproto.h:148: error: syntax error before `;' token
NXproto.h:149: error: 'BOOL' is used as a type, but is not defined as a type.
NXproto.h:150: error: 'BOOL' is used as a type, but is not defined as a type.
NXproto.h:151: error: syntax error before `,' token
NXproto.h:152: error: syntax error before `;' token
NXproto.h:153: error: syntax error before `;' token
NXproto.h:154: error: syntax error before `;' token
NXproto.h:155: error: syntax error before `;' token
NXproto.h:156: error: syntax error before `;' token
NXproto.h:164: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:165: error: 'BYTE' is used as a type, but is not defined as a type.
NXproto.h:166: error: syntax error before `;' token
NXproto.h:170: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:171: error: 'BYTE' is used as a type, but is not defined as a type.
NXproto.h:172: error: syntax error before `;' token
NXproto.h:176: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:177: error: 'BYTE' is used as a type, but is not defined as a type.
NXproto.h:178: error: syntax error before `;' token
NXproto.h:182: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:183: error: 'BYTE' is used as a type, but is not defined as a type.
NXproto.h:184: error: syntax error before `;' token
NXproto.h:185: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:186: error: syntax error before `,' token
NXproto.h:190: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:191: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:192: error: syntax error before `;' token
NXproto.h:193: error: 'BOOL' is used as a type, but is not defined as a type.
NXproto.h:194: error: 'BOOL' is used as a type, but is not defined as a type.
NXproto.h:195: error: syntax error before `,' token
NXproto.h:196: error: 'CARD32' is used as a type, but is not defined as a type.
NXproto.h:197: error: 'CARD32' is used as a type, but is not defined as a type.
NXproto.h:210: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:211: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:212: error: syntax error before `;' token
NXproto.h:213: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:214: error: syntax error before `,' token
NXproto.h:218: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:219: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:220: error: syntax error before `;' token
NXproto.h:224: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:225: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:226: error: syntax error before `;' token
NXproto.h:227: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:228: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:229: error: syntax error before `,' token
NXproto.h:230: error: syntax error before `;' token
NXproto.h:234: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:235: error: 'BYTE' is used as a type, but is not defined as a type.
NXproto.h:236: error: syntax error before `;' token
NXproto.h:237: error: 'BOOL' is used as a type, but is not defined as a type.
NXproto.h:238: error: 'BOOL' is used as a type, but is not defined as a type.
NXproto.h:239: error: 'BOOL' is used as a type, but is not defined as a type.
NXproto.h:240: error: 'BYTE' is used as a type, but is not defined as a type.
NXproto.h:244: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:245: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:246: error: syntax error before `;' token
NXproto.h:247: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:248: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:249: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:250: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:251: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:252: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:253: error: syntax error before `,' token
NXproto.h:254: error: syntax error before `;' token
NXproto.h:255: error: syntax error before `;' token
NXproto.h:256: error: syntax error before `;' token
NXproto.h:260: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:261: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:262: error: syntax error before `;' token
NXproto.h:263: error: syntax error before `;' token
NXproto.h:267: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:268: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:269: error: syntax error before `;' token
NXproto.h:270: error: syntax error before `;' token
NXproto.h:274: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:275: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:276: error: syntax error before `;' token
NXproto.h:277: error: syntax error before `;' token
NXproto.h:278: error: syntax error before `;' token
NXproto.h:279: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:280: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:281: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:282: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:283: error: syntax error before `;' token
NXproto.h:284: error: syntax error before `;' token
NXproto.h:285: error: syntax error before `,' token
NXproto.h:286: error: syntax error before `,' token
NXproto.h:287: error: syntax error before `,' token
NXproto.h:288: error: syntax error before `,' token
NXproto.h:292: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:293: error: 'CARD8' is used as a type, but is not defined as a type.
NXproto.h:294: error: syntax error before `;' token
In file included from ClientStore.h:21,
                 from Channel.h:27,
                 from Proxy.h:30,
                 from Agent.h:29,
                 from Loop.cpp:77:
Message.h:21:24: X11/Xproto.h: No such file or directory
In file included from Message.h:31,
                 from ClientStore.h:21,
                 from Channel.h:27,
                 from Proxy.h:30,
                 from Agent.h:29,
                 from Loop.cpp:77:
Compressor.h:21:18: zlib.h: No such file or directory
In file included from Message.h:31,
                 from ClientStore.h:21,
                 from Channel.h:27,
                 from Proxy.h:30,
                 from Agent.h:29,
                 from Loop.cpp:77:
Compressor.h:55: error: `Bytef' was not declared in this scope
Compressor.h:55: error: `dest' was not declared in this scope
Compressor.h:55: error: `uLongf' was not declared in this scope
Compressor.h:55: error: `destLen' was not declared in this scope
Compressor.h:55: error: syntax error before `*' token
Compressor.h:57: error: 'z_stream' is used as a type, but is not defined as a
   type.
Compressor.h: In member function `int Compressor::fullReset()':
Compressor.h:43: error: `stream_' undeclared (first use this function)
Compressor.h:43: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
Compressor.h:43: error: `deflateReset' undeclared (first use this function)
Compressor.h:43: error: `Z_OK' undeclared (first use this function)
Compressor.h: In static member function `static int
   Compressor::isCompressionLevel(int)':
Compressor.h:48: error: `Z_DEFAULT_COMPRESSION' undeclared (first use this
   function)
Compressor.h:49: error: `Z_NO_COMPRESSION' undeclared (first use this function)
Compressor.h:50: error: `Z_BEST_COMPRESSION' undeclared (first use this
   function)
In file included from Message.h:32,
                 from ClientStore.h:21,
                 from Channel.h:27,
                 from Proxy.h:30,
                 from Agent.h:29,
                 from Loop.cpp:77:
Decompressor.h:21:18: zlib.h: No such file or directory
In file included from Message.h:32,
                 from ClientStore.h:21,
                 from Channel.h:27,
                 from Proxy.h:30,
                 from Agent.h:29,
                 from Loop.cpp:77:
Decompressor.h: At global scope:
Decompressor.h:47: error: `Bytef' was not declared in this scope
Decompressor.h:47: error: `dest' was not declared in this scope
Decompressor.h:47: error: `uLongf' was not declared in this scope
Decompressor.h:47: error: `destLen' was not declared in this scope
Decompressor.h:47: error: syntax error before `*' token
Decompressor.h:49: error: 'z_stream' is used as a type, but is not defined as a
   type.
Decompressor.h: In member function `int Decompressor::fullReset()':
Decompressor.h:42: error: `inflateReset' undeclared (first use this function)
Loop.cpp: In function `int InitBeforeNegotiation()':
Loop.cpp:2811: error: `X_TCP_PORT' undeclared (first use this function)
make: *** [Loop.o] Error 1
celsius:~/nxcomp #

Habt ihr einen Plan was da nicht stimmt?
Vielen Dank
Martin
 
Oben