Page 41 of 64 FirstFirst ... 31394041424351 ... LastLast
Results 401 to 410 of 637

Thread: HOWTO: Set up VNC server with resumable sessions

  1. #401
    Join Date
    Feb 2008
    Beans
    36

    Re: HOWTO: Set up VNC server with resumable sessions

    Does anyone know how to start a second VNC session that also goes to the remote greeter instead of using my home/username/.vnc/xstartup preference? Can I modify gdm.conf or xstartup to envoke another remote greeter when I VNC to <server IP>:2?

    Currently my xstarup starts gnome desktop when I VNC to <server IP>:2.
    Thanks!
    Last edited by chelrob; March 11th, 2008 at 11:20 PM.

  2. #402
    Join Date
    Jul 2007
    Beans
    9

    Re: HOWTO: Set up VNC server with resumable sessions

    Hey guys just trying to get basic vnc4server going at the mo before auto start.

    Had RealVNC loaded but could not get this to work properly. Everything worked ok except the keyboard characters were wrong. so deinstalled and install vnc4server.

    No mostly working, but get vnc client screen with xterm window only wiht a command line prompt in top left hand corner of screen. Cannot see graphical desktop. If I exit xterm by typing "exit" at command line I get a screen with check boxes saying "Accept clipboard from viewers" "Send clipboard to viewers" and "Send primary selection to viewers".

    I guess I am not starting the correct gdm for some reason. Log file as below. Not sure if errors are serious as I have not moved /installed fonts etc

    Any ideas where to check?

    Thanks

    Log file output shows minor font errors;

    chris@maxii:~/.vnc$ cat maxii:2.log

    Xvnc Free Edition 4.1.1
    Copyright (C) 2002-2005 RealVNC Ltd.
    See http://www.realvnc.com for information on VNC.
    Underlying X server release 70000000, The X.Org Foundation


    Sun Mar 9 10:02:29 2008
    vncext: VNC extension running!
    vncext: Listening for VNC connections on port 5902
    vncext: created VNC server for screen 0
    Could not init font path element /usr/share/fonts/X11/TTF/, removing from list!
    Could not init font path element /usr/share/fonts/X11/OTF, removing from list!
    Could not init font path element /usr/share/fonts/X11/CID/, removing from list!
    /home/chris/.vnc/xstartup: 12: twm: not found

    Sun Mar 9 10:02:38 2008
    Connections: accepted: 192.168.1.21::1250
    SConnection: Client needs protocol version 3.8
    SConnection: Client requests security type VncAuth(2)

    Sun Mar 9 10:02:41 2008
    VNCSConnST: Server default pixel format depth 16 (16bpp) little-endian rgb565
    VNCSConnST: Client pixel format depth 8 (8bpp) rgb max 3,3,3 shift 4,2,0

    Sun Mar 9 10:03:09 2008
    Connections: closed: 192.168.1.21::1250 (Clean disconnection)
    SMsgWriter: framebuffer updates 2
    SMsgWriter: ZRLE rects 3, bytes 591
    SMsgWriter: raw bytes equivalent 786980, compression ratio 1331.607445
    Last edited by Linuxnz; March 8th, 2008 at 10:43 PM. Reason: add log

  3. #403
    Join Date
    Feb 2008
    Beans
    36

    Re: HOWTO: Set up VNC server with resumable sessions

    Sounds like you need to edit your /home/username/.vnc/xstartup file to launch a graphical desktop.

    Just google xstarup and gnome or xstarup and KDE to find examples of how to edit xstartup.

    Here's a my 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 &
    #xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
    #twm &
    gnome-session &
    #xfce4-session &
    #startkde &
    I have examples there for Gnome, KDE, and Xfce4.
    Last edited by chelrob; March 11th, 2008 at 11:14 PM.

  4. #404
    Join Date
    Jul 2007
    Beans
    9

    Re: HOWTO: Set up VNC server with resumable sessions

    Yep, that did it alright. All fixed.

    Thanks Chelrob.

    Much appreciated.

    Ubuntu forums as always such a great community.


  5. #405
    Join Date
    Mar 2008
    Beans
    14

    Re: HOWTO: Set up VNC server with resumable sessions

    Hi all..been reading this thread and have gotten pretty far..I am running Ubuntu 7.10 desktop, and am having the following problem:

    I don't have the gdm.conf file at ALL where it references in the guide..the ONLY place I have it is /etc/gdm/gdm.conf and I have modified that to be correct, but since it isn't working, I have to wonder if that's the reason..what, if anything, do I need to install to get the full path that is in the guide?

    When I manually run the Xvnc command, I can VNC remotely, and get the passwd prompt..when I enter that, I get the pixelated screen with the grey "X" as the mouse curser, nothing else..

    When I try and let xinetd take care of it, I get "Connection reset by Peer" for the first attempt(with no passwd prompt)
    and if I try to reconnect, I get "Connection refused"

    Any help with this would be greatly appreciated..I've read so many guides my head is spinning!

  6. #406
    Join Date
    Feb 2008
    Beans
    36

    Re: HOWTO: Set up VNC server with resumable sessions

    Quote Originally Posted by Linuxnz View Post
    Yep, that did it alright. All fixed.

    Thanks Chelrob.

    Much appreciated.

    Ubuntu forums as always such a great community.

    You're welcome

  7. #407
    Join Date
    Feb 2008
    Beans
    36

    Re: HOWTO: Set up VNC server with resumable sessions

    @kenimen
    Are you following this guide: http://www.movingtofreedom.org/2007/...dgy-gnu-linux/

    Check out my comments here: http://ubuntuforums.org/showpost.php...&postcount=390

    Try this command to find all gdm.conf files on your system...
    Code:
    sudo find / -name 'gdm.conf'
    Last edited by chelrob; March 18th, 2008 at 05:47 AM.

  8. #408
    Join Date
    Mar 2008
    Beans
    14

    Re: HOWTO: Set up VNC server with resumable sessions

    Quote Originally Posted by chelrob View Post
    @kenimen
    Are you following this guide: http://www.movingtofreedom.org/2007/...dgy-gnu-linux/

    Check out my comments here: http://ubuntuforums.org/showpost.php...&postcount=390

    Try this command to find all gdm.conf files on your system...
    Code:
    sudo find / -name 'gdm.conf'
    Yes, I followed both of those actually..and the path for gdm.conf that you and the website are talking about doesn't exist on my machine..

  9. #409
    Join Date
    Mar 2008
    Beans
    14

    Re: HOWTO: Set up VNC server with resumable sessions

    is anyone else running into this issue, or am I the lucky one?

  10. #410
    Join Date
    Feb 2008
    Beans
    36

    Re: HOWTO: Set up VNC server with resumable sessions

    What OS is the client PC running?

    Are you just opening the VNC client and typing <server IP> :1?
    Example:
    Code:
    172.16.1.102:1

Page 41 of 64 FirstFirst ... 31394041424351 ... LastLast

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
  •