Find the answer to your Linux question:
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: ...
  1. #1
    Just 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/xstartup
    Code:
    #!/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 &
    Plese help me out

  2. #2
    Just Joined!
    Join Date
    Oct 2004
    Location
    Auckland, New Zealand
    Posts
    61
    i had to change this line
    Code:
    x-window-manager &
    to this line
    Code:
    startkde &
    may help
    Last edited by Spagnuts; 12-28-2007 at 12:45 PM. Reason: been a while

  3. #3
    Just Joined!
    Join Date
    Dec 2007
    Posts
    9
    First of all
    Tried with the following
    Didn't work
    Code:
    #!/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 &
    However its worth to mention
    the files /etc/vnc/xstartup and
    $HOME/.Xresources doesn't exists

  4. #4
    Just 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

    Code:
    ps -e | less
    looked for Xvnc and its process ID, mine was 2786
    Code:
    top -p 2786
    good luck

  5. #5
    Just 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

  6. #6
    Just Joined!
    Join Date
    Dec 2007
    Posts
    9
    I've Installed x11vnc and my problem is solved.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •