Try starting something simple but good at producing error messages at first, like xterm -geometry 40x24+10+10 -ls -title "$VNCDESKTOP Desktop"įor best results insert that line before or after the line in xstartup which starts your window manager. Often, setup will place logic in ~/.vnc/xstartup and you'll need to use discretion to insert the line to be run when a session is initiated. In this example, the VNC server will be running under the nee non-root user 'alice' with the default Desktop Environment is XFCE - The Lightweight and yet Powerful DE. If it doesn’t exist, vncserver will createĪ new one which runs a couple of basic applications. You have now completed the installation of TigerVNC packages to your Ubuntu Server, it's time to set up and configure the VNC server using TigerVNC packages. Among them: $HOME/.vnc/xstartupĪ shell script specifying X applications to be run when a VNCĭesktop is started. Several VNC-related files are found in the directory $HOME/.vnc. Open your terminal and type the ssh command as below. Step 6 Connect to the VNC Server Through SSH Tunnel In this step, we will connect to our VNC server through an ssh tunnel. When modifying and testing changes, set up debug logging and tail the relevant logfiles to troubleshoot the changes. The VNC server is installed, and the first session is now running under ‘edward’ user. This file can be modified to run arbitrary code. There's a shell script named xstartup created when you run vncpasswd the first time for a user. There are a few different ways to get this done as you might imagine, but this is probably the most appropriate.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |