View previous topic :: View next topic |
Author |
Message |
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2969
|
Posted: Wed Sep 14, 2005 12:50 am Post subject: how to get kdm over vnc session? |
|
|
Good morning...
I have just set up a gentoo 2005.1 system with kde. I wish to connect to the display remotely via VNC.
Currently I log in via text console over SSH (using putty on windows) and start vncserver manually. But this is very tedious.
Is there any way to have kdm start up, but attached to vncserver instead of a normal X server? In other words, is there any way to have vnc client connect to my gentoo box and get the kdm display?
Thanks in advance. |
|
Back to top |
|
|
tom78999 n00b
Joined: 25 Apr 2005 Posts: 12 Location: UK
|
Posted: Wed Sep 14, 2005 1:11 am Post subject: |
|
|
You should be able to add the command to start the VNC Server to the KDM startup script, which I believe is located at:
Code: | /usr/kde/*/share/config/kdm/Xsetup |
I do a similar thing with GDM and x11vnc by adding the following to the end (but before "exit 0") of the GDM startup script (at /etc/X11/gdm/Init/Default):
Code: | /usr/bin/x11vnc -o /tmp/x11vnc.log -rfbauth /home/tom/.vncpasswd -forever -bg |
Hope this helps! |
|
Back to top |
|
|
widremann Veteran
Joined: 14 Mar 2005 Posts: 1314
|
Posted: Wed Sep 14, 2005 1:59 am Post subject: |
|
|
Or, enabled XDMCP in your /usr/kde/3.4/share/config/kdm/kdmrc file (near the bottom I think) and then when you start the VNC server, pass "-query localhost" as a command line parameter. Make sure to restart xdm for the XDMCP settings to take effect. |
|
Back to top |
|
|
tuxian l33t
Joined: 26 Jan 2004 Posts: 766 Location: Austria
|
Posted: Thu Oct 13, 2005 8:42 am Post subject: |
|
|
tom78999 wrote: | You should be able to add the command to start the VNC Server to the KDM startup script, which I believe is located at:
Code: | /usr/kde/*/share/config/kdm/Xsetup |
I do a similar thing with GDM and x11vnc by adding the following to the end (but before "exit 0") of the GDM startup script (at /etc/X11/gdm/Init/Default):
Code: | /usr/bin/x11vnc -o /tmp/x11vnc.log -rfbauth /home/tom/.vncpasswd -forever -bg |
Hope this helps! |
Many thanks, works fine for me |
|
Back to top |
|
|
|