Results 1 to 6 of 6
I've installed vnc4server on my debian (runnign KDE as the default Desktop)
If I connect using vnc on localhost I see a screen like this
This is my $HOME/.vnc/xstartup
Code:
...
- 12-28-2007 #1Just Joined!
- Join Date
- Dec 2007
- Posts
- 9
VNC not working on current KDE desktop
I've installed vnc4server on my debian (runnign KDE as the default Desktop)
If I connect using vnc on localhost I see a screen like this

This is my $HOME/.vnc/xstartupPlese help me outCode:#!/bin/sh # Uncomment the following two lines for normal desktop: unset SESSION_MANAGER exec /etc/X11/xinit/xinitrc [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & x-window-manager &
- 12-28-2007 #2Just Joined!
- Join Date
- Oct 2004
- Location
- Auckland, New Zealand
- Posts
- 61
i had to change this line
to this lineCode:x-window-manager &
may helpCode:startkde &
Last edited by Spagnuts; 12-28-2007 at 12:45 PM. Reason: been a while
- 12-28-2007 #3Just Joined!
- Join Date
- Dec 2007
- Posts
- 9
First of all
Tried with the following
Didn't work
However its worth to mentionCode:#!/bin/sh # Uncomment the following two lines for normal desktop: unset SESSION_MANAGER exec /etc/X11/xinit/xinitrc [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & startkde &
the files /etc/vnc/xstartup and
$HOME/.Xresources doesn't exists
- 12-28-2007 #4Just Joined!
- Join Date
- Oct 2004
- Location
- Auckland, New Zealand
- Posts
- 61
who is running the Xvnc server?
Think once it was running as root so the files you need are in /root/.vnc
Im still new but have had vnc working on most distros, this is how i checked who was running Xvnc
looked for Xvnc and its process ID, mine was 2786Code:ps -e | less
good luckCode:top -p 2786
- 01-01-2008 #5Just Joined!
- Join Date
- Dec 2007
- Posts
- 9
No VNC is not running as root its running as the Current User
Another one clue I've found
Code:echo $SESSION_MANAGER local/zigdeb:/tmp/.ICE-unix/4505
- 01-01-2008 #6Just Joined!
- Join Date
- Dec 2007
- Posts
- 9
I've Installed x11vnc and my problem is solved.


Reply With Quote
