Why can't I open another Xserver on VT7 to 8 in Fedora 10 to start a remote x session
Hi All,
It's been a long time since I have tried this on a Fedora box but it worked perfectly on my RHEL5 box. Here is the process I followed, X :1.0 vt8 2>&1 > /dev/null & # opens the Xserver on vt8 (ctrl + Alt +f8) xauth list # Lists xauth entries and keys xauth add hostname/unix:1 . HEX VALUE RESULTS FROM Xauth list command for your hostname i.e xauth add Ouroboros/unix:1 . 05d810832 etc etc # adds authorisation for host on server using key xterm -display :1.0 & # open xterm on display 1 - you can now ssh and start a session i.e gnome-session Now I am trying to do this on my Fedora 10 laptop to try and start another Xserver to have a full remote gnome session on a test box, but once I run X :1.0 vt8 2>&1 > /dev/null & - I cannot get back to vt1 and my own session and the system appears to hang with no errors, I cannot even restart X with ctrl alt and bkspace. When I reboot there are no errors! it just seems to hang fully... Does anyone have any idea's? Cheers Smiler |
I think it's because the xserver will only allow one active connection. Can you try using vnc over ssh or some such?
|
Thanks for the reply, Any ideas why this may have been limited and if I can unlimit it?. I don't remember reading anything about it myself.
I always found it to be a great solution to run another xserver on a spare VT and use it to pump a full ssh Xsession from a remote server - I remember in one of my old contracts I used to support a number of SUN and Redhat boxes from my Fedora 7 or 8 machine and used to have their connections from VT8 to 12 - and even the full desktop's when I wanted or I had to show the DBA's anything! |
Just another thought, why would it kill my system so badly, When I run the first command the VT does change to 8 and I can see the Xserver start (all grey with mouse) - then I try to change back to VT1 to run the next command but I get a blank screen and then cannot change back to any other terminal VT1 to 8 I just get a blank screen and no form of exit works.
|
I'm not sure exactly why this won't work, but I do know that the xserver in Fedora 10 is similar to the one in ubuntu 8.10, and they both have this type of problem.
|
All times are GMT -5. The time now is 04:44 AM. |