Tuesday, April 30, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 4417  / 2 Years ago, sat, september 10, 2022, 6:35:47

I'm coming from Fedora, where there's a useful package called "vnc-ltsp-config", which installs VNC so that it functions just like a normal Gnome desktop (i.e. it provides a login prompt, and then starts a new session for your user).



Does Ubuntu have anything similar to this? The normal VNC package appears to operate via the unuseful default, where you can only login to an existing desktop. How do you configure Ubuntu to create a new session when someone logs in via VNC?


More From » login

 Answers
1

x11vnc Install x11vnc



Install X11vnc server on the remote desktop for access to the login screen, or access to an existing session.



Lightdm via VNC



On the remote machine run x11vnc as root (e.g. through a ssh session)



root@remote:# x11vnc -auth /var/lib/lightdm/.Xauthority -display :0


Then on our desktop here view the remote login screen with



vncviewer -via user@remote :0


The remote session started from the login screen will survive after we closed our vncviewer session.



View existing remote desktop



On the remote machine run x11vnc as the user logged in (e.g. through a ssh session where you can log in as the remote user)



user@remote:$ x11vnc -display :0


To export the display :0 for remote viewing.



On our desktop here run the viewer by



vncviewer -via user@remote :0

[#40442] Monday, September 12, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
riffnkful

Total Points: 390
Total Questions: 123
Total Answers: 110

Location: Puerto Rico
Member since Sat, Mar 13, 2021
3 Years ago
riffnkful questions
Thu, Nov 17, 22, 04:24, 1 Year ago
Mon, Nov 28, 22, 01:40, 1 Year ago
Mon, Jul 11, 22, 13:24, 2 Years ago
Sun, Feb 5, 23, 05:06, 1 Year ago
;