Results 1 to 6 of 6

Thread: Debian Help

  1. #1
    Poster
    Join Date
    Jul 2009
    Posts
    52
    I need to know how to install KDE on debian 5. I get an error saying cannot connect to X server.
    Last edited by rey; 09-28-2009 at 12:16 PM.

  2. BitTorrent   -   #2
    Poster
    Join Date
    Jul 2009
    Posts
    52
    Anyone?

  3. BitTorrent   -   #3
    OlegL's Avatar Poster
    Join Date
    May 2009
    Location
    New York City
    Age
    42
    Posts
    1,832
    I assume, you ran the command "apt-get install kde"?

  4. BitTorrent   -   #4
    Poster
    Join Date
    Jul 2009
    Posts
    52
    yep, how do i get it enabled on vnc?

  5. BitTorrent   -   #5
    OlegL's Avatar Poster
    Join Date
    May 2009
    Location
    New York City
    Age
    42
    Posts
    1,832
    In your home directory, there should be .vnc directory. In that directory, you'll find xstartup file. Remove everything from that file and add "startkde" (without the quotes) to the file. Save the file and you know what to do after that. But you may want to back up that file before changing anything in it.
    Last edited by OlegL; 09-29-2009 at 07:36 PM.

  6. BitTorrent   -   #6
    If Olegl's suggestion doesn't work try this:

    cd .vnc
    sudo nano xstartup

    Replace the contents with the below:

    #!/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 &
    xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
    startkde &
    ctrl-x, to save and quit.

    Restart vncserver:

    sudo vnc4server (vncserver) restart

Bookmarks

Posting Permissions

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