>
> With the removal of vncserver command and vncsession requiring root it seems it is
> not possible for users to create their own sessions.
>
> Some time we need to have users start a new vncserver instance so they can have
> someone help with debug while they keep using their main vncserver instance.
>
> How can users start their own vncserver instances with the new
> systemd/vncsession methods?
>
> For now I have copied vncserver from an old version of tigervnc which seems to
> work for now, but is the correct way to have user manage their own vncservers?
>
I disabled the upgrade of vncserver on most machines, so
it is still running the older version just fine, but when
upgrade to fc33 that will probable go away.
I have it run the vncserver from cron at startup, which is
done by root, so had it using the runas command to start
it for the users automatically. Now with the vncsessions,
it is the opposite, one has to have root run command and
include the users name (so it is doing a reverse runas).
Have this notebook running the newer vncserver, but
don't have it setup to use the systemd to start session,
since it would let me login locally if systemd starts it??
Ran the command and results are this (few things
changed to x's).
root vncsession msetzerii :xx
root [vncsession] <defunct>
msetzer+ xinit /etc/X11/xinit/Xsession startxfce4 -- /usr/bin/Xvnc :xx -geometry
1270x900 -auth /run/user/1000/gdm/Xauthority -desktop xxxxxx.dyndns.org:xx
(msetzerii) -fp catalogue:/etc/X11/fontpath.d -pn -rfbauth
/home/msetzerii/.vnc/passwd -rfbport 59xx -rfbwait 30000
msetzer+ /usr/bin/Xvnc :xx -geometry 1270x900 -auth
/run/user/1000/gdm/Xauthority -desktop xxxxxx.dyndns.org:xx (msetzerii) -fp
catalogue:/etc/X11/fontpath.d -pn -rfbauth /home/msetzerii/.vnc/passwd -rfbport
59xx -rfbwait 30000
Run the vncsession as root with userid and port
Don't have a clue why it then creates the [vncsession]
with defunct status?? Tried all the kill commands and
nothing will remove it???
It then has the xinit and Xvnc lines that are running a the
regular user level, which could be run directly be a user
script I would think? Note: I do use the xfce setup rather
than gnome. Know that running a gnome local and gnome
vnc session with same user did cause issues, but never
had a problem with local gnome and vnc xfce or with
local xfce and vnc xfce..
So, think they are trying to fix a gnome issue rather than
a vnc issue here??
Could see what kind of commands it creates with other
desktops. Think it would be just different startxfce4
option.
Don't like having <defunct> things in ps -ef, but don't
know why it creates it, or why it doesn't go away. Seems
sloppy.. but perhaps there is some reason..
Good Luck.