CentOS 5 :: X11VNC - Connecting By Client Login In X Screen
Mar 17, 2010
Before we use CentOS 4 and all work fine. We start x11vnc by ssh like root. And after this connect by client login in X screen. In CentOS 5 this way don't work. For connect we must login by local from keyboard, start x11vnc ssh by logined local user, and after this we may work, but can't change users.
I'm trying to set up x11vncto run at the login screen. This is so that the computer can be powered up remotely using Wake-On-LAN and then controlled remotely. I'm following this tuorial: [URL]I'm having some trouble whit the section about adding to the GDM config files. The tutorial asks me to add
Code: #to get remote vnc to not die after login KillInitClients=false
I have x11vnc server set up on my desktop PC. I can boot the computer and connect at the login screen if I want to. I can login to my computer as usual. But after about 1 minute of logging in, the computer logs off as if pressing Ctrl+Alt+Backspace and returns me to the login screen. This cycle repeats when I login and I have to kill the x11vnc process or remove the command from /etc/gdm/Init/Default.Have tried so many things now but the end result is the same. I have Ubuntu 10.10 fully updated and x11vnc 9.10-1 from the default repos. I am using the following command in the /etc/gdm/Init/Default file:
I don't think it matters now whether I add KillInitClients=false into /etc/gdm/gdm.conf-custom or /etc/gdm/gdm.conf because of the x11vnc version I have. The manual says its not really needed. But I have tried this too with no better luck.The computer will still log me out after about a minute of logging in. It can be between 1 min to 1.5 mins.Running out of ideas and have tried the -noxfixes and -reopen commands.
Why does x11vnc crash out (or it may be gdm or x server?) after about a minute of logging in? If I am currently viewing my desktop through VNC viewer on another computer, it will still crash out after 1 min of log in, and lose the connection. I can reconnect through VNC again but I have to log back in to the remote computer and it will just log out after another minute.At last, in 2 days I have finally solved it. As simple as creating my own version. The x11vnc 9.10-1 version my default Ubuntu 10.10 repos is buggy. Here's my fix (I used this site):
1. Downloaded latest x11vnc dev build from above site (x11vnc-0.9.13-dev.tar.gz at time of posting) 2. Extract it 3. Open Terminal > sudo -s > enter admin password 4. cd LocationOfExtracted folder
Im trying to get vnc working over ssh between my windows pc and ubuntu server 11.04 natty over the internet. I have setup everything and got it all running automatically at boot on ubuntu. From within the local network i can use ssvnc and connect from a 2003 server to the ubuntu machine fine. Remotely I can connect and verify password over ssh but after that it tries to start tightvnc and fails. The issues seem to be on the windows side establishing the local connection to the tunnel or something I'm not a guru and I apologize if this is a windows issue but i think its likely that its a networking problem i need to forward or open a port somewhere but i cant find any easy to understand instructions so far in getting this running
This is the output in the putty terminal after running ssvnc slightly modified ive taken out my real username and server address I use user@server:0 as the arguments for ssvnc
Code: Looking up host "server" Connecting to server-ip port 22 Server version: SSH-2.0-OpenSSH_5.8p1 Debian-1ubuntu3 We claim version: SSH-2.0-PuTTY_Release_0.60 Using SSH protocol version 2
[Code]...
Does anyone have any ideas why the connection fails at the point of using the tunnel? is it a problem on the ubuntu or windows side?
I have a white slate centos 5.5 installation on a virtual box at Media Temple (one of their new VE servers). I am trying to create a development environment where I can have Bind9 serve up one set of zone files to me and other developers on the internal network and another set of zone files to external requests (ie... using the views feature). I would like to be able to develop for sites for which the dns is not yet pointed at my server. The network is created by having the VE server be an OpenVPN server, and connecting my client box to the server (my mac - 10.8.0.6 / my ve server 10.8.0.1).
I have the connections working fine, I have also been able to route all network traffic from my mac through the vpn to the server. For some reason, I cannot get the DNS server on the ve server to serve me an internal view zone file. When my vpn is on, I cannot ping or navigate to any web pages from my mac. I think this is because my ve server is not setup as a dhcp server and the ip tables are not setup to allow all internal requests to use the server to go get web pages.
I cannot view-ping anything else from my mac/client when on the vpn, I can successfully ping any website my ve is authoritative for. This tells me that my ping is obviously going over the vpn, and thus an internal request, but the external zone file is still served up. The following is my named config.
By invoking x11vnc with the -gui tray option the TCL/TK GUI attempts to embed itself onto the system tray, but I encounter the error message "tail: cannot watch /tmp/x11vnc.tray.*", after the first settings dialog approved [clicked OK]. I believe that a package is still missing to be installed and this is not really a software bug. I use the XFCE version shipped along F15, and the GUI can be started but not as a docked-applet.
I'm creating a new thread based on this post by batagy:
[URL]
Quote:
So I have running x11vnc as service without any problem (running on Solaris 10 and SLES10 too). I'm using the x11vnc's inbuilt "user chooser" screen (that little black screen), these command line options:
x11vnc -inetd -unixpw -users unixpw= -display WAIT:cmd=FINDCREATEDISPLAY-Xvnc.xdmcp -env X11VNC_CREATE_GEOM=1248x900 (plus a couple of other options that are not interesting here)
My question is related to the wanted VNC screen size. By default, I set the defauls screen size to 1248x900, as can be seen above.
Currently , when a user want to personalize his/her screen size to be started, he can do it this way: when the small black authentication window is appearing first, after his username, he's entering a colon, then specify the wanted resolution in this format: geom=1600x1200.
My question: is it possible somehow to set automatically the preferred screen size, without entering this ":geom=1600x1200" string in the authentication window? I mean to set it per user, without modifying the service options. I mean, for example setting the X11VNC_CREATE_GEOM or FD_GEOM variables in the user's home ".profile" for example?
as after connecting thru vnc (any tightvnc or real vnc),after some time of the connecting the Linux server RHEL 5.3,screen goes black screen with X mouse movement,getting after some time login all the things are visible even we can open the terminal & any application thru taskbar option,but after some time the screen goes black with big X. eventhough I tried to disable the screen saver option then also is happening.
trying to create a "local network" by directly connecting an IBM Thinkpad with Debian Linux installed on it to an Alix computer running Voyager Linux. I'm following a "how to" I found to create a music server, hence the requirement. My issue is I can't get a static IP address to be configured on the Debian machine.I've trawled the net and have found the instructions about editing the /etc/network/interfaces and have tried to do this. First I tried to get DHCP working so I could connect the Debian machine to the net and this proved successful. I edited the interfaces file to look as follows:
# The loopback network interface auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp
Then I tried adding a static IP address to the machine. As this is a network purely between two machines I made up the IP addres and used 192.168.0.1 and used a NetMask calculator to give me a NetMask of 255.255.255.254 (I told the calculator there would be 2 machines on the network). I then edited the interfaces file as follows:
# The loopback network interface auto lo iface lo inet loopback
[code]....
I re-booted the machine (ifdown eth0 followed by ifup eth0 keeps saying that eth0 hasn't been configured - a problem there that I don't understand), but during boot up time it failed to assign the Static IP address to eth0 and made me go into SU mode. To fix it I simply replaced the interface file with the static IP inputs with the file that had the DHCP entries (I'd made a copy of the DHCP file), and re-started the machine. Everthing came up fine. So the first question is how do I get a static IP address to be assigned to eth0 such that whenever I shut down and restart the machine the static IP address is always loaded?
The second question is around creating the network via the cross over cable. From what I've found via Google, all I should have to do is create a static IP address on the Debian machine and a static IP address on the Voyager machine. Once they're connected by the cross over cable they should see each other. Is that correct, or do I have to do anything else?
How come on x11vnc, with Fedora 12 PPC/x86/x64, my screen sizes can't be greater than 800 x 600, and they don't update when I change them in Displays. On my Ubuntu installations the x11vnc screen sizes update and can be basically any size selectable in Monitors.
Sorry if this is in the wrong group but its a bit of an odd one but I think comes under Server Support.. I've set up both x11vnc and freenx in an attempt to eliminate either as a cause for this issue. The problem is that when I log in with either, I can get into the desktop and run things from the menus but when I make the System menu active - the session hangs and you have to killall for the freenx or vnc processes.
I was wondering if anyone might be able to help me investigate this and hopefully fix it as I'm not sure where to look given that both types of remote connection seem to have the same issue.
I'm using CentOS 2.6.8. It was working fine until yesterday. I tried to install openvpn into the system. I heard I need to download [URl} first and run it. But I got failed on doing sudo yum install openvpn I'm not familiar with the system, so I just give up the installation.
However, today, when I boot up the system, I can't run into the login screen at all! It force me get into kernel and I got
[root]#/user/bin/rhgb-client: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory
when I try to use "ls" command, I got ls: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
I think I ruined everything yesterday and totally panic now.
Does anyone know a way to activate a screensaver at the login screen? I've got about 5 machines here, and I'd really like the ability to just have the screensaver come on after 5 minutes of sitting there with nobody logged in...
Even a way to blank the screen would be nice. However, if we were to blank the screen, I need to ensure that it doesn't do a DPMS blanking, since we use calibrated monitors here, and turning them off sucks.
I just installed Centos 5.2 with a netinstall usb key. I had no Belgium keyboard mapping available during installation, so I chose a fr-latin1 layout. Now this is the default keyboard mapping for the gnome login screen, and for every new user on the system. How can I change this to a Belgium keyboard layout? I can change it for myself within my gnome session in Preferences>Keyboard, but I haven't found how to change the "global" or default setting.
We like the centos colour scheme but would like to add our own logo to the login screens and boot process of gnome. I have attached the two screens we would like to adjust in the install package. Where they are located and what the process of editing them will be?
When I login to my machine I can see a BLACK screen and my mouse pointer. This is not happening with other users.Few days ago when I tried login to my machine I noticed this. I can access ssh session and do stuff there but some time I need GUI.I can login fine using other users. This is only happening with one specific user.I have just noticed that if I try loggin with the same user which have issues using NX client it shows us a BLACK screen, then if I open xwin then I can see three new windows top panel, bottom panel and Desktop.
My last setup (years ago) ran fluxbox so because it was familiar I installed it as a secondary to xfce right off the bat. I download a lot of different stuff because I like to try out all the apps I can find but somewhere I broke something. I can still run fluxbox fine, but nither the Xubuntu nor Xfce sessions will run now. Last thing I remember changing was pulse audio(removed it for an experiment I was trying with jack audio), not sure if it is connected but when I try to login to xfce the screen goes black, flickers a few times then it brings me back to the login screen.
I tried failsafe but everytime I do my monitor gives me a "frequency out of range" error. I tried purging and reinstalling xubuntu desktop and xfce settings but I am thinking its my xorg config. My laptop is a Toshiba satellite M305D-s4830 with ATI Radeon 3100 mobile graphics card and I am running Xubuntu 10.10. Unfortunately I also broke the screen, so right now I am stuck with an external monitor till I get a new one.
I have a Dell precision 380 (system specs can be found here: [URL]. My system is set-up in dual boot configuration with Windows Xp x64 on one side of my HD and CentOS 5.3 (64bit) on the other. My system came with 2Gb (2 x 1Gb) of RAM and I recently wanted to upgrade. I bought 2 x 2Gb ELIXER DDR2 667Mhz RAM. I carefully added the new sticks to my motherboard, booted up windows via bios which noticed the new RAM was present. All seemed well.
However, on rebooting the system and entering the CentOS boot phase, after the boot phase (eg starting program... [ok] etc) but before the login screen my screen goes black / blank. My system has an ATI FireGL v3100 graphics card, I checked out the technical info on this and it should be ok on 64 bit linux. (See: [URL])
I had a perfectly well running CentOS 5 system but with an old crappy monitor. I replaced the monitor by a bigger one, i did a monitor detect to make sure that CentOS would recognize the highest possible resolution. Then changed the display rsolution for the current user.
Now when i login as root just a black screen appears with a white mouse pointer and then nothing. I already deleted all the contents in the home directory /root but no improvement.
When i login as a new user X is starting perfectly.
Anyone have a clue what i need to do or delete to get X working again? I can nuke the whole box and do a reinstall but i'd rather not.
I am setting up a CentOS server that has no screen connected, and only has 2 Tesla cards. I have created a minimal xorg.conf and xinitrc file that doesn't load mouse or keyboard, and only creates two screens, one for each card at 320x200x24 bit. This is so I don't waste VRAM on a framebuffer I can't see.
I modified the xinitrc to just load tdm and nothing else as GNOME is a RAM hog. I am then using this setup to render stuff offscreen using OpenGL into FBOs which I read back to CPU and process. Currently for development I just run startx& when I login. I now want to know how to set x server to start automatically at boot. The CentOS docs say that it will try to load the GNOME login manager. The thing is that I don't want a login manager as it is useless as I login remotely via SSH.So:
1 - how to enable automatic x server in CentOS (im used to Ubuntu so not sure how to do this on Red Hat variants)
2 - leave x server running without starting login manager
I am trying to connect my pptp client Linux to a pptp Linux server using modem but no success. I can only tweak ppp linux side Observing the following log I found it�s due to MPPE Support configuration mismatch in pppd, pppd (linux client) is refusing to accept MPPE encryption.
pppd[24545]: pppd 2.4.5 started by root, uid 0 chat[24547]: abort on (NO CARRIER) chat[24547]: abort on (NO DIALTONE) chat[24547]: abort on (ERROR) chat[24547]: abort on (NO ANSWER) chat[24547]: abort on (BUSY) [Code]....
I have CentOS 5.5 client and host in VBox. I can't connect them (I am using bridge adapter mode) as I don't have router in between.
I just created DHCPD on host, and followed
[URL]
But that don't seem to work also. Host is 192.168.1.10 and client is 192.168.1.100 but when I ping host from client, it says Destination host unreachable.
I have problem with the server,when i restart my server client is still running it is not able to connect to client.i want my client to connect to server after the server restart
The problem come after i kill the Xorg using the kill command,and the screen turns to black without anything so that i can do nothing. The problem goes on after reboot
I have installed VirtualBox and setup a Windows Vista host, initially with a .vdi of 10gb. That filled up quickly, so I added another 20gb secondary partition, after first trying to allocate a .vdi to a SCSI controller. Configured the drive in Windows (Computer Management), and all seemed ok. I shutdown VB, and rebooted my Linux host (openSuse 11.3). Now I keep bouncing back to the login screen, and can't login to Linux KDE, but can login to a console.I do have the following info:
I did see a message before, that I don't see anymore, that said it could not start NFS services due to missing entry in fstab. Another I'm seeing now is it couldn't start the avahi-daemon, no space left on device. This is odd, since I have a 200GB drive, with half of it left, only max 30GB set to VB. Here's my df -k output:
/dev/sda6 Use% is 100% devtmpfs Use% is 1% tmpfs Use% is 1% /dev/sda7 Use% is 46%
So root "/" is mounted on /dev/sda6, which looks like it could be a problem, but why would this suddenly be a problem after working with VirtualBox? Could this be a matter of just freeing up space on /dev/sda6? Like the /tmp folder that's under "/"?
I would like have my client computer be able to boot off of a cd right into a terminal server connection. Not click here, then there, enable wireless....so on.. Just boot into a terminal server connection screen.
I'd document here the way to get to eDesktop through linux (debian, ubuntu) at the University of West Florida (UWF), since they appear to only support Windows through their documentation on the University web site, and the link through Argus (the secure web site) doesn't work in Linux. This is sometimes needed to use the University resources (libraries and computer programs) from remote locations, and otherwise a google search is fruitless. I had to have a guy in the computer science department show me how to do it. This may apply for other Universities with similar setups. It was impossible for me to figure it out on my own, I had to go back to my old 9.04 partition to get the info...
1) Open Terminal Server Client (Applications>Internet>...)
2) Insert as follows:
Code:
Computer: eDesktop.uwf.edu Protocol: RDP User Name: YOUR USERNAME
[code]...
3) OPTIONAL BUT RECOMMENDED click Save As and save it as a quick connect so you don't have to refer to this again.
4) Flip through the other tabs and configure as desired, and click Connect!
i installed unix services for windows 3.5 on a windows xp pro box and it installed fine. I configured nfs on the debian box and exported the ip of the client computer and forwarded port 2049 correctly. I followed the instructions for setting up teh nfs client on windows. However whenever i go to tools->map network drive and type in the server-domain-name:/file-address it says it cannot connect?