Operating System - Linux
1753556 Members
5749 Online
108796 Solutions
New Discussion юеВ

X -query [hostname] and XDMCP

 
tony j. podrasky
Valued Contributor

X -query [hostname] and XDMCP

OK - Matti posted the command to get the Linux laptop (server) to connect to the tower (client). The login screen appears on the laptop and I am able to log in. When I sign out the screen clears and the login box reappears. Works fine.

The problem now is that when I bring down X I can't regain control of the screen (laptop). The screen is blank and the keyboard is dead. I've tried rlogin into the laptop and telling it to go to different levels of INIT. I've tried killing of the X process, which works, but doesn't return the screen and keyboard.

The laptop is set to init 1 when I boot. When I want to bring it all the way up I go to init 3 but still keep it in terminal mode. When I want to bring up the X environment I either do it with STARTX or use init 4. Going back to init 3 brings down the X environment, and so does signing off of my STARTX session.

Telling it to go to init 6 (reboot) works, but is a minor annoyance because it ruined my ruptime "up for 440 days". :-)

Any ideas?

regards,
tonyp
REMEMBER: Once you eliminate your #1 problem, #2 gets a promotion.
2 REPLIES 2
tony j. podrasky
Valued Contributor

Re: X -query [hostname] and XDMCP

Problem fixed:

o ran chkconfig --level 5 xdm off.

o edited inittab runlevel 5 to

x:5:respawn:/usr/bin/X11/X -query [hostname]

regards,
tonyp
REMEMBER: Once you eliminate your #1 problem, #2 gets a promotion.
tony j. podrasky
Valued Contributor

Re: X -query [hostname] and XDMCP

As posted above.
REMEMBER: Once you eliminate your #1 problem, #2 gets a promotion.