Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

X Server display from console vs. other location

Status
Not open for further replies.

pcarver

Technical User
Aug 23, 2001
36
US
Howdy.

I'm trying out Exceed to access my RH Linux from Windows. It works nicely, but I have one question. To get things to work, I modified my .bashrc to

set DISPLAY=xxx.xxx.xxx.xxx:1

to have the display pointed to my windows computer. This is fine when logging in from windows, but when I log back in to the console, it outputs the display back to my PC.

What I would really like is to have the console boot in text mode, then access the X login from my desktop. If I don't boot in X mode, I can't seem to get things to work. If I have to boot in X mode, then how do I make it so that a console login doesn't have the DISPLAY line executed?

Thanks.

/paul
 
Hello Paul,
I´m not shure, but you should not alter the bashrc generally, make this only for the users who have to log in on a Xsession.
F.e. the user paul has an X login the user foo not.
When you log via exeed as paul, you´ll get the X session
if you login as foo, who has no X you´ll get the tty-terminal.

HTH walta
 
You should be able to access via Exceed using the XCDMP broadcast mode. This shouldn't need any changes to your login shell or environment. Ian

"IF" is not a word it's a way of life
 
Hi,

The problem here is that to get a full X session running you need to use XDMCP (as per above) but that requires you to be running either XDM, GDM (gnome version of XDM), or KDM (KDE version of XDM) - i.e. the graphical logon manager. If you set you system to default to console mode (runlevel 3 or equiv) then such a display manager would not be running.

What you probably should do is code something in your $HOME/.bash_profile that ascertains where you are logging on from and sets the DISPLAY environment variable accordingly.

Hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top