Re: X problem...

John Dalbec <[email protected]> Tue, 13 Jan 2004 14:04:30 -0500
Newsgroups gmane.linux.redhat.release.seawolf
Message-ID <[email protected]>
> From: "vvor" <[email protected]>
> To: <[email protected]>
> Subject: RE: X problem...
> Date: Mon, 12 Jan 2004 16:59:47 -0500
> Reply-To: [email protected]
> 
> i once typed ctrl-alt-backspace, and the server died: shut down immediately as
> if someone pulled the plug. i am afraid of doing it again! also, i am using an
> OmniView mouse/monitor/kbd switcher between my win2k computer and my Seawolf
> computer. when i switch to Seawolf, the monitor and kbd are fine, but the mouse
> freaks out. Those OmniView things are just dumb. I mean, this is their *only*
> function, and they can't even do that. How do these companies get business
> loans, and here i am in poverty! (not that i'm any more competent)
> 
> 
> 
I've had similar problems with KVM switches, but I was able to restore mouse 
function by typing Ctrl-Alt-Backspace on the keyboard.  The X server program 
will die when you do this, but it should be restarted automatically fairly soon.
BTW you didn't answer my question about /etc/X11/prefdm.

If you're already logged in and you have work that you don't want to lose, I 
recommend not switching the KVM away from the Seawolf box.

You may want to look into VNC.

You could also run an X server on the Windows box and use XDMCP or SSH with X 
forwarding to log in to the Seawolf box.

>>>I can do stuff su-ing as root from another machine, although all
>>
>>the paths are
>>
>>>messed up. For instance, I edit my firewall script and try to restart it via
>>>telnetting, but the script cannot find ifconfig! It can't get my eth0 ip.
>>
>>You just need to add /sbin and /usr/sbin to your PATH.
>>In bash:
>>export PATH=$PATH:/sbin:/usr/sbin
>>(add the line above to your .profile or .bash_profile).
>>
> 
> 
> I added /sbin, /usr/sbin/ to my path. Then I logged out, and logged in. I typed
> "echo $PATH" and I got:
> 
> /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/java/jdk1.3.1_02/bin:/home/vvor
> /bin:/usr/bin:/etc:/sbin:/usr/sbin:/sbin
> 
> Then,:
> 
> [root@rat vvor]# whereis ifconfig
> ifconfig: /sbin/ifconfig /usr/share/man/man8/ifconfig.8.gz
> [root@rat vvor]# ./ifconfig

"./" is used only to run programs from the current directory.  Try typing just 
"ifconfig" without the "./".

> bash: ./ifconfig: No such file or directory
> 
> 
> So, I must be doing something else wrong. Shouldn't that work?

Nope.
HTH,
John
> 
> vora
> 
> 
> 
> 
> --__--__--
> 
> _______________________________________________
> Seawolf-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/seawolf-list
> 
> 
> End of Seawolf-list Digest
>