This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[Solved] SDDM and VNC

Tags: None
(comma "," separated)
grooveman
Registered Member
Posts
54
Karma
0

[Solved] SDDM and VNC

Thu Nov 04, 2021 7:05 pm
Hi.

I'm switching my primary system from Gentoo Linux to KDE neon. My motherboard died, and finally pushed the envelope on this (been thinking about it for a while now). I was using KDE Plasma on that system as well.

Something weird is happening though. On that system, I used tigervnc server with certificates to encrypt the traffic to allow me remote access -- and it worked great. However, when I set the same exact thing up on this new KDE Neon system, I'm finding that all I get is a black screen. For S's and G's, I tried something: I stopped the SDDM service, and tried again -- and Viola -- it worked. It seems like SDDM is not allowing for another session (I'm doing this on screen :1).

On my gentoo system, SDDM never cared. I could be logged into a session at home, and start a number of vnc sessions if I cared to on different screens (:1 :2 :3 etc.).

The problem is that the old system is dead, so I cannot get much off of it to do a back-to-back comparison.

Currently the only thing in my sddm.conf is:
Code: Select all
[Autologin]
Session=plasma


my xstartup script for my tigervnc:
Code: Select all
#!/bin/bash
/usr/bin/startplasma-x11 &



Couldn't be simpler. I'm not getting anything weird in my log files (that I can find anyway).

I really hate to have to kill my other session every time I want to do this (I'm often in the middle of something that spans days). Is there something I can stick in my sddm.conf to allow for multiple sessions of KDE -- or tell it to get out of the way if a 2nd startplasma-x11 is run? Or, perhaps some other trick?

Thanks.

Last edited by grooveman on Mon Nov 08, 2021 2:31 pm, edited 1 time in total.
grooveman
Registered Member
Posts
54
Karma
0

Re: SDDM and VNC  Topic is solved

Mon Nov 08, 2021 2:30 pm
Nevermind. I got this. They key was to put this in my xstartup:

Code: Select all
dbus-launch /usr/bin/startplasma-x11 &


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]