Cannot Launch vncserver


Results 1 to 5 of 5

Thread: Cannot Launch vncserver

  1. #1
    Join Date
    Feb 2003
    Posts
    3

    Cannot Launch vncserver

    Hi.

    Well, today was my first Linux install, and I am mightily frustrated.

    Everything went fine up to running vncserver: "command not found".

    Where the heck is that file ?? I've found vncviewer, but "find" does not find vncserver, as if it were not installed at all. I've actually installed it three times, twice from the graphical RedHat package manager, and last time as a straight RPM from their ATT.UK site.

    I've tried launching it as the local su and as a regular telnet user, and as a regular local user.

    I'm using RH 8.0 with the latest automatic updates.

    - how do I know if the server package got installed correctly ?
    - where do the files go by default ?
    - is there a specific "server" package to install ? Where is it at ?

    Any help will be mightily appreciated.

    Olivier

  2. #2
    Join Date
    Sep 2002
    Location
    San Antonio, TX
    Posts
    2,607
    For me it is int he default path
    [root@localhost root]# which vncserver
    /usr/bin/vncserver

    You can try

    rpmquery -all |grep -i vncserver

    If it is installed, that will tell the location. Patience thought, that will scan every installed file on the system.

    hlrguy
    Were you a Windows expert the VERY first time you looked at a computer with Windows, or did it take a little time.....
    My Linux Blog
    Linux Native Replacements for Windows Programs
    Mandriva One on a "Vista Home Barely" T3640 E-Machine runs great.

  3. #3
    Join Date
    Feb 2003
    Posts
    3

    Nope

    thanks for your quick reply.

    - which returned 4 directories in which it does NOT find the file

    - rpm... grep returned vncserver.1 and vncserver.init

    -> I manually copied the files where you found them, and now it works. Thanks a lot.

    Alas, a couple more issues

    - I "telnet" host, then "vncserver", then launch my vncviewer, but i'm stuck in text mode... how do I get into the graphical windows manager ? startx says X is already running, closing the text terminal puts me into a very blank screen ;-/

    - the RedHat graphical package management tool now dies during the inventory phase, towards the end of it. It must be the wxay I moved stuff arround that killed it. Is there anyway to have it rebuild its indexes ?

    XXX, Olivier

  4. #4
    Join Date
    Feb 2003
    Posts
    3

    vnserver launches twm not kde

    my bad, it's not a text screen, it's twm.

    I'm a bit affraid to experiment. Should I just replace " & twm" with " & kde" in .vnc/xstartup, in the xterm launch parameters ?

    best regards again, Olivier

  5. #5
    Join Date
    Sep 2002
    Location
    San Antonio, TX
    Posts
    2,607
    This is my config, installed by Redhat during install...

    [root@localhost .vnc]# pwd
    /root/.vnc
    [root@localhost .vnc]# more xstartup
    #!/bin/sh

    # Red Hat Linux VNC session startup script
    exec /etc/X11/xinit/xinitrc

    You can just cp xstartup xstartup_orig and then play. Also, search here for 'vnc AND xstartup', you will find all you want to know.

    hlrguy
    Were you a Windows expert the VERY first time you looked at a computer with Windows, or did it take a little time.....
    My Linux Blog
    Linux Native Replacements for Windows Programs
    Mandriva One on a "Vista Home Barely" T3640 E-Machine runs great.

Posting Permissions

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