Difference between pages "Snmp" and "Set up a terminal server using VNC"

From Linuxintro
(Difference between pages)
imported>ThorstenStaerk
 
imported>ThorstenStaerk
 
Line 1: Line 1:
Trying to build an SNMP prototype
+
I want to set up a terminal server using VNC. This will enable you to work on a remote computer and use your local computer as a display only. For this example I used SUSE Linux 13.1 but it should work same or similar on other distributions as well.
  
SUSE Linux:
+
* install VNC incl. the config files for xinetd
 +
yast -i xorg-x11-Xvnc
 +
* edit /etc/xinet.d/vnc to contain
 +
service vnc1
 +
{
 +
        socket_type    = stream
 +
        protocol        = tcp
 +
        wait            = no
 +
        user            = nobody
 +
        server          = /usr/bin/Xvnc
 +
        server_args    = -securitytypes=none -noreset -inetd -once -query localhost -geometry 1024x768 -depth 16
 +
        type            = UNLISTED
 +
        port            = 5901
 +
}
  
yast -i nagios apache2
+
* start xinetd
/etc/init.d/nagios start
+
  xinetd
  http://127.0.0.1/nagios
+
* now I got an error message
log in as nagiosadmin:nagiosadmin
+
  No password configured for VNC Auth
/etc/init.d/snmptrapd
 
tail -f /var/log/net-snmpd.log
 
  snmptrap -v 2c -c public localhost "" NET-SNMP-EXAMPLES-MIB::netSnmpExampleHeartbeatNotification netSnmpExampleHeartbeatRate i 42
 
  
No access configuration - dropping trap.
+
-securitytypes=none
 +
* xinetd re start
 +
 
 +
* black window only
 +
* display manager remote access
 +
* rcxdm restart
  
 
= See also =
 
= See also =
* http://nagios.sourceforge.net/docs/3_0/quickstart-opensuse.html
+
* [[VNC]]
* http://net-snmp.sourceforge.net/wiki/index.php/TUT:snmptrap
+
* [[terminal server]]

Revision as of 11:26, 28 June 2014

I want to set up a terminal server using VNC. This will enable you to work on a remote computer and use your local computer as a display only. For this example I used SUSE Linux 13.1 but it should work same or similar on other distributions as well.

  • install VNC incl. the config files for xinetd
yast -i xorg-x11-Xvnc
  • edit /etc/xinet.d/vnc to contain
service vnc1
{
       socket_type     = stream
       protocol        = tcp
       wait            = no
       user            = nobody
       server          = /usr/bin/Xvnc
       server_args     = -securitytypes=none -noreset -inetd -once -query localhost -geometry 1024x768 -depth 16
       type            = UNLISTED
       port            = 5901
}
  • start xinetd
xinetd
  • now I got an error message
No password configured for VNC Auth

-securitytypes=none

  • xinetd re start
  • black window only
  • display manager remote access
  • rcxdm restart

See also