Giter VIP home page Giter VIP logo

Comments (7)

dcommander avatar dcommander commented on July 23, 2024

Look in the TurboVNC session log under ~/.vnc and see why it failed. You can also add -debug to the /opt/TurboVNC/bin/vncserver command line to see the failure in real time.

from turbovnc.

burningion avatar burningion commented on July 23, 2024

Thanks for the answer. I completely forgot about the debug flag. When I use it, I see that the process is getting killed:

$ /opt/TurboVNC/bin/vncserver -debug -wm mate
TurboVNC Server (Xvnc) 64-bit v3.1 (build 20240115)
Copyright (C) 1999-2023 The VirtualGL Project and many others (see README.md)
Visit http://www.TurboVNC.org for more information on TurboVNC

16/01/2024 08:47:42 Using security configuration file /opt/TurboVNC/etc/turbovncserver-security.conf
16/01/2024 08:47:42 Enabled security type 'vnc'
16/01/2024 08:47:42 Enabled security type 'otp'
16/01/2024 08:47:42 Enabled security type 'unixlogin'
16/01/2024 08:47:42 Enabled security type 'plain'
16/01/2024 08:47:42 Desktop name 'TurboVNC: ubuntu:1 (username)' (ubuntu:1)
16/01/2024 08:47:42 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
16/01/2024 08:47:42 Listening for VNC connections on TCP port 5901
16/01/2024 08:47:42   Interface 0.0.0.0
16/01/2024 08:47:42 Framebuffer: BGRX 8/8/8/8
16/01/2024 08:47:42 New desktop size: 1240 x 900
16/01/2024 08:47:42 New screen layout:
16/01/2024 08:47:42   0x00000040 (output 0x00000040): 1240x900+0+0
16/01/2024 08:47:42 Maximum clipboard transfer size: 1048576 bytes

Desktop 'TurboVNC: ubuntu:1 (username)' started on display ubuntu:1

Starting applications specified in /opt/TurboVNC/bin/xstartup.turbovnc
Log file is /home/username/.vnc/ubuntu:1.log

16/01/2024 08:47:44 VNC extension running!
Killing Xvnc process ID 3468

So, I assume that there's going to be some info about why, if I add the verbose flag:

$ /opt/TurboVNC/bin/vncserver -debug -verbose -wm mate
TurboVNC Server (Xvnc) 64-bit v3.1 (build 20240115)
Copyright (C) 1999-2023 The VirtualGL Project and many others (see README.md)
Visit http://www.TurboVNC.org for more information on TurboVNC

16/01/2024 08:48:30 Using security configuration file /opt/TurboVNC/etc/turbovncserver-security.conf
16/01/2024 08:48:30 Enabled security type 'vnc'
16/01/2024 08:48:30 Enabled security type 'otp'
16/01/2024 08:48:30 Enabled security type 'unixlogin'
16/01/2024 08:48:30 Enabled security type 'plain'
16/01/2024 08:48:30 Desktop name 'TurboVNC: ubuntu:1 (username)' (ubuntu:1)
16/01/2024 08:48:30 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
16/01/2024 08:48:30 Listening for VNC connections on TCP port 5901
16/01/2024 08:48:30   Interface 0.0.0.0
16/01/2024 08:48:30 Framebuffer: BGRX 8/8/8/8
16/01/2024 08:48:30 New desktop size: 1240 x 900
16/01/2024 08:48:30 New screen layout:
16/01/2024 08:48:30   0x00000040 (output 0x00000040): 1240x900+0+0
16/01/2024 08:48:30 Maximum clipboard transfer size: 1048576 bytes
(II) Initializing extension Generic Event Extension
(II) Initializing extension SHAPE
(II) Initializing extension MIT-SHM
(II) Initializing extension XInputExtension
(II) Initializing extension XTEST
(II) Initializing extension BIG-REQUESTS
(II) Initializing extension SYNC
(II) Initializing extension XKEYBOARD
(II) Initializing extension XC-MISC
(II) Initializing extension SECURITY
(II) Initializing extension XFIXES
(II) Initializing extension XFree86-Bigfont
(II) Initializing extension RENDER
(II) Initializing extension RANDR
(II) Initializing extension COMPOSITE
(II) Initializing extension DAMAGE
(II) Initializing extension MIT-SCREEN-SAVER
(II) Initializing extension RECORD
(II) Initializing extension DPMS
(II) Initializing extension Present
(II) Initializing extension X-Resource
(II) Initializing extension XVideo
(II) Initializing extension XVideo-MotionCompensation
(II) Initializing extension GLX
(II) IGLX: Loaded and initialized swrast
(II) GLX: Initialized DRISWRAST GL provider for screen 0
(II) Initializing extension VNC-EXTENSION
16/01/2024 08:48:30 VNC extension running!
(II) XKB: Reusing cached keymap
(II) XKB: Reusing cached keymap

Desktop 'TurboVNC: ubuntu:1 (username)' started on display ubuntu:1

Starting applications specified in /opt/TurboVNC/bin/xstartup.turbovnc
Log file is /home/username/.vnc/ubuntu:1.log

(DB) Selection owner change for _DBUS_SESSION_BUS_SELECTION_username_5dbfb12414a3456d9014d88183e338b1
Killing Xvnc process ID 3556

Any ideas for how to go further? Again, thanks.

from turbovnc.

dcommander avatar dcommander commented on July 23, 2024

Are you logged in locally when you try to start the TurboVNC session?

from turbovnc.

burningion avatar burningion commented on July 23, 2024

I've tried both local and from a remote session. Neither one seems to work.

from turbovnc.

dcommander avatar dcommander commented on July 23, 2024

My point is that, if a local session is running, it might be interfering with the TurboVNC session. More specifically, GDM will sometimes try to use Display :1 for the local display even if TurboVNC is already listening on Display :1. GDM apparently only looks at abstract Unix domain sockets, and not the pathname Unix domain sockets under /tmp/.X11-unix, to determine whether an X display is in use. It would be worth trying to start TurboVNC on Display :2 to see if that resolves the issue.

The other thing I notice is that your initial log showed a new D-Bus session bus instance being created, but the output with -debug didn't show that. That's suspicious.

from turbovnc.

dcommander avatar dcommander commented on July 23, 2024

Also, in your second comment, you appeared to be trying to use MATE, whereas in your initial post, you appeared to be trying to use Xfce. If you are trying to use MATE, then make sure that MATE is installed.

from turbovnc.

dcommander avatar dcommander commented on July 23, 2024

@burningion Unless you can provide additional information, as requested above, to help me diagnose the issue, I will be forced to close it.

from turbovnc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.