kerzner
asked on
Remote GUI seesion connecting to Ubuntu
Hi experts,
I want to connect to Ubuntu remotely, and work as if I am doing it locally. I dont' want to connect to existing user and help him, rather I want to use my machine from another location. I am connecting from Ubuntu, so that part is easy.
Thank you.
I want to connect to Ubuntu remotely, and work as if I am doing it locally. I dont' want to connect to existing user and help him, rather I want to use my machine from another location. I am connecting from Ubuntu, so that part is easy.
Thank you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I don't see attached file, so I post it here
esterk@mark-desktop:~$ GNOME_KEYRING_SOCKET=/tmp/ keyring-gg i2Us/socke t
SSH_AUTH_SOCK=/tmp/keyring -ggi2Us/so cket.ssh
GNOME_KEYRING_PID=17530
(gnome-settings-daemon:175 31): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
** (gnome-settings-daemon:175 31): WARNING **: You can only run one xsettings manager at a time; exiting
** (gnome-settings-daemon:175 31): WARNING **: Unable to start xsettings manager: Could not initialize xsettings manager.
Checking for Xgl: not present.
xset q doesn't reveal the location of the log file. Using fallback /var/log/Xorg.0.log
No whitelisted driver found
aborting and using fallback: /usr/bin/metacity
Window manager warning: Failed to read saved session file /home/esterk/.config/metac ity/sessio ns/10dfb7f 8721bf6f23 1242666738 2652530000 0175180024 .ms: Failed to open file '/home/esterk/.config/meta city/sessi ons/10dfb7 f8721bf6f2 3124266673 8265253000 0017518002 4.ms': No such file or directory
** (gnome-panel:17554): DEBUG: Adding applet 0.
** (gnome-panel:17554): DEBUG: Initialized Panel Applet Signaler.
** (gnome-panel:17554): DEBUG: Adding applet 1.
** (gnome-panel:17554): DEBUG: Adding applet 2.
** (gnome-panel:17554): DEBUG: Adding applet 3.
** (gnome-panel:17554): DEBUG: Adding applet 4.
Initializing trackerd...
Tracker-Message: Checking XDG_DATA_HOME is writable and exists
Tracker-Message: XDG_DATA_HOME is '(null)'
Tracker-Message: XDG_DATA_HOME set to '/home/esterk/.local/share '
Tracker-Message: Path is OK
Tracker-Message: Setting IO priority
Tracker-Message: Setting up monitor for changes to config file:'/home/esterk/.config /tracker/t racker.cfg '
Tracker-Message: Loading defaults into GKeyFile...
Tracker-Message: Legacy config option 'IndexEvolutionEmails' found
Tracker-Message: This option has been replaced by 'DisabledModules'
Tracker-Message: Option 'DisabledModules' removed 'evolution'
Tracker-Message: Legacy config option 'IndexThunderbirdEmails' found
Tracker-Message: This option is no longer supported and has no effect
Tracker-Message: Legacy config option 'SkipMountPoints' found
Tracker-Message: Option 'IndexMountedDirectories' set to true
Tracker-Message: Setting up stopword list for language code:'en'
Tracker-Message: Setting up stemmer for language code:'en'
Tracker-Message: Checking directory exists:'/home/esterk/.loca l/share/tr acker/data '
Tracker-Message: Checking directory exists:'/home/esterk/.cach e/tracker'
Tracker-Message: Registering DBus service...
Name:'org.freedesktop.Trac ker'
Starting log:
File:'/home/esterk/.local/ share/trac ker/tracke rd.log'
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
** (update-notifier:17582): WARNING **: already running?
** (nm-applet:17586): WARNING **: <WARN> applet_dbus_manager_start_ service(): Could not acquire the NetworkManagerUserSettings service as it is already taken. Return: 3
** (gnome-settings-daemon:175 31): WARNING **: Grab failed for some keys, another application may already have access the them.
** (gnome-settings-daemon:175 31): WARNING **: Clipboard manager is already running.
evolution-alarm-notify-Mes sage: Setting timeout for 24407 1242691200 1242666793
evolution-alarm-notify-Mes sage: Mon May 18 19:00:00 2009
evolution-alarm-notify-Mes sage: Mon May 18 12:13:13 2009
The program 'gnome-settings-daemon' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 1142 error_code 8 request_code 20 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
** (gnome-panel:17554): DEBUG: Adding applet 5.
(gnome-panel:17554): Gtk-WARNING **: gtk_widget_size_allocate() : attempt to allocate widget with width -3 and height 24
** (gnome-panel:17554): DEBUG: Adding applet 6.
** (gnome-panel:17554): DEBUG: Adding applet 7.
** (gnome-panel:17554): DEBUG: Adding applet 8.
** (gnome-panel:17554): DEBUG: Adding applet 9.
** (gnome-panel:17554): DEBUG: Adding applet 10.
(gnome-panel:17554): libglade-WARNING **: Unexpected element <requires-version> inside <glade-interface>.
** (gnome-panel:17554): DEBUG: Adding applet 11.
** (gnome-panel:17554): DEBUG: Adding applet 12.
** (gnome-panel:17554): DEBUG: Adding applet 13.
** (gnome-panel:17554): DEBUG: Adding applet 14.
esterk@mark-desktop:~$ GNOME_KEYRING_SOCKET=/tmp/
SSH_AUTH_SOCK=/tmp/keyring
GNOME_KEYRING_PID=17530
(gnome-settings-daemon:175
** (gnome-settings-daemon:175
** (gnome-settings-daemon:175
Checking for Xgl: not present.
xset q doesn't reveal the location of the log file. Using fallback /var/log/Xorg.0.log
No whitelisted driver found
aborting and using fallback: /usr/bin/metacity
Window manager warning: Failed to read saved session file /home/esterk/.config/metac
** (gnome-panel:17554): DEBUG: Adding applet 0.
** (gnome-panel:17554): DEBUG: Initialized Panel Applet Signaler.
** (gnome-panel:17554): DEBUG: Adding applet 1.
** (gnome-panel:17554): DEBUG: Adding applet 2.
** (gnome-panel:17554): DEBUG: Adding applet 3.
** (gnome-panel:17554): DEBUG: Adding applet 4.
Initializing trackerd...
Tracker-Message: Checking XDG_DATA_HOME is writable and exists
Tracker-Message: XDG_DATA_HOME is '(null)'
Tracker-Message: XDG_DATA_HOME set to '/home/esterk/.local/share
Tracker-Message: Path is OK
Tracker-Message: Setting IO priority
Tracker-Message: Setting up monitor for changes to config file:'/home/esterk/.config
Tracker-Message: Loading defaults into GKeyFile...
Tracker-Message: Legacy config option 'IndexEvolutionEmails' found
Tracker-Message: This option has been replaced by 'DisabledModules'
Tracker-Message: Option 'DisabledModules' removed 'evolution'
Tracker-Message: Legacy config option 'IndexThunderbirdEmails' found
Tracker-Message: This option is no longer supported and has no effect
Tracker-Message: Legacy config option 'SkipMountPoints' found
Tracker-Message: Option 'IndexMountedDirectories' set to true
Tracker-Message: Setting up stopword list for language code:'en'
Tracker-Message: Setting up stemmer for language code:'en'
Tracker-Message: Checking directory exists:'/home/esterk/.loca
Tracker-Message: Checking directory exists:'/home/esterk/.cach
Tracker-Message: Registering DBus service...
Name:'org.freedesktop.Trac
Starting log:
File:'/home/esterk/.local/
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
** (update-notifier:17582): WARNING **: already running?
** (nm-applet:17586): WARNING **: <WARN> applet_dbus_manager_start_
** (gnome-settings-daemon:175
** (gnome-settings-daemon:175
evolution-alarm-notify-Mes
evolution-alarm-notify-Mes
evolution-alarm-notify-Mes
The program 'gnome-settings-daemon' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 1142 error_code 8 request_code 20 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
** (gnome-panel:17554): DEBUG: Adding applet 5.
(gnome-panel:17554): Gtk-WARNING **: gtk_widget_size_allocate()
** (gnome-panel:17554): DEBUG: Adding applet 6.
** (gnome-panel:17554): DEBUG: Adding applet 7.
** (gnome-panel:17554): DEBUG: Adding applet 8.
** (gnome-panel:17554): DEBUG: Adding applet 9.
** (gnome-panel:17554): DEBUG: Adding applet 10.
(gnome-panel:17554): libglade-WARNING **: Unexpected element <requires-version> inside <glade-interface>.
** (gnome-panel:17554): DEBUG: Adding applet 11.
** (gnome-panel:17554): DEBUG: Adding applet 12.
** (gnome-panel:17554): DEBUG: Adding applet 13.
** (gnome-panel:17554): DEBUG: Adding applet 14.
No attachment at all...
Try this way.
On the remote PC System->Preferences->Remot e DEsktop
Enable the remote PC to receive external connections.
If you have a firewall, open port 5900
On the local PC, Applicatrions->Internet->R emote DEsktop and insert the remote PC IP address.
On the remote PC System->Preferences->Remot
Enable the remote PC to receive external connections.
If you have a firewall, open port 5900
On the local PC, Applicatrions->Internet->R
ASKER
That's a completely different story - that's using VNC, And it is not tunneling through ssh.
I looked at that, but I had two questions:
1. Is it secure? Should I allow access for everyone or limit it:
2. Do I connect to the running session? What happens when it is not running?
Thank you.
I looked at that, but I had two questions:
1. Is it secure? Should I allow access for everyone or limit it:
2. Do I connect to the running session? What happens when it is not running?
Thank you.
Oh, yes, sorry. With this method you will connect to existing running session
ASKER
Well, I will try when I am near this remote machine and can set it up. After all, it is no less secure than connecting with SSH with username and password, and it is an Ubuntu built-in method.
ASKER
I ended up using NX, which I like more.
ASKER