Results 1 to 3 of 3

Thread: connecting win7 to ubuntu through VNC

  1. #1
    Join Date
    Oct 2010
    Beans
    2

    connecting win7 to ubuntu through VNC

    Hi am using win7 trying to connect to a ubuntu box using vnc. I managed to get it working for me with the full gui viewable. Then one of my housemates played around with some display settings for the backround and all of a sudden vnd only comes up with a terminal.

    I went into terminal and attempted to start gdm and got this output

    root@ben-desktop:/home/ben# gdm start

    ** (gdm-binary:21376): WARNING **: Failed to acquire org.gnome.DisplayManager

    ** (gdm-binary:21376): WARNING **: Could not acquire name; bailing out
    root@ben-desktop:/home/ben#

    my ssh works fine using putty. I have looked in my /etc/gdm/custom.conf and this is the contents:
    have i got anything wrong in there or am i missing any statements?

    [daemon]
    RemoteGreeter=/usr/lib/gdm/gdmlogin
    AutomaticLoginEnable=true
    AutomaticLogin=ben
    TimedLoginEnable=true
    TimedLogin=ben
    TimedLoginDelay=10

    DefaultSession=xubuntu

    [security]
    AllowRoot=true
    AllowRemoteRoot=true
    AllowRemoteAutoLogin=true
    PasswordRequired=true

    [xdmcp]

    DisplaysPerHost=1

    Enable=true
    Port=177

    Any ideas would be much appreciated. cheers

  2. #2
    Join Date
    Oct 2010
    Beans
    2

    Re: connecting win7 to ubuntu through VNC

    also when i try to run the vnc server with this code, i get the message server is already running

    vncserver :1 -geometry 1024x768 -depth 16 -pixelformat rgb565


    when i look at ps -al to see processes i get this output:

    F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
    4 S 0 3214 3143 0 80 0 - 1159 wait pts/4 00:00:00 su
    0 S 0 3221 3214 0 80 0 - 1148 wait pts/4 00:00:00 bash
    4 S 0 3940 3861 0 80 0 - 1159 wait pts/0 00:00:00 su
    0 S 0 3948 3940 0 80 0 - 1168 n_tty_ pts/0 00:00:00 bash
    4 R 0 21419 3221 0 80 0 - 625 - pts/4 00:00:00 ps

    so doesnt appear to be running

  3. #3
    Join Date
    Apr 2008
    Location
    Earth
    Beans
    42
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: connecting win7 to ubuntu through VNC

    Hello, could anyone help connect to ubuntu 10.04 from windows 7 using vncviewer 4. I could connect but all I see is an empty display.
    Here is the xstartup config file and the screenshot. I ran vncserver from the terminal as: vncserver :1 -geometry 1024x768 -depth 16

    xstartup file: http://pastebin.com/emANxMd8
    Attached Images Attached Images

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
  •