Posts: 26
Joined: Feb 2009
Reputation:
0
2009-03-22, 22:49
(This post was last modified: 2009-04-20, 00:21 by Halvliter.)
I'm looking for a way to remote control my Ubuntu-computer with a Windows-laptop, with XBMC running fullscreen on my LCD-TV.
I've used a VNC Viewer for Windows until now. My main reason for doing this is renaming and moving files, unpacking form RAR-files, etc... and do background work with my media-material while XBMC is running.
Edit: Managed to work things out with No Machine, check last post.
Posts: 15,263
Joined: Jan 2009
Reputation:
727
ronie
Team-Kodi Member
Posts: 15,263
How about ssh ?
You can use Putty to log into your ubuntu pc and do everything you need.
It's command line only, but if that is a problem for you then can try X11 forwarding with Putty.
Posts: 26
Joined: Feb 2009
Reputation:
0
When I log on with Real VNC Viewer with XBMC running, I have to shut down XBMC to be able to browse the folders etc... It's very possible I'm doing something wrong, I've only used Ubuntu for a few weeks. I use 8.04 Hardy Heron.
What is X11 and how do I forward it with Putty ?
Posts: 110
Joined: Dec 2008
Reputation:
0
Yeah, you make a Samba share on the Ubuntu box, then you can map it in Windows.
Posts: 26
Joined: Feb 2009
Reputation:
0
It took some time, but finally I have my new computer.
I have installed NX Server (along with client and Node) on my Ubuntu machine, but I can't connect on my Windows maching.
This is the error in /var/log/messages:
Apr 18 19:40:38 mediacenter-desktop NXSERVER-3.3.0-22[8765]: ERROR: (exception id 35776705) NX> 596 ERROR: NXNODE Ver. 3.3.0-17 (Error id e579F87)
Apr 18 19:40:38 mediacenter-desktop NXSERVER-3.3.0-22[8765]: ERROR: (exception id 35776705) NX> 596 ERROR: create session: run commands
Apr 18 19:40:38 mediacenter-desktop NXSERVER-3.3.0-22[8765]: ERROR: (exception id 35776705) NX> 596 ERROR: execution of last command failed
Apr 18 19:40:38 mediacenter-desktop NXSERVER-3.3.0-22[8765]: ERROR: (exception id 35776705) NX> 596 last command: /bin/bash --login -c 'xauth -v source /home/mediacenter/.nx/C-mediacenter-desktop-1011-5A369770DB040117A7AC68FFAE3D5FD2/scripts/authority'
Apr 18 19:40:38 mediacenter-desktop NXSERVER-3.3.0-22[8765]: ERROR: (exception id 35776705) NX> 596 exit value: 1
Apr 18 19:40:38 mediacenter-desktop NXSERVER-3.3.0-22[8765]: ERROR: (exception id 35776705) NX> 596 stdout:
Apr 18 19:40:38 mediacenter-desktop NXSERVER-3.3.0-22[8765]: ERROR: (exception id 35776705) NX> 596 stderr: xauth: error in locking authority file /home/mediacenter/.Xauthority
Apr 18 19:40:38 mediacenter-desktop NXSERVER-3.3.0-22[8765]: ERROR: (exception id 35776705) NX> 596 init: stdin arguments: user=mediacenter,userip=192%2e168%2e1%2e37,uniqueid=5A369770DB040117A7AC68FFAE3D5FD2,display=1011,node_number=0,server_name=mediacenter%2ddesktop,license=%28None%29,subscriptionid=None,productid=LFE,reconnect=1,balance_host=192%2e168%2e1%2e44,encryption_mode=3,connection=local,images=64M,cache=16M,client=winnt,media=0,backingstore=1,encryption=1,strict=0,clipboard=both,shpix=1,rootless=0,composite=1,session=Intern,shmem=1,type=unix%2dgnome,virtualdesktop=1,screeninfo=1680x990x32%2brender,keyboard=pc102%2fno,geometry=1680x990,link=lan
Apr 18 19:40:38 mediacenter-desktop NXSERVER-3.3.0-22[8765]: ERROR: (exception id 35776705) NXNodeExec::exec('startsession', 'user=mediacenter&userip=192%2e168%2e1%2e37&uniqueid=5A369770DB04...', 'localhost', 22) called at handlers/nxserver.pl line 3533
Apr 18 19:40:38 mediacenter-desktop NXSERVER-3.3.0-22[8765]: ERROR: (exception id 35776705) NXShell::handler_session_start('--link="lan" --backingstore="1" --encryption="1" --cache="16M" -...') called at NXShell.pm line 373
Apr 18 19:40:38 mediacenter-desktop NXSERVER-3.3.0-22[8765]: ERROR: (exception id 35776705) NXShell::handle_command('startsession', '--link="lan" --backingstore="1" --encryption="1" --cache="16M" -...') called at NXShell.pm line 145
Apr 18 19:40:38 mediacenter-desktop NXSERVER-3.3.0-22[8765]: ERROR: (exception id 35776705) NXShell::run() called at nxserver.pl line 4470
Apr 18 19:40:38 mediacenter-desktop NXSERVER-3.3.0-22[8765]: ERROR: (exception id 35776705) eval {...} called at nxserver.pl line 4429
Posts: 2,529
Joined: Apr 2009
Reputation:
8
I agree that multiple sessions are needed for the exact same reasons that you mentioned. I am not sure why most people do not see the need.
I do not know NX or how to fix you problem.
What I do know is:
1) XDMCP is ready for use in standard ubuntu. Just enable remote access and you connect to a background x session.
It can be accessed from windows with e.g. Xming. I have also used another ubtuntu in wmware on my win laptop. That latter works very good if you have a powerful laptop. Just select options in the login screen and then connect to the media center.
I would recommend Xfce or another light weight window manager for remote use instead of gnome. It takes less power from the console and it seem to work better.
2) It is possible to start a vnc server with multiple session. The problem is that the default ubuntu vncserver does not support it. You need to install another one.
I spent a lot of time on this when I started with linux (2 weeks ago...) I do not use it, but I still have my notes.
Let me know if you want any help with any of these alternatives and I will post my notes somewhere.
//J