AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Tigervnc starts twm4/29/2023 ![]() Why that resolution? That fits my monitors with the VNC window and frame enough to not display scrollbars and move around nicely.I have an alias in ~/.bashrc:Īlias vncs='vncserver -geometry 1550x1100 &> /dev/null &' Every time the HDA is rebooted, when VNC is needed, ssh to the HDA.This can be done via the dashboard or by executing the following as root user: If you don't see the login screen, a reboot of the HDA may be required. You should now see your HDA Desktop login screen. Run your VNC Client and enter your HDA IP address for host/IP address.Add this line below the two lines you commented out and save the changes:.Edit /etc/services and comment out the two lines as listed below:.Server_args = -inetd -query localhost -geometry 1024×768 -depth 16 -once -fp /usr/share/X11/fonts/misc -securitytypes=none Create /etc/xinetd.d/vnc1024 file and add the following (you can change the screen resolution by changing the geometry setting):.Create /etc/gdm/nf file and add the following:.To start the server in your HDA, you need install tigervnc-server rpm package:.Add -localhost to options if you are connecting through a ssh tunnel or only locally.Make certain that you have forwarded the correct port(s), or the range 5901 through 5909. Note you can have displays for users 1-9 and each will connect to their VNC session at port 590n (some VNC clients 'know' the 590 part and only have you enter n).Repeat the configuration for each user you wish to be able to connect via VNC.If you are interested in more security for your VNC connection, check the link listed below under "General Instructions".You should now see your HDA Desktop screen. That's it - Run your VNC Client and enter hda:1 as the host/IP address.Press ctrl-D to end the root session, and then press ctrl-D again to close the terminal.This will make the VNC server start when the computer starts. Finally, type chkconfig vncserver on and press the enter key. ![]() You can come back and change this if necessary. After "geometry", you can enter any resolution you desire. VNCSERVERARGS="-geometry 1024x768 -nolisten tcp"Įnter your username in place of "username". Uncomment both lines by removing the # at the beginning of the lines.Įdit the lines so they appear as follows:.'#' VNCSERVERARGS="-geometry 800圆00 -nolisten tcp -localhost" Type nano /etc/sysconfig/vncservers and press the enter key.Note that when "username" is shown, you need to enter your user name. You can edit the configuration files using your choice of editor. ![]()
0 Comments
Read More
Leave a Reply. |