Unfortunately, I cannot get Unity to launch from either GDM or LightDM,
and with no way of verifying whether that WM even works without
TurboVNC, it is impossible for me to fix whatever issues might be
preventing it from working with TurboVNC.  GNOME 3 in TurboVNC works
fine for me on Ubuntu 18.04, so I'm not sure why it isn't launching for
you.  You might try passing '-wm gnome-session' to
/opt/TurboVNC/bin/vncserver.

If you don't want to use GNOME 3 in TurboVNC, I would suggest using MATE
as an alternative.  It has a clean interface based on GNOME 2, and it
works well with Linux VNC servers.

On 12/4/20 5:10 AM, shen wrote:
> Yes, I'm sure that I'm using Unity on Ubuntu18.04.
>
> I flashed my Jetson Xavier with JetPack 4.3 of NVIDIA:
> https://developer.nvidia.com/jetpack-43-archive
> https://www.jetsonhacks.com/2019/12/17/jetpack-4-3-release/
>
> The installed OS is Ubuntu18.04 and there are two DE (Unity7 and
> GNOME3), which can be selected while logging in:
> login.jpg
> I always choose the Unity, since I think not all the things run very
> well in this GNOME.
>
> It is mentioned in the docu of the TurboVNC that the TurboVNC server
> attempts to use OS specific techniques to launch the user's most
> recently used window manager:
> https://docs.oracle.com/cd/E19279-01/820-3257-12/turbovnc.html
> So I think the Unity on Ubuntu18.04 should be launched every time.
> I have also tried with the GNOME. The TurboVNC Viewer on Win10 shows a
> black screen too.
>
> Besides, the Display Manager is *gdm3* at the moment. I don't know
> whether it has an influence or not.
>
> Best regards
>
>
> DRC schrieb am Donnerstag, 3. Dezember 2020 um 22:17:28 UTC+1:
>
>     That's a window manager issue, then.  Are you really using Unity,
>     which isn't installed by default on Ubuntu 18.04, or are you using
>     the installed version of GNOME 3 that looks like Unity?
>
>     On 12/3/20 2:21 PM, shen wrote:
>>     Thanks a lot for your reply.
>>
>>     Sorry I didn't describe my problem clearly.
>>     I use the self-built TurboVNC Server in the Jetson Xavier
>>     (aarch64, Ubuntu18.04, Unity) and the TurboVNC Viewer (together
>>     with Putty) in Windows 10.
>>     The TurboVNC Viewer in Win10 shows a black screen as follows:
>>     black_screen_turbovnc_viewer_win10.JPG
>>
>>     Best regards,
>>     Shen
>>
>>     DRC schrieb am Donnerstag, 3. Dezember 2020 um 19:47:12 UTC+1:
>>
>>         The value of DEBARCH for AArch64 Linux platforms may be
>>         incorrect in the build system (I will double check), but that
>>         is not related to the issue at hand.
>>
>>         I'm not sure what you mean by "when I create a remote desktop
>>         in Windows."  TurboVNC can only be used to create remote
>>         desktops on Linux/Unix systems.  We only provide a client
>>         (viewer) for Windows.
>>
>>         If I misunderstood you and you are using the TurboVNC Server
>>         on Linux/Unix, then tell me which window manager you are
>>         trying to use.  A black screen is typically due to the window
>>         manager failing to start in the TurboVNC Server session. 
>>         Refer to https://turbovnc.org/Documentation/Compatibility22
>>         for a list of window managers I have personally tested and
>>         instructions for each.
>>
>>         It is not necessary to use VirtualGL with TurboVNC. 
>>         VirtualGL is only necessary if you need GPU acceleration for
>>         OpenGL applications running in a TurboVNC session.  TurboVNC
>>         can run OpenGL applications with software rendering (Mesa)
>>         without the use of VirtualGL.
>>
>>         DRC
>>
>>         On 12/3/20 9:29 AM, shen wrote:
>>>         Dear TurboVNC-Users,
>>>
>>>         I built TurboVNC from source in my Jetson Xavier (aarch64)
>>>         as follows:
>>>
>>>         1) build libjpeg-turbo:
>>>         git clone https://github.com/libjpeg-turbo/libjpeg-turbo.git
>>>         cd libjpeg-turbo && mkdir build && cd build
>>>         cmake -G"Unix Makefiles"
>>>         -DCMAKE_INSTALL_PREFIX=/opt/libjpeg-turbo ../
>>>         make -j 8
>>>         sudo make install
>>>
>>>         2) build turbovnc:
>>>         git clone https://github.com/TurboVNC/turbovnc.git
>>>         cd turbovnc && mkdir build && cd build
>>>         cmake -G "Unix Makefiles" -DTVNC_BUILDJAVA=0 ../
>>>         make -j 8
>>>         sudo make install
>>>
>>>         Besides:
>>>
>>>           * I *didn't* change the following 2 things, since I think
>>>             they are the same (or am I wrong?):
>>>               o "DEBARCH=arm64" --> "DEBARCH=aarch64" in
>>>                 pkgsripts/makedpkg
>>>               o "Architecture: arm64" --> "Archtecture: aarch64" in
>>>                 pkgsripts/deb-control
>>>           * I didn't build and install VirtualGL in my Jetson
>>>             Xavier, since a remote rendering is not necessary at the
>>>             moment (or must TurboVNC always be used together with
>>>             VirtualGL?)
>>>
>>>
>>>         When I create a remote desktop in Windows, I got always a
>>>         black screen.
>>>         Where am I wrong and how should I solve the problem?
>>>
>>>         Best regards,
>>>         Shen
>>>
>>>
>>>
>>>
>>>
>>>
>>>         -- 
>>>         You received this message because you are subscribed to the
>>>         Google Groups "TurboVNC User Discussion/Support" group.
>>>         To unsubscribe from this group and stop receiving emails
>>>         from it, send an email to [email protected].
>>>         To view this discussion on the web visit
>>>         
>>> https://groups.google.com/d/msgid/turbovnc-users/8d28674d-52fb-46ef-b70f-313ab8b0ecb6n%40googlegroups.com
>>>         
>>> <https://groups.google.com/d/msgid/turbovnc-users/8d28674d-52fb-46ef-b70f-313ab8b0ecb6n%40googlegroups.com?utm_medium=email&utm_source=footer>.
>>
>>     -- 
>>     You received this message because you are subscribed to the
>>     Google Groups "TurboVNC User Discussion/Support" group.
>>     To unsubscribe from this group and stop receiving emails from it,
>>     send an email to [email protected].
>>     To view this discussion on the web visit
>>     
>> https://groups.google.com/d/msgid/turbovnc-users/3c54ed0c-79b2-4f12-9016-c14b16bf253an%40googlegroups.com
>>     
>> <https://groups.google.com/d/msgid/turbovnc-users/3c54ed0c-79b2-4f12-9016-c14b16bf253an%40googlegroups.com?utm_medium=email&utm_source=footer>.
>
> -- 
> You received this message because you are subscribed to the Google
> Groups "TurboVNC User Discussion/Support" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected]
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/turbovnc-users/46af0490-426e-4618-b6c1-f0e40925676en%40googlegroups.com
> <https://groups.google.com/d/msgid/turbovnc-users/46af0490-426e-4618-b6c1-f0e40925676en%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"TurboVNC User Discussion/Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/turbovnc-users/efa8b502-e68b-9961-032c-692e0d0f901f%40virtualgl.org.

Reply via email to