8/6/2023 0 Comments Vnc over ssh![]() ![]() When the vncserver service is started it will create a x-session in the background and the client will use it "almost" like if they were sitting in front of the machine. In this method, the vncserver service is started on the server machine and then the client connects to it. The second method is most commonly used on headless machines, like servers. Then, there is a second method of using vnc. I don't know which login manager gnome uses (gdm maybe?), but your solution may be similar. When this was done, the gray screen disappeared and the xsession appeared in the vnc client program. This was accomplished by adding a line of code in the lightdm login manager so that when the xsession started it activated the vncserver program to it. In using vnc this way, I had the biggest problem in getting the vncserver program to display the session in use instead of the gray screen. You can also use proprietary programs for this as well, like teamviewer and nxmachine (I think that is what it is called). For this reason you may want the vncserver program to start at boot. If you want it started manually then you would need to have someone sitting in front of the server to start the vncserver program. With this method you have to decide how do you want the vncserver to start, manually or at boot. I use x11vnc for this on the server and remmina on the client machine. ![]() This is probably the most routine way of doing it. In this method a person sitting in front of the server will see the screen manipulated by the person controlling it from the vnc client machine. One is for the vncserver to be logged in with a current x-desktop session and the client connects to that. I ask because there are two ways of connecting with vnc. Let me ask, do you want the vnc client to see the desktop currently logged in on the machine running vncserver? ![]() There are several ways of doing this and the definition of best would be up to you and what you want vnc to do. What's the best method of VNC through SSH on gnome? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |