Ubuntu Networking :: FreeNX Default Key Still Works After Generating Custom Key?
Mar 25, 2011
I installed freenx on my desktop and decided to set up a custom key following this tutorial: [URL]
sudo dpkg-reconfigure freenx-server
Here I chose 'Create new custom keys' and SSH. After copying the client.id_dsa.key file to my laptop, I was able to log in no problem. However, I decided to check and used another computer (running qtnx as a client) to attempt a login with the default key.
It still worked.
Have I missed something in the fine print here? If not, is there a way to fix this behavior?
I installed freenx-0.7.3-i486-1alien.tgz on the server (with Slack 12.1), all according to instructions. I installed the no machine nxclient 3.4.0-7 on the client (with Slack 12.2). I ran setup and configured. I used the default no-machine keys, not custom ones. Since authentication failed at the beginning, I enabled DBauthentication, and added my user and password, which seemed to allow authentication to occur.
Here is my node.conf: # node.conf # # This file is provided by FreeNX. It should be placed either into # /etc/nxserver/node.conf (FreeNX style) or /usr/NX/etc/node.conf # (NoMachine NX style).....
It hangs after mounting my root partition, and switching to framebuffer. And ctrl-alt-del causes a normal shutdown - everything gets told to exit.
This where it hangs:
This is my config:
Based on the mainline defaults. I made sure ext4 is compiled in, SCSI, SATA and PATA support... sda1 is my root partition. sdb1 is a data drive. The drives are SATA.I need to rebuild from source to test some stuff for wayland.
I use a dark theme in gnome, which of course doesn't display correctly on many websites that force a white background onto text input dialogues (I have to type white or light gray on white) - Because of this, I never use a dark theme for more than a few days before I switch back to light, which really sucks - My workaround for this was going to be changing my Firefox launcher so that a custom GTKRC is used.
It works for all applications except for Firefox.
e.g. if I type into a Terminal:
Code: env GTK2_RC_FILES="/usr/share/themes/Redmond/gtk-2.0/gtkrc" speedcrunch or Code: bash -c 'GTK2_RC_FILES=/usr/share/themes/Redmond/gtk-2.0/gtkrc speedcrunch'
I'm trying to set the default apps using gnome-default-applications-properties. In previous versions I was able to set custom apps for everything. Looks like Gnome3/Ubuntu 11.04 doesn't let me do that for, say, the mail reader. I'm one of those people who still use Alpine, and in previous versions I was able to set the default to run an xterm (well, aterm) which auto-ran alpine.
This version, looks like that's not there. I'm wondering if there's a way to set that anyway. like registering a script I write as a "mail client" so it's available in the chooser. Second... and almost MORE annoying... the "Terminal Emulator" default app DOES have a custom option. But it also recognises that I have aterm installed, which I want to use as the default app... however, since it has an aterm option, it won't let me enter aterm as a default command. Which I want to do because I want to modify the commandline options. But if you choose "Custom" and type "aterm" into the Command field... it ERASES your commandline options and puts it's default sterm options in!
According to Ubuntu documentation, Neatx should be installed on Lucid but there is no support for this on the Neatx homepage. In fact, the Neatx webpage says they are not doing releases because of bugs. With that said will FreeNx work on Lucid?
For a Secure Remote Desktop on Ubuntu 9.10 here is how I did it using OpenSSH, FreeNX and a router with DD-WRT v24. Pic of it in use at bottom of post, transferring a file and remote desktop at the same time.
For the purposes of this guide I will use a Desktop as the Server (Host) which is at home. The Client will be a Laptop that I can use to control the Desktop remotely. First you should already be familiar with the Terminal which is where you enter commands (anything in a "Code:" box).
In Ubuntu it is in Applications > Accessories > Terminal In Kubuntu it is usually on the lower left taskbar and is called Konsole I am using Ubuntu so you may have to make some adjustments to this guide if you are not using Ubuntu. Installing OpenSSH (for the rest of this guide I will refer to it as only SSH)
I am running Ubuntu 10.10, upgraded a few weeks ago from 10.04. I noted from the system monitor that the system was generating a lot of network traffic, on the order of 10Mbps if the information is correct (using system monitor and iftop). From the process table, it appears that smbd is accumulating a lot of CPU time, which sort of makes sense as I use Samba for printing from a Windows 7 laptop. But the traffic seems to be making a round trip as I just rebooted the system and it reports in about 10 minutes of uptime 1.2GB was send and 1.2GB was received. Laptop is used for work, it is sitting idle for the last 30 minutes (VPN connection, etc); no backup or other interaction with the Ubuntu system.
After a recient update to the freenx libraries KDE on Kubuntu 10.04 stopped working but other desktops like gnome kept running. The problem wasn't in the normal log files, but it was found in the .xsession-errors file in the user directory on the server. After the update NX is trying to start kde with the /usr/bin/startkde4 command which doesn't exist. Instead make a link from /usr/bin/startkde to the non existent /usr/bin/startkde4 and it will work again. To do this use the command:
I am usually the last one to post on forums, but I can't for the life of me get FreeNX working on my CentOS box. I have also read many posts, many how-to's, many troubleshooting guides, and absolutely nothing is working for me. It's Crazy. First of all, I've installed FreeNX before, with little to no trouble. I am not completely green at the linux command line, but I am still no expert. I'm hoping one of you guru's out there can lend me a bit of a hand.
Here goes, I've installed FreeNX onto my CentOS 5.4 dedicated box, using the how-to [URL].. I've done everything, letter by letter, on the how-to. (Installed CentOS, configured sshd_config, added users in AllowUsers, created nx user, imported keys.. etc) At this point, I could not connect to my box, with the error message:
NX> 203 NXSSH running with pid: 336 NX> 285 Enabling check on switch command NX> 285 Enabling skip of SSH config files NX> 285 Setting the preferred NX options
Is there a way to keep a wireless AP from generating an RF signal at all until it gets pinged by a client which:
1) Knows it's (the AP's) IP, name, passcode, and operating port,
2) Knows which frequency, and periodic ping-rate to use,
3) And, identifies itself not only appropriately, and timely, but only pings twice before it falls silent, awaiting a response, all others would over run the limit, and thusly fail the AP screening and the AP would totally ignore them, logs the attempts, and stays cold, dark, and silent.
In short, only one (1) device is capable of turning it on.
Seems to me that conceptually, it's quite do-able. Has it been done?
I've just built gcc 4.6.0 by myself since there is no update in Mandriva yet and I really needed the updated version, but I must be missing something in its configuration. I added ~/apps/gcc460/bin in front of my PATH, and the lib dir to my LD_LIBRARY_PATH in my .bash_profile, like so:
I still have gcc 4.4.2 installed, but it's now hidden, so gcc --version correctly yields 4.6.0. I finally tried to build my project, all went fine, but at the moment of running it I get: Code: ./EugGame.Release.Linux: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./EugGame.Release.Linux)
I assume the correct version is the one located in ~/apps/gcc460/lib, but how do I make my project load the correct lib? Is it possible at all to have two versions of gcc on the same machine? I just found that I should've added lib64 to my LD_LIBRARY_PATH instead of lib. Anyways, even if the problem is solved, I'd like to hear if my configuration is well made or if I should leave LD_LIBRARY_PATH unset and use some other way to override the default search path for stdlib.
Some FreeNX start-up troubles here, need a hand. 1) I am trying to establish a connection from my workplace PC on my workplaces's LAN to my home PC on my private LAN (LAN-to-LAN). Just typing in the public IP of the target LAN in the "Host" field gets me nowhere, as it fails to connect due to a denial at port 22 SSH - even though I've done the forwarding in my home router and punched the required hole in the local firewall of the target machine.
This resembles what I'm looking at: [URL]..2) My home PC is 64-bit Mepis and my workmachine is a 32-bit Ubuntu. Is this a problem?
My question is about TCP parameters in Linux. By now, I want to change the default values of:
Initial Timeout ACK Delay Idle Connection Timeout
I have a Linux Box with kernel 2.6.x and 2 ethernet interfaces. I know TCP is a stack that doesn't have anything to do with ethernet devices. Said that, the question: is there a way to set custom values for each interface? For example, a server listening to connections in eth0 would use one value for Idle Connection Timeout and another server listening to connections in eth1 could use a different value for that parameter.
On a PC with 4 users (Karmic), I have installed a webcam. Everything (cam and mic) works for the default user. Cam works in cheese. For the 3 other users, there only are a "testpicture" in cheese and no mic . ???
I installed openSUSE on one of my work system. The network port wasn't working when I was installing, but works fine now (checked in Windows). But for some reason, I am not able to configure the network. I used both Dynamic and Static IPs (both work fine in Windows) but still no go. I am using Yast Control Center for this purpose. I can't even ping the default gateway when I am using custom settings. When I use dynamic settings, it says Unreachable Network.
If you can access Suse Studio here is thlink to the buildLFS Host - SUSE GalleryGoogle hasn't been friendly and neither has a search on these forums, I don't know which man to read so a finger in the right dirrection (preferably not the middle) would be nice as far as that goesRight now the yast live installer trips up at %84 while saving the boot loader configuration and displays a popup that says �An error occurred during initrd creation. /sbin/mkinitrd: illegal optionI then press enter to acknowledge the message and the installation continues without a hitch.
When I go to boot up (no other os installed) grub says it cant find the file initrd-188.8.131.52-0.5-defaultIf you boot the live cd again you can mount the boot partition and you�ll find a broken symlink called initrd that islooking for the missing file above.Like I said above, if it an obvious fix, all I need is some direction, I don't mind reading. (been doing that all day)If you need more specifics Id be happy to supply, I'm just not sure whats relevant and don't want to bloat the post.
Just spent three whole days barking up the wrong tree, solving Fedora 11 and Fedora 12 boot failures because the correct hypothesis was illogical: installation did not update/modify the initrd.
The first couple of times I installed Fedora 11 on the HighPoint Technologies RocketRaid 2640x4, the installation inserted my "custom" driver module (rr26xx) into the initrd, permanently, so that the system booted off the controller card for which the custom driver was inserted. (I yelled about this success in this thread: [url]
My most recent installs of BOTH F11 and F12 on the RocketRaid failed to properly set up the boot. It turns out that the "rr2640" module I "slipstreamed" into the installation process was *NOT* permanently added to the initrd by anaconda. (F12 gave me "no root device found boot has failed, sleeping forever", on boot; F11 hung also, without such error, I presume, during the init script execution). Because of limited resources and time, I only know for sure the module was missing from the F11 initrd, and am ASSUMING the same was the case with F12.
The only difference between the successful installs and the ones with failed boot is that the successful installs were made on a single-drive (JBOD) mode on the controller; whereas, the failed ones were placed on RAID 5. But, AFAIK, the created logical device for the card is "/dev/sda", in both cases, and the kernel can not distinguish between the two cases (or can it?). Thus, the inconsistency cost me a lot of time, and is still inexplicable to me.
Question: What is the best way to deal with custom drivers, today? There are custom spins, and many tools, like isomaster. Stupid question: Is there a way to modify the initrd inside an installer ISO -- be it for CD/DVD/USBboot drive -- beefing the init RAM disk with whatever modules you'd like, for the boot process (using, say, isomaster)?
And what makes anaconda understand that a module must be added to the initrd ? How can one force anaconda to do so?
How does moving to dracut as the initrd tool affect any/all of the above?
I have Ubuntu 10.04 and I've set up FreeNX server on it. I use the Nomachine client for Windows to log into my home computer while I'm at work.The other day I tried opening Chrome browser and nothing happened. So I clicked it a few more times and nothing. So I went ahead and just used Firefox.When I got home that day I physically went to the computer and woke it up and about 20 Chrome windows were open. So it looks like Chrome is launching in the wrong session. I'm logged in locally and through NX with the same user. Should I create a different user to log into the machine locally? Is there some way to bring these open windows over to my remote session? A couple more things... the first time this happened I had opened Chrome locally and left it open. Also Dropbox does this as well. And locally there is an icon in the top notifications for Dropbox but not on my remote session. So I'm thinking if an app is already running locally can I not open a new instance on my remote session?
In my college wireless ap have a login webpage that I must fill everytime i want to use internet.To automate the process i've written a bash script that do the login for me.I've found that scripts in the /etc/network/if-up.d directory should run after a connection is established, but the script isn't executed.This is the source of the script:
I recently bought one K3806 Vodafone Mobile Broadband usb stick. My pc is a Dell Latidude D620 notebook (Bios A0 running Ubuntu 11.04 (Natty Narwhal). I downloaded (from Betavine) and installed without any error/warning the 3 packages ozerocdoff, usb-medeswitch and vodafone-mobile-connect. Then I plug the K3806 in one usb slot. The mount -v command produces following output : /dev/sr1 on /media/10.1.108_RP154 type iso9660 (ro,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000, iocharset=utf8,mode=0400,dmode=0500) The mount point directory contains following files :
I just installed Ubuntu 11.04 desktop on my desktop in dual boot with Windows 7.
Heres my problem, I am unable to connect to the Internet even though my wired Ethernet connection says it is connected normally. The wierd thing about this is that I also have a wireless card in my desktop and when I connect through that I am able to connect to the Internet. I am connecting to a router that is functioning as a repeater to my main router/cable modem. I have tried to solve this myself but am having no luck. Ironically, earlier today suddenly my ethernet connection worked for a few minutes without me modifying anything.
The output of some terminal commands are below.
However a pint to that ip address (my router) is successful.
Hosts.allow and hosts.deny are both fine (not blank but no entries)
I like FreeNX, but it makes the system sluggish sometimes. The server is on Ubuntu and the Windows client are both on the same switch on a private network, and won't ever be use over public internet. I see in the client that I can disable encryption, but how do I do it in the FreeNX server end?
Anyone know if it's possible to install FreeNX in Lucid.
I've tried but get an error.
These are the steps I followed code...
Is there anyway to get this installed? Do I need to wait for FreeNX to be updated for Lucid or something? Or does anyone have any suggestion for a RDP server and client? I don't want to use VNC it's too laggy.
I made a custom kernel for maverick, 2.6.35-27. And I want to get the latest Intel 5300 wireless card drivers working. The wireless works now, but I want to get these installed anyway. I've been on a custom compilation kick for a while, and just been wanting to do everything compiled myself, just to learn a lot. Including putting linux on my WNDR3700 router using DD-WRT. Still doing a lot of customization on that as well.