Difference between revisions of "Xdmcp"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
(for gdm)
 
(6 intermediate revisions by 3 users not shown)
Line 5: Line 5:
 
= For SUSE =
 
= For SUSE =
  
== For KDM ==
+
== For KDE display manager ==
 
+
* enable xinetd's vnc service  
* enable xinetd's vnc service
 
 
Look at /etc/xinet.d/vnc, [[outcomment]] the line saying <code>disable=yes</code> from the first vnc section. It should look like this:
 
Look at /etc/xinet.d/vnc, [[outcomment]] the line saying <code>disable=yes</code> from the first vnc section. It should look like this:
 
  service vnc1
 
  service vnc1
Line 31: Line 30:
 
* connect with vncviewer localhost:1
 
* connect with vncviewer localhost:1
  
== See also ==
+
== For gdm ==
 +
* enable xinetd's vnc service
 +
Look at /etc/xinet.d/vnc, [[outcomment]] the line saying <code>disable=yes</code> from the first vnc section. It should look like this:
 +
service vnc1
 +
{
 +
        '''#disable        = yes'''
 +
        socket_type    = stream
 +
        protocol        = tcp
 +
        wait            = no
 +
        user            = nobody
 +
        server          = /usr/bin/Xvnc
 +
        server_args    = -SecurityTypes None -inetd -once -query localhost -geometry 1024x768 -depth 16
 +
        type            = UNLISTED
 +
        port            = 5901
 +
}
 +
 
 +
* set yast2 -> System -> /etc/sysconfig editor -> Desktop -> Display Manager -> DISPLAYMANAGER_REMOTE_ACCESS to yes
 +
* restart the services (killing your login)
 +
rcxinetd restart
 +
rcxdm restart
 +
* connect with vncviewer localhost:1
  
 +
= See also =
 +
* [[control a computer via network]]
 
* [http://www.tldp.org/HOWTO/XDMCP-HOWTO/intro.html XDMCP how to]
 
* [http://www.tldp.org/HOWTO/XDMCP-HOWTO/intro.html XDMCP how to]
 
* http://wmltd.co.uk/index.php/products/nomachine_thin_client/setting_up_x - how it works, in clear words
 
* http://wmltd.co.uk/index.php/products/nomachine_thin_client/setting_up_x - how it works, in clear words
 
[[Category:Guides]]
 
[[Category:Guides]]
 
* [http://ltsp.org/ The Linux Terminal Server Project] is based on xdmcp.
 
* [http://ltsp.org/ The Linux Terminal Server Project] is based on xdmcp.

Latest revision as of 11:13, 29 January 2014

xdmcp allows you to log in graphically via network using VNC. This is terminal server functionality. The following tutorial shows how to configure your xdmcp: http://wmltd.co.uk/index.php/products/nomachine_thin_client/setting_up_x

For SUSE

For KDE display manager

  • enable xinetd's vnc service

Look at /etc/xinet.d/vnc, outcomment the line saying disable=yes from the first vnc section. It should look like this:

service vnc1
{
        #disable        = yes
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = nobody
        server          = /usr/bin/Xvnc
        server_args     = -SecurityTypes None -inetd -once -query localhost -geometry 1024x768 -depth 16
        type            = UNLISTED
        port            = 5901
}
  • allow your display manager to serve xdmcp:

Edit /opt/kde3/share/config/kdmrc. In the [xdmcp] section, make sure enable is set to true:

enable=true
  • set yast2 -> System -> /etc/sysconfig editor -> Desktop -> Display Manager -> DISPLAYMANAGER_REMOTE_ACCESS to true
  • restart the services (killing your login)
rcxinetd restart
rcxdm restart
  • connect with vncviewer localhost:1

For gdm

  • enable xinetd's vnc service

Look at /etc/xinet.d/vnc, outcomment the line saying disable=yes from the first vnc section. It should look like this:

service vnc1
{
        #disable        = yes
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = nobody
        server          = /usr/bin/Xvnc
        server_args     = -SecurityTypes None -inetd -once -query localhost -geometry 1024x768 -depth 16
        type            = UNLISTED
        port            = 5901
}
  • set yast2 -> System -> /etc/sysconfig editor -> Desktop -> Display Manager -> DISPLAYMANAGER_REMOTE_ACCESS to yes
  • restart the services (killing your login)
rcxinetd restart
rcxdm restart
  • connect with vncviewer localhost:1

See also