So I can SSH into my Security Onion box in the house, but is there an easy way to launch the gui in the ssh session? For Example:When I am at the terminal at work I just type startx and it launches the gui, need some help on how to do it via the ssh connection.
You need to enable x forwarding, which you can do in the ssh config file or you can run ssh -X, but you may also need to enable it on the ssh server settings too.
Did you enable x forwarding on the server too, it's in /etc/ssh/sshd_config (remember to restart the service)
Startx might not work (or they might be using a different method where you work) but you could try gnome-session (depending on what DE the server is running) you can also just launch the gui application without having to have the whole desktop.
No idea what remmina is, i have been a very ligjht user of ubuntu as i rarely need to do all that much on my laptop as its only an xps13 and not really suited to much but web browsing.
Remmina is the default POSIX compliant remote desktop application that is preinstalled and preconfigured in many *nix distros. It supports most protocols, including SSH. If you Alt and start to type remmina, it should just pop up as a suggestion in Ubuntu.
** (gnome-session:5897): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-YrP3FvlXWc: Connection refused
** (gnome-session-check-accelerated:5902): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-YrP3FvlXWc: Connection refused gnome-session-is-accelerated: llvmpipe detected. gnome-session[5897]: WARNING: Unable to find required component 'gnome-shell' gnome-session[5897]: CRITICAL: We failed, but the fail whale is dead. Sorry....
It doesn't bring up a Desktop, but you can launch X11-windows remotely by using X11-forwarding. E.g. start filebrowser, chrome, etc etc. from your remote computer and the gui is shown locally.
[0301/052919:ERROR:nss_util.cc(94)] Failed to create /home/user/.pki/nssdb directory. [0301/052919:FATAL:chrome_main_delegate.cc(412)] Check failed: process_type.empty(). Unable to get the user data directory for process type: zygote
You trying to forward to a windows desktop? If so you need a X11-windows manager installed, i believe there is one called mingx or something like that.
just install X, anything xfce/kde/gnome whatever... then install vnc and config with ssh auth... it'll use ssh authentication; either way. You ain't going to get x from ssh/sftp 22 protocol... and console's won't support it. http://www.cl.cam.ac.uk/research/dtg/attarchive/vnc/sshvnc.html
Hi @mutation666. I just wanted to get some clarification. If you ssh into the machine with X forwarding enabled, are you saying you can't run "gnome-session" or even more simply something like "xterm" standalone (assuming xterm or gnome-terminal is installed)? If you haven't already installed it, install xterm. Just try and start that one application and see if it displays. Gnome requires a bunch of additional things (font server, etc). Just see if xterm or xclock works. Also, don't run it with sudo, this will get blocked because of your accounts Xauthority. The remote account doing the SSH should match the account running X windows clients.