Page 6 of 7 FirstFirst ... 4567 LastLast
Results 51 to 60 of 69

Thread: HOWTO: Set up VNC server with resumable sessions - KUBUNTU VERSION

  1. #51
    Join Date
    Nov 2007
    Beans
    10

    Re: HOWTO: Set up VNC server with resumable sessions - KUBUNTU VERSION

    is there anyway is can set this for mutiple users as in i want to make 5 users and let each have access to an account how can i do this?

  2. #52
    Join Date
    Nov 2007
    Beans
    12

    Re: HOWTO: Set up VNC server with resumable sessions - KUBUNTU VERSION

    Hello,

    I am also looking to run vnc4server on a kubuntu 7,04 and try to connect to display :0
    Does anyone already succeed in that
    Which parameter do I have to change in the xinet file to achieve that. i tried to change the 5901 to 5900, but it seems only to change the port as i could expect it.

    Thanks,

    specher

  3. #53
    Join Date
    Aug 2006
    Beans
    4

    Re: HOWTO: Set up VNC server with resumable sessions - KUBUNTU VERSION

    Code:
    sudo apt-get install vnc4server xinetd xvncviewer
    This completly removes VMware. I did not see that coming. I am total screwed now. All my servers are gone.

    -R

  4. #54
    Join Date
    Oct 2005
    Beans
    245
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Set up VNC server with resumable sessions - KUBUNTU VERSION

    Quote Originally Posted by RavonTUS View Post
    Code:
    sudo apt-get install vnc4server xinetd xvncviewer
    This completly removes VMware. I did not see that coming. I am total screwed now. All my servers are gone.

    -R
    Um.. no. It does no such thing. Something else must have gone horribly wrong if VMware was uninstalled by apt-get.

  5. #55
    Join Date
    Jan 2008
    Beans
    2

    Problem on Log-out

    Hi everyone,

    I'm a little new to this, but followed this tutorial (and the other version somewhere on these forums) I've managed to get both hamachi and xvnc loading on startup, letting me log into my kubuntu box from wherever I get a connection, fantastic.

    The problem is, if I am in a vnc session and I choose to log out, then my main session (the one on the monitor physically connected to the box) logs out also to the shutdown screen and hangs there.

    Any ideas?

    I'm using Kubuntu 6.06 (i think), and everything else seems to be working exactly as expected.

  6. #56
    Join Date
    Nov 2006
    Beans
    8

    Re: HOWTO: Set up VNC server with resumable sessions - KUBUNTU VERSION

    Hi,

    I have followed everything to a tee from the beginning but if I puTTY to the server and run "vncviewer localhost:0" I get the message ...

    unable to open display ""

    I have double checked everything. How can I debug/trace this? This is on Gutsy Ubuntu Server.

    If I puTTY to the server and run vnc4server it returns ...

    New 'desktop-1:2 (beezlebub)' is desktop-1:2

    I should mention also that the server is sitting at the logon display and this is on my network between 2 Kubuntu Gutsy machines and server temporarily has no firewall (behind NAT router).

    Thanks, Rich
    Last edited by flowersrj; January 24th, 2008 at 12:37 PM.

  7. #57
    Join Date
    Dec 2004
    Beans
    1,068
    Distro
    Xubuntu 15.10 Wily Werewolf

    Re: HOWTO: Set up VNC server with resumable sessions - KUBUNTU VERSION

    I got this set up fine on localhost, but am unable to connect using my external IP address or DynDNS address. Port 5901 is open on my router and forwarded to this PC. www.canyouseeme.org says the port is open but I can't telnet my external Ip on 5901...

    What am I missing?

    [edit]

    seems there are two or three ports open for vnc, judging by nmap. How to disable whatever service is on 5900 (assuming this is in some way responsible for my problem) ?

    22/tcp open ssh
    631/tcp open ipp
    5800/tcp open vnc-http
    5900/tcp open vnc
    5901/tcp open vnc-1
    6001/tcp open X11:1
    6881/tcp open bittorent-tracker
    8080/tcp open http-proxy
    Last edited by pickarooney; June 18th, 2008 at 11:48 PM.

  8. #58
    Join Date
    Oct 2007
    Beans
    7

    Re: HOWTO: Set up VNC server with resumable sessions - KUBUNTU VERSION

    OK, I'm using kubuntu 8.04 (hardy heron). I have Xvnc, vnc4server installed. I know xinetd is working - it starts running Xvnc OK, and runs chargen and daytime too fine.

    I don;t have a /etc/vnc.conf file - it seems this was never installed. I'm not using a vnc password (although this does work if I enable in the xinetd conf).

    vncviewer starts, connects but then immediately disconnects, looks like it can't find kdm. Here are my various files:

    /etc/xinetd.d/Xvnc

    Code:
    service Xvnc
    {
            type = UNLISTED
            disable = no
            socket_type = stream
            protocol = tcp
            wait = yes
            user = root
            server = /usr/bin/Xvnc
            server_args = -inetd :1 -query localhost -geometry 800x480 -depth 16 -once
    -fp /usr/share/fonts/X11/misc/ -DisconnectClients=0 -NeverShared -SecurityTypes Non
    e
            port = 5901
    }
    /etc/kde3/kdm/kdmrc

    Code:
    [X-*-Greeter]
    AntiAliasing=true
    ColorScheme=
    EchoMode=OneStar
    FaceSource=PreferUser
    FailFont=Sans Serif,10,-1,5,75,0,0,0,0,0
    GUIStyle=
    GreetFont=Sans Serif,22,-1,5,50,0,0,0,0,0
    GreetString=Welcome to Kubuntu at %n
    GreeterPos=50,50
    HiddenUsers=
    Language=en_GB
    LogoArea=Clock
    LogoPixmap=/usr/share/apps/kdm/pics/kdelogo.png
    MaxShowUID=29999
    MinShowUID=1000
    Preloader=/usr/bin/preloadkde
    SelectedUsers=
    ShowUsers=NotHidden
    SortUsers=true
    StdFont=Sans Serif,10,-1,5,50,0,0,0,0,0
    Theme=@@@ToBeReplacedByDesktopBase@@@
    UseBackground=true
    UserCompletion=false
    UserList=true
    
    [X-:*-Core]
    AllowNullPasswd=true
    AllowShutdown=All
    NoPassEnable=false
    NoPassUsers=
    ServerArgsLocal=
    ServerCmd=/usr/bin/X -br
    
    [X-:*-Greeter]
    AllowClose=true
    DefaultUser=bob
    FocusPasswd=true
    LoginMode=DefaultLocal
    PreselectUser=Previous
    
    [X-:0-Core]
    AutoLoginAgain=false
    AutoLoginDelay=0
    AutoLoginEnable=false
    AutoLoginLocked=false
    AutoLoginUser=bob
    ClientLogFile=.xsession-errors
    
    [Xdmcp]
    Enable=true
    Port=177
    KeyFile=/etc/kde3/kdm/kdmkeys
    Xaccess=/etc/kde3/kdm/Xaccess
    Willing=/etc/kde3/kdm/Xwilling
    Xaccess is, in part

    Code:
    *                                       #any host can get a login window
    
    
    *               CHOOSER BROADCAST       #any indirect host can get a chooser
    Any ideas what I may be missing?

  9. #59
    Join Date
    Aug 2008
    Beans
    2

    resumable sessions - with GLX-extension support?

    Hello,

    thanks to this howto I've successfully installed 7 parallel resumable VNC-sessions (displays 1 to 7 and ports 5901 to 5907 respectively) on a kubuntu hardy heron (HP DL160 server). Now up to 7 users can simultaneously run separate resumable VNC sessions via Xvnc.

    But there is one problem - I haven't found a solution, yet:
    I enabled the GLX-extension for the Matrox G200e of the server (we need GLX-extension for compiling a library). The problem is that GLX is only available on display :0. This means that the extension runs on the server-console in the server-room, but not via the Xvnc-connections (displays :1.0 to :7.0).
    E.g. glxinfo delivers this when I run it via VNC (display :1):
    Code:
    name of display: ibiapowerslave01.local:1.0
    Xlib:  extension "GLX" missing on display "ibiapowerslave01.local:1.0".
    Xlib:  extension "GLX" missing on display "ibiapowerslave01.local:1.0".
    Xlib:  extension "GLX" missing on display "ibiapowerslave01.local:1.0".
    Error: couldn't find RGB GLX visual
    
       visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
     id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
    ----------------------------------------------------------------------
    Xlib:  extension "GLX" missing on display "ibiapowerslave01.local:1.0".
    Xlib:  extension "GLX" missing on display "ibiapowerslave01.local:1.0".
    0x21 16 tc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None
    Xlib:  extension "GLX" missing on display "ibiapowerslave01.local:1.0".
    Xlib:  extension "GLX" missing on display "ibiapowerslave01.local:1.0".
    0x22 16 dc  1  0  0 c  .  .  0  0  0  0  0  0  0  0  0  0  0  0 0 None


    Has someone of you faced a comparable problem? Does someone know a solution for this issue?
    I'd be very grateful for some hints and inspirations!

    cheers, lars

  10. #60
    Join Date
    Aug 2008
    Beans
    2

    Re: resumable sessions - with GLX-extension support?

    Quote Originally Posted by lars-friedrich View Post
    Hello,

    thanks to this howto I've successfully installed 7 parallel resumable VNC-sessions (displays 1 to 7 and ports 5901 to 5907 respectively) on a kubuntu hardy heron (HP DL160 server). Now up to 7 users can simultaneously run separate resumable VNC sessions via Xvnc.
    Could you paste here some contents of your relevant config files?
    I try to set up resumable sessions, but it doesn't work for me yet.

    Although this is Debian, I think there isn't many differences...
    For me, the Xvnc itself works well, I can log in from another machine and work on the desktop.
    ...but if I close the vncviewer window, I loose my work.

    I've tried some configurations (modifications in /etc/xinet.d/xvncserver), but without success. Sometimes the server refused the connection, for example when I gave DisconnectClients=0 option...

    Also, if I enable "wait" in this config file, the clients waits forever... at least too much time, so I think something doesn't do the right thing... What is this option for?

    Now I will try to install xvnc4server (there is Xvnc in the config at this time), I hope it will help me...

    ----

    Anyway, if I could set this up, can I start these sessions (and the applications they have to run) at the boot time? - so, before the user logs in by vnc.

    I hope you can help me.

Page 6 of 7 FirstFirst ... 4567 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
  •