Quote:
Originally Posted by Turbocapitalist
Some comments and a clarifying question.
|
Quote:
Originally Posted by Turbocapitalist
The verbosity only goes up three levels, so -vvv is the maximum.
|
Yes and I've observed the logs and see no blatant errors.
Quote:
Originally Posted by Turbocapitalist
Read up on the options -Y versus -X. You probably want the latter.
|
I've tried both.
Quote:
Originally Posted by Turbocapitalist
The option XAuthLocation should not be needed.
|
Without it I get the error message:
debug1: No xauth program.
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
These are the paths to xauth:
On RHEL * (
Which is where I believe the complaint came from)
On the Mac
Quote:
Originally Posted by Turbocapitalist
You should not be running any graphical applications as root, and not be able to log in remotely as root.
|
I created a user (not a sudo-er) and tried as that user as well.
I will harden the server soon, but theoretically I am local. Am I not? I'm vpn'd in.
Quote:
Originally Posted by Turbocapitalist
Now for the question, can you explain a little more how you are trying to connect? It sounds like you are connecting from the RHEL machine to the OS X machine to the rpi an that you want the programs from the rpi to show up on the RHEL machine's display.
|
I setup a vpn between my Mac at home and my headless RHEL machine in the datacentre.
The RHEL machine has GNome and/or KDE Desktop installed.
On My Mac I launch XQuartz and then open an xterm.
Then I ssh into that machine as root or as myself and try to launch an x-application like xeyes.
I've tried init 3 to init 5 but I'm not able to get the Desktop or launch an x-app.
This is the difference between init 3 ps aux and init 5 ps aux
Code:
[root@mymachine tmp]# diff 3.txt 5.txt
220c220
< brian 4998 0.0 0.0 104620 2000 ? S 11:50 0:00 sshd: brian@pts/0
---
> brian 4998 0.0 0.0 104620 2008 ? S 11:50 0:00 sshd: brian@pts/0
224c224,227
< root 5164 0.0 0.0 110252 1160 pts/0 R+ 11:52 0:00 ps -aux
---
> root 5286 0.3 0.0 134020 2172 ? Ssl 11:53 0:00 /usr/sbin/gdm-binary -nodaemon
> root 5306 0.0 0.0 158192 2260 ? Sl 11:53 0:00 /usr/libexec/gdm-simple-slave --display-id /org/gnome/DisplayManager/Display1
> root 5309 101 0.0 110040 4488 ? Rs 11:53 0:06 /usr/bin/Xorg :0 -br -verbose -audit 4 -auth /var/run/gdm/auth-for-gdm-M5jOf6/database -nolisten tcp vt1
> root 5311 0.0 0.0 110244 1152 pts/0 R+ 11:53 0:00 ps -aux
[root@mymachine tmp]#
It would appear the gnome Desktop is when at init 5
So when I tunnel in using -X there is no DISPLAY environment variable set. When I tunnel in with -Y there is a DISPLAY environment set to localhost:10.0
Setting one doesn't help.
I'm wondering how the xeyes knows that there is server is on the tunnel IP:22 and not on the localhost:10.0
however!!!!!!!
Code:
export DISPLAY=0.0.0.0:10.0
WORKS!!!
So how do I now set the root x window on the RHEL server to use the XQuartz server on my MAC?