Yesterday, all day, I was using x11vnc and vncviewer to connect to a server. But today for some reason it is not working. I don't
remember changing any settings or anything like that, but because it stopped working correctly I guess something has...?
I'm issuing the exact same x11vnc command today, that I was running yesterday, but nothing happens at all on the client/viewer
side. My vnc commands I was running all day yesterday were:
Yesterday, immediately following the vncviewer command a window would popup displaying the desktop of the server.
Today, I entered the same exact x11vnc command, I then see the exact same output, then I enter the vncviewer command in a
terminal on my laptop and the command just sits there not doing anything. I can Ctrl-C to cancel it, so its not frozen or anything.
And when vncviewer is entered I don't see any output coming up in the x11vnc command's window like I normally would.
So I tried in another terminal ssh'ing to the same server and issuing the vncviewer command on the server like: And I see this display in the x11vnc terminal's output:
And it failed to display the desktop. So I decided to walk over to the server room and opened to server's desktop, i.e. physically
standing in front of the server, and opening a terminal window and entering the x11vnc command in there. So I went back to my
desk and tried vncviewer again from my laptop, whcih ended up doing the same thing. So I ssh'ed in again and ran vncviewer like
below in the ssh session, and this time the desktop displayed on my laptop.
Any idea what I could have changed to prevent me from vnc'ing in directly from my laptop? And also, entering the x11vnc command
in an ssh session instead of physically entering it onto the server...?
Any thoughts or suggestions would be much appreciated!
Thanks in Advance,
Matt
---------- Post updated at 05:10 PM ---------- Previous update was at 02:23 PM ----------
Ok, so I figured out the issue...
At the end of the day yesterday I finished completing the setup for Security Onion (*Operating System built over/with xUbuntu 12.04),
which is a Intrusion Detection System.
I'm thinking that when I completed the setup, Security Onion enabled the Firewall and blocked port 5900. I started to think that
was the issue when I was able to vnc to the server's desktop if and only if I initiated the vncviewer command from within the server's
ssh session...
Like in my previous post, if I went into the server room and issued the x11vnc command from the server's physical terminal/desktop
then I SSH'ed (*I think with "-Y") into the server from my laptop and then while still SSH'ed in I would issue the vncviewer command
using the address 127.0.0.1:0 it would then display the desktop on my laptop screen...
So I ran Ubuntu's command:
That opened the VNC port and allowed me to run both the x11vnc and vncviewer commands remotely... Ughh thank goodness
Thanks,
Matt
Last edited by mrm5102; 06-27-2014 at 03:34 PM..
These 2 Users Gave Thanks to mrm5102 For This Post:
Hi All,
My chrome browser was working correctly on my Debian Lenny 5 PC..Today i downloaded the version from google and tried to install the deb from command line as follows:
dpkg -i <latest-chrome-package>
The installation failed but now my existing old chrome browser is not starting.
... (2 Replies)
This is the crontab it is supossed to be running everyday but it didnt
5 0 * * * /export/app/CO/opge/scr/Informe_parametros_colombia.ksh >/dev/null 2>&1
Inside the above script connects to a database and extract data to a flat file, manually i run the script at about 2 a.m. and Works OK,... (6 Replies)
Hi
I am attempting to right a script which will read a table and extract specfic information.
LASTFAILEDJOB=/usr/openv/netbackup/scripts/GB-LDN/Junaid/temp_files/lastfailedjob
cat /usr/openv/netbackup/scripts/GB-LDN/Junaid/temp_files/lastfailedjob
237308646
If i run the following... (5 Replies)
We are using Red Hat linux system.
I am transferring my rman backup files to another server.
Here is the command i am using to transfer the files.
/usr/bin/rsync -avpP --delete /xyz/xyz/ 99.99.999.99::db110bkp
Here is the rsync version.
>rsync --version
rsync version 3.0.6 ... (1 Reply)
My roommate forgot his admin password on his MacBook air..
He doesn't have the external SuperDrive, so we have no way of using the simple method of using the install disks and resetting the password..
The worst part is, he did this same thing about a year ago lol
At the time, we booted... (0 Replies)
I have a client running Sco-Unix 5.
They have many IP Printers setup.
One of the IP Printers is "LPJ", it has been functional for 3 weeks and then the switch died and hung up the queue. We reset the switch and restarted the jobs and they printed.
The switch went down again and we replaced the... (1 Reply)
Hi,
I have a script where I am trying to set a local variable using the following,
MYVAR="$NAME"_"$NAME2".txt
where say,
NAME = one
NAME2 = two
so I want the output one_two.txt but what I am getting is,
two.txt
basically the $NAME2 is overwriting, what am I doing wrong?
... (3 Replies)
Anyone have an idea why this if statement does not work correctly?
"test2.sh" 18 lines, 386 characters
#!/usr/bin/sh
WARNING=80
CRITICAL=95
check_it()
{
if ] || ];then
echo "YES ] || ]"
else
echo "NO ] || ]"
fi
}
check_it 80.1
check_it 81.1 (3 Replies)
Discussion started by: 2dumb
3 Replies
9. Forum Support Area for Unregistered Users & Account Problems
I have a simple script that I want to run every 30 minutes but only when I execute it. I don't want it to be a crontab job.
so i have for example
date
ls -l
who
sleep 1800
The first time it executes correctly but after the first time it nevers execute back again. It should execute after... (2 Replies)