Difference between revisions of "Set up a terminal server using VNC"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 1: Line 1:
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.
+
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
 
 
* edit /etc/xinet.d/vnc
 
* edit /etc/xinet.d/vnc
 +
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
 
* start xinetd
 
+
xinetd
 +
* now I got an error message
 
  No password configured for VNC Auth
 
  No password configured for VNC Auth
  

Revision as of 11:48, 21 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.

  • edit /etc/xinet.d/vnc
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