Comments (7)
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.
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.
Are you logged in locally when you try to start the TurboVNC session?
from turbovnc.
I've tried both local and from a remote session. Neither one seems to work.
from turbovnc.
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.
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.
@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)
- Consider switching to building with zlib-ng HOT 3
- how do i start turbovnc server automatically on ubuntu 22.04? HOT 1
- Release separate assets for vncviewer and vncserver installers HOT 1
- podman containers fail to start through TurboVNC session HOT 4
- How to configure turbovnc as a systemd service (ubuntu 20.04) HOT 1
- the UI of Display Settings dialog is messy after changing custom scale HOT 2
- Install fails HOT 3
- Can't start TurboVNC in Ubuntu GNOME desktop HOT 10
- JRELoadError with arm64 Mac - version 3.1.1 HOT 3
- Can the software increase support for file copying HOT 1
- No value for `$wm` working HOT 4
- Session Manager behaviour with UDS listening sessions HOT 4
- Browser and other applications missing on Virtual Desktop HOT 12
- Session Manager Error HOT 3
- java.lang.IllegalArgumentException: Value too long HOT 6
- Guidance needed: Trying to get TurboVNC to only serve a single monitor HOT 3
- Run TurboVNC client and server via port forwarding HOT 1
- Compile error on DEV version using DRI3 option HOT 17
- Distinguish clients connecting from the same host (in logs) HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from turbovnc.