Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
TetraWiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
VNC SERVER IMPLEMENTATION WITH LDAP at BITS Pilani
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Outdated|reason=Old Technology and Customer But Relevant for Understanding|date=2026-07}} [[Category:Bits pilani]] ==<center>'''VNC SERVER IMPLEMENTATION WITH LDAP'''</center>== <center>'''NAVDEEP MATHUR'''</center> == '''INSTALLATION OF VNC'''== # First remove vnc package from server because we are using here realvnc latest version. # Download realvnc 5.03 package from [http://www.realvnc.com/download/binary/1193 http://www.realvnc.com/download/binary/1193] # Extract the package # Then you got some realvnc rpm’s then install that rpm’s by <nowiki>rpm –ivh <package_name></nowiki> # If you have genuine license then enter licence key by command vnclicense –add FRFJD-6SXCL-92L2Y-RSCCA-GWVEA # Then create display session for joining remote , login from any user then run command “vncserver” and it got the session number like 1,2,3….. # Then from vncviewer Enter ip:dispalynumber (Eg 172.20.4.39:1) # Enter username and password of user then join. = '''ISSUES IN VNC AND TROUBLESHOOTING'''= # LDAP user not able to login vnc but system user will take. =='''Resolution : '''== * At installation time vnc will create file inside /etc/pam.d/vncserver * No need to change this file * Create one file in /etc/pam.d/vncserver.custom Then write '''auth required pam_ldap.so''' '''account required pam_ldap.so''' ''':save and exit''' * Create one more file /etc/vnc/config.d/common.custom Then write '''PamApplicationName=vncserver.custom''' :save and exit This file refer to vncserver.custom in pam.d * Now restart vnc service “/etc/init.d/vncserver-x11-serviced restart” * Now login from ldap user then run command '''“vncserver”''' * Now you can check from vncviewer to login as a ldap user and password. =PROBLEM : Font Issue = VNC Server not able to take fonts from system “Application fails without proper fonts =='''Resolution:'''== * By default vncserver have wrong path of fonts , check Vim /etc/vnc/config -fp "/usr/share/fonts/X11/misc,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,built-ins" * /usr/share/fonts/X11 are the wrong path correct path is /usr/share/X11/fonts , So need to be change but don’t change on this file. * Create new file /etc/vnc/config.custom -fp "/usr/share/X11/fonts/misc,/usr/share/X11/fonts/100dpi/:unscaled,/usr/share/X11/fonts/75dpi/:unscaled,/usr/share/X11/fonts/Type1,/usr/share/X11/fonts/100dpi,/usr/share/X11/fonts/75dpi" :save and exit * Then restart vnc service as well as from user then run “vncserver” then it take correct path of fonts. =Problem with Resolution on VNC Viewer= * BITS Pilani have 1600x1200 pixels monitors, So need to change pixels from user. * So run command with “vncserver –geometry 1600x1200” from user * Then check with vncviewer.
Summary:
Please note that all contributions to TetraWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TetraWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Template used on this page:
Template:Outdated
(
edit
)