xanga archived posts

Fedora Notes From My Past (Based on FC3): VNC Server: Ok, this is what I have learned about VNC Server. X Windows runs its X Server on display :0, so If you want to run your VNC Server on Display :0 you have to remove the default X Server from that display. VNC Server runs on port [5900 + Display] (so, if you are running VNC Server for Display 1527, your server will run on port 7423). To change the starting port number (ie the 5900) use the command -rfbprot. So, to start your server on a port, for example 777, then your command will be vncserver -rfbserver 777. this starts the VNC Counter from 777 rather than 5900. Whahoo. So, lets say you want VNC Server to run on port 777 and you want your web server to intercept VNC Connections across port 888 and you want your display the size 1027 x 768, you would use this command:

vncserver -geometry 1024×768 :0 -httpport 888 -rfbport 777

Ok,How do I change my default desktop from Gnome to KDE? In the X Windows system, there is a little program called switchdesk. To change your default desktop without using the nasty gui Desktop Switching Tool (Which has never worked for me at all), from a command prompt, you just have to run switchdesk KDE to switch your default to KDE. Want it back to Gnome? Type in switchdesk GNOME and you have it. If you have any other desktop installed on your unix box, just type in switchdesk + desktop you want to use to set that as the default…. I think the Linux guys thought of everything.

SSH Networking: I administer my machine using SSH. I don’t have a monitor, keyboard, mouse or anything else besides a power cable and a network cable running from my server. SSH is setup by default, and I prefer using that as the preferred method of administration. I am an old DOS guy, so command line administration comes naturally.

Hostname: After searching the scripts on my server, I found the file at /etc/sysconfig/network. Editing the HOSTNAME= to what I want and rebooting seems to have permanently set my hostname to what I want. I also had to change the /etc/rc.d/rc.sysinit file to match that in my /etc/sysconfig/network. There — Hostname Change Done!

Rebooting: su into root and use the command reboot. Could it get easier to restart your computer?? I know that you can administer a Linux box without rebooting, but isn’t it nice to know that there is a command to reboot.

Samba Stuff: I was playing with samba last night. Man it is easy to set up. This time I didn’t have to parse my passwd file into smbpasswd. The command smbpasswd has an arguement -a that creates an account if it doesn’t exist.

Windoze Free Networkiing: Now that I am Windoze free on my network, I thought I would share some information. First of all, if you have a Atheros based WiFi card in your PC and cannot connect to your wireless network under Linux, a driver has been made for you. Its called MADWIFI (http://madwifiwiki.thewebhost.de/wiki/FrontPage). This driver will allow the Linux Kernel access to Wireless networks using WiFi cards that use the Atheros chipset. My card, and AT&T Plug and Share 6500g as well as many other cards, work with this driver. If this driver doesn’t work for you, you can use the NDISWrapper (http://ndiswrapper.sourceforge.net/). This is included with Knoppix 3.7 to test your network card and can be dloaded from the addie above. This program interprets the Windows Native driver for your network card and makes it functional with the Linux Kernel. Many MANY cards are supported, and a list can be found on the project’s web site.