Why can't I open another Xserver on VT7 to 8 in Fedora 10 to start a remote x session
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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...
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.