Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This 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.


  Search this Thread
Old 01-28-2006, 11:29 PM   #1
LQ Newbie
Registered: Jan 2006
Distribution: RedHat 9
Posts: 1

Rep: Reputation: 0
starting XFree86 4.5.* with no mouse/keyboard

Hi, guys. I've got a server on a rack about a thousand miles away, so I don't have immediate access to it physically. However, I've been trying to install X on it so I can at least administer it as if I'm in front of it (VNC is installed and working, I just can only get a terminal instead of RedHat in all its graphical glory)...I've grown tired of SSH.

Suffice to say, however, I've never done anything like this. Frankly, I'm surprised I got this far...

I've installed XFree86 4.5 on my RedHat 9 box. When I try to start it ( XFree86 -xf86config /root/ ), it complains that there is no mouse. This is true...said computer has no mouse/keyboard. So, I'm stuck.

I want to be able to use my keyboard/mouse here in North Carolina to adminster my box in New York, but I can't get X to start without them...and the box has none.

What am I to do?

Last edited by BTNC; 01-28-2006 at 11:30 PM.
Old 01-29-2006, 12:15 AM   #2
Senior Member
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Ubuntu, FreeBSD
Posts: 1,449

Rep: Reputation: 48
You should not need to start X on the server. The Xserver runs on your local computer (VNC here, I think). The X programs are considered clients and do not need to be run on a machine which is running a server.

Add the following to your .profile of the remote system or type it when you log in.
set DISPLAY=; export DISPLAY
Where is your local ip address.

And make sure you permit the remote server to connect to your Xserver.
xhost +
Where would be the ip address of the remote server in this case. This is the X command to do this, I do not know about VNC.

FYI, an actual X server requires some input device or another. The X server terminology is often the reverse of what people expect. The XServer runs on the machine with the keyboard, mouse, and monitor. The XClients are everything else (from the login manager, window manager, and programs). These do not need to be on the same machine as the server -- although they often are on home machines -- and connect just fine over a network.

The network overhead for X is pretty heavy. If it's a local network, that's not bad. You're going to need a high speed connection if it's not local, if you want it to be comfortable to use.

I would recommend that you use command line tools whenever possible (which should be always) but if you insist on the graphical tools... just remember that you don't need to run XServer on the server, as odd as that sounds.
Old 01-29-2006, 12:19 AM   #3
Senior Member
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Ubuntu, FreeBSD
Posts: 1,449

Rep: Reputation: 48
Oh, I just noticed that VNC does not always use :0 (for Unix machines although this is configurable). Change the :0.0 to :1.0 or :2.0 or :x.0 where x is whatever VNC is using.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
no screen error when starting xfree86 chungking2399 Mandriva 5 07-23-2004 01:21 PM
xfree86 starting problem firestomper41 Mandriva 4 05-31-2004 03:20 AM
swedish keyboard in xfree86? Falafel Slackware 4 01-16-2004 11:21 PM
USB mouse, keyboard, hid, console mouse problems jqcaducifer Linux - General 1 08-05-2003 10:43 AM
Keyboard/XFree86 problem dnar Linux - General 6 09-21-2002 02:25 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration