Cannot start viewer on new Ubuntu workstation

34 views
Skip to first unread message

Torsten Kupke

unread,
Mar 26, 2021, 10:50:59 AM3/26/21
to turbovn...@googlegroups.com
Hi,

I've got a new workstation at work and installed the last TurboVNC
version there. There server is running properly. But since I want to be
able to connect to it locally too (to proceed the work in the same
session I began remotely), I tested to start the Java viewer there
(remotely through my Windows viewer), but it's not runable (see
screenshot), since Java was not found. But OpenJDK is installed, as you
can see. However libjawt.so I could not find anywhere too. Or is the
viewer never startable inside a TurboVNC session? Need some help I think.

BR

Torsten


Screenshot 2021-03-26 152947.jpg

DRC

unread,
Mar 26, 2021, 11:06:28 AM3/26/21
to turbovn...@googlegroups.com
The Java viewer can be started inside a TurboVNC session.  The problem
is that, for some reason, the java executable is not in your PATH.  You
didn't specify which Linux distribution you are using, but it looks like
Ubuntu.  Try running

    sudo update-alternatives --config java

Note that TurboVNC 3.0 (which is still in development) contains an
embedded JRE, so it won't be necessary to install OpenJDK separately in
order to use that version.

Torsten Kupke

unread,
Mar 30, 2021, 6:08:59 AM3/30/21
to turbovn...@googlegroups.com
Yes, that was it! I uninstalled it with the Software app and
re-installed it with "sudo apt-get install openjdk-11-jre" from the
shell. Now /opt/TurboVNC/bin/vncviewer shows the Box titled "New
TurboVNC connection". When appending the path to my prepared .vnc file,
I expected to see the other box to enter username and password. Instead
only the mouse cursor became unvisible. I had to kill the java process
with -9 in an ssh shell from outside the TurboVNC session. May be this
was so, because the .vnc file specified just the session, from within I
tried to start the viewer. So it tried to contact the session
recursively. I will retry that from the console, when I sit locally there.

Many thanks, this issue is resolved for now.

Am 29.03.21 um 17:16 schrieb DRC:
> I can't reproduce the issue on my Ubuntu 18.04 VM.  Regardless, the
> issue is with your system, not with TurboVNC.  I would suggest
> re-installing the relevant OpenJDK packages using APT.  Otherwise,
> please google for a solution.
>
> On 3/28/21 5:05 AM, Torsten Kupke wrote:
>> Hi,
>>
>> no succes unfortunately:
>>
>> torsten@ws-torsten-02:~$ sudo update-alternatives --config java
>> [sudo] password for torsten:
>> update-alternatives: Fehler: keine Alternativen für java
>>
>> (in english: no alternatives for java)
>>
>> libjawt.so is missing furthermore. What else can I do?
>>
>> And yes, currently it is Ubuntu 18.04.
>>
>> BR
>>
>> Torsten
--
Torsten Kupke
Development Planning/Disposition Systems

HaCon Ingenieurgesellschaft mbH
Lister Str. 15, 30163 Hannover, Germany
Tel. +49 511 33699-464
Fax. +49 511 33699-99
Torste...@hacon.de
http://www.hacon.de

Office/Sitz: Hannover, Registry Court/Amtsgericht: Hannover HRB 1712
Managing Directors/Geschäftsführer:
Michael Frankenberg (CEO), Andreas Dittmann (CFO), Claus Müller-Haude

HaCon - A Siemens Company

DRC

unread,
Apr 1, 2021, 3:31:14 PM4/1/21
to turbovn...@googlegroups.com
Can you clarify what you mean when you say "appending the path to my
prepared .vnc file" and "the .vnc file specified just the session"? If
there is indeed a bug in our .vnc file parser, then I want to fix that,
but I need to reproduce it first. Please be as specific as possible
when describing a workflow that exhibits unexpected behavior.

DRC
Reply all
Reply to author
Forward
0 new messages