java – Error in glXCreateNewContext, remote GLX is likely disabled

me ha salido hoy en mi eclipse ese error al ejecutar un programa este error:

Error in glXCreateNewContext, remote GLX is likely disabled

Llevo realizando ejercicios con JavaFx desde hace 1 mes y no me ha salido hasta hoy. El error me deja ejecutar el programa y todo por interfaz gráfica, pero no se por qué me sale ese error.

No he instalado ninguna biblioteca de usuario ni nada,simplemente me ha aparecido ese error de un momento para otro.

He buscado y no se nada al respecto, si alguno sabe algo por favor coméntemelo.

How to access windows based remote desktop from Linux ubuntu with a known gateway hostname and PC name?

I often use my university’s high end Windows PC remotely on my windows 10 laptop. They have provided a bunch of rdp files (https://remoteaccess.labstats.com/Swansea-University) that allows me to connect me to a PC of my choice.

However, whenever I try to connect any of these PCs on my Ubuntu 20.04 LTS, I can’t simply connect. I have tried this on Remmina and several others.

Remmina allows to use rdp files directly but still doesn’t connects.

Here are the contents of the rdp file.

screen mode id:i:2
use multimon:i:0
desktopwidth:i:1920
desktopheight:i:1200
session bpp:i:32
winposstr:s:0,3,0,0,800,600
compression:i:1
keyboardhook:i:2
audiocapturemode:i:0
videoplaybackmode:i:1
connection type:i:7
networkautodetect:i:1
bandwidthautodetect:i:1
displayconnectionbar:i:1
enableworkspacereconnect:i:0
disable wallpaper:i:0
allow font smoothing:i:0
allow desktop composition:i:0
disable full window drag:i:1
disable menu anims:i:1
disable themes:i:0
disable cursor setting:i:0
bitmapcachepersistenable:i:1
audiomode:i:0
redirectprinters:i:1
redirectcomports:i:0
redirectsmartcards:i:1
redirectclipboard:i:1
redirectposdevices:i:0
autoreconnection enabled:i:1
authentication level:i:2
prompt for credentials:i:0
negotiate security layer:i:1
remoteapplicationmode:i:0
alternate shell:s:
shell working directory:s:
gatewayhostname:s:remotelab.swan.ac.uk
gatewayusagemethod:i:1
gatewaycredentialssource:i:4
gatewayprofileusagemethod:i:1
promptcredentialonce:i:1
gatewaybrokeringtype:i:0
use redirection server name:i:0
rdgiskdcproxy:i:0
kdcproxyname:s:

full address:s:WS-P1210334258

Remote Desktop Support | Proxies-free

Remote Desktop Support

Netedge Technology is a leading technical support and server management company. We are running this business since more than 14 years. We have a great team of certified Systems Administrators who can take care of your servers from initial server setup to critical server and infrastructure management.

We help businesses to manage risk and control costs by reducing the ownership. We are providing 24×7 infrastructure management, Infrastructure Automation and cloud infrastructure design, implementation and management. We can manage any kind of infrastructure like Datacenter, webhosting servers, corporate network, and servers etc.. We can provide all the service for handling NOC (Network Operation Center ).

Please follow this link to more details about the Remote Desktop Support.

Remote Desktop Support

List of other services we are dealing with.

Server Management

Linux Server Management

Windows Server Security

Control Panel Security

Game Server Management

PCI Compliance

Dedicated Staffing

Shared Staffing

Remote Desktop Support

Technical Support

Hourly Technical Support

Ticket & Chat Support

One Time Service

Software Development

Virtualization Management

VPS Server Management

VPS Node Management

Web Hosting Support

Control Panel Management

Datacenter Management

IT Infrastructure Automation

Remote Infrastructure Management

Cloud Infrastructure Management

NOC Management

Web Application Management

Mobile Application Management

IOT Application Management

Please feel free to contact us at

Email : sales@netedgetechnology.com if in case of any question.

Website = https://www.netedgetechnology.com

configuration – PostgreSQL remote connection failing

I’ve recently installed PostgreSQL on my PC as a requirement for my DB class, and as a practice, I decided to try and setup a remote connection for it so I can access it via online services. But after hours of searching the internet and dba.stackexchange and trying different configurations, I still can’t get it to work. Here are some of the things I’ve tried:

  • Added listen_addresses = '*' in the postgresql.conf file
  • Added the following lines to the pg_hba.conf file:
# Allowing IPv4 remote connections
host all all 0.0.0.0/0 scram-sha-256

# Allowing IPv6 remote connections
host all all ::/0 scram-sha-256
  • Restarted the service via the pg_ctl restart command. The logged outputs:
2021-04-30 09:23:45.821 +0430 (12108) LOG:  starting PostgreSQL 13.2, compiled by Visual C++ build 1914, 64-bit
2021-04-30 09:23:45.825 +0430 (12108) LOG:  listening on IPv6 address "::", port 5432
2021-04-30 09:23:45.826 +0430 (12108) LOG:  listening on IPv4 address "0.0.0.0", port 5432
2021-04-30 09:23:45.971 +0430 (7276) LOG:  database system was shut down at 2021-04-30 09:23:45 +0430
2021-04-30 09:23:46.037 +0430 (12108) LOG:  database system is ready to accept connections
  • Checked the pg_ctl status command’s output:
pg_ctl: server is running (PID: 12108)
C:/Program Files/PostgreSQL/13/bin/postgres.exe
  • And finally when entering my credentials for the web service I am trying to connect from, I made sure to enter the IP that whatismyip gave me for the Hostname field.

I am all out of ideas on what to do. Is there a step that I am missing? Since I’m a beginner, I may have made a silly beginner’s mistake (like entering the wrong username!), though I did check my credentials multiple times and I don’t think there’s anything wrong with them.

I am running PostgreSQL 13.2 on Windows 10.

P.S. The web service I am trying to connect to my local DB is Deepnote’s PostgreSQL integration. Are there any other ways that I can try to see if my configuration works?

remote code execution – SQL injection to RCE with load_file , into outfile etc

I know it is possible to get RCE with SQLi but I can’t write to web root, I can only write files to /tmp folder. I can upload shell.php in /tmp without problems, but I’m curious is there any other way to get this file executed?

Most of the locations in web root I get error like
“The MySQL server is running with the –secure-file-priv option so it cannot execute this statement”
and
“Can’t create/write to file ‘/var/www/html/shell.php’ (Errcode: 13 – Permission denied)”

git remote – why can’t Git set the upstream for this branch?

Here’s the situation:

$ git branch --all -vv
* feature/crvc11-93-add-pec                93fe8bc ...
  release/19.3.0-cv011                     4012d42 [origin/release/19.3.0-cv011] ...
  remotes/origin/feature/crvc11-93-add-pec 93fe8bc ...
  remotes/origin/release/19.3.0-cv011      4012d42 ...

I don’t know why feature/crvc11-93-add-pec did not track the remote-tracking branch origin/feature/crvc11-93-add-pec when I checked it out, but now I want to add it as the upstream manually:

$ git branch --set-upstream-to origin/feature/crvc11-93-add-pec
fatal: Cannot setup tracking information; starting point 'origin/feature/crvc11-93-add-pec' is not a branch.

What does Git mean here? Yes, it is a branch, it’s the remote-tracking branch. If I remove the origin prefix then we get

$ git branch --set-upstream-to feature/crvc11-93-add-pec
warning: Not setting branch feature/crvc11-93-add-pec as its own upstream.

How do I make feature/crvc11-93-add-pec track origin/feature/crvc11-93-add-pec? They are the same commit, this should just work. Am I not “spelling” the branch name correctly? Inserting the = doesn’t seem to make any difference.

c# – MySQL Connector/Net Bulk Uploader not finding file on remote server

I have pored through many pages trying to find an answer but have had no luck. I have a .NET page built in C# that has been working fine until a few days ago. Now it isn’t working and I’m pulling my hair out to find out why.

The page has a file uploader that uploads a .csv file and saves it to a folder on the web server. Then it uses the MySQL Bulk Uploader to insert the records into the database on another server. I have confirmed the file is uploading to the correct folder, but when MySQL tries to insert the records, it fails with the message “File ‘E:inetpubwwwroottrainingdata_uploadsfilename.csv’ not found (Errcode: 2 – No such file or directory)”
This page has worked for several years without any problem, but I updated some of the NuGet packages and removed some that were not being used, and now it’s stopped working. What am I missing? Is there a package or a .dll I need to add back in? Unfortunately, I don’t remember what I removed.

Here’s the code I’m using:

protected void btnGo_Click(object sender, EventArgs e)
{
try
{

        //if file is selected for upload
        if (btnSelectFile.HasFile)
        {
            //upload data file to server
            string path = string.Concat(Server.MapPath("~/data_uploads/" + btnSelectFile.FileName));
            btnSelectFile.SaveAs(path);

            string conString = ConfigurationManager.ConnectionStrings("nameOfConnectionString").ConnectionString;

            MySqlConnection conn = new MySqlConnection(conString);
            conn.Open();

            //get rid of old data
            MySqlCommand truncateTerms = new MySqlCommand("TRUNCATE terms_temp;", conn);
            truncateTerms.ExecuteNonQuery();


            //create bulk uploader and set parameters
            var bl = new MySqlBulkLoader(conn);
            bl.TableName = "terms_temp";
            bl.FieldTerminator = ",";
            bl.FieldQuotationCharacter = '"';
            bl.LineTerminator = "rn";
            bl.FileName = path;
            bl.NumberOfLinesToSkip = 2;

            //insert data
            var inserted = bl.Load(); //This is where it fails


            conn.Close();
//do some other stuff
 catch (Exception ex)
    {
        Label1.ForeColor = System.Drawing.Color.Red;
        Label1.Text =  ex.Message.ToString();
    }

}

8 – Use patch for .htaccess only on remote site

Following this post enter link description here I’m working on a way to patch my .htaccess file so my changes don’t get overwritten by a drupal update.

But my .htaccess files most of the times are in my .gitignore because the extra code I add to the .htaccess file is only needed on my remote site. On my local site I need the default .htaccess file. How can I solve this?

amazon ec2 – Cannot connect to remote FTP server (passive) from ec2 instance

I am attempting to connect to an external FTP server from my Linux ec2 instance, it is hosted in a public subnet with a public IP. While I can open a connection to the remote host and sucessfully login any attempt to list files using ‘ls’ simply fails.

I have tested the same connection from a multiple other machines and networks – they all connect sucessfully. Even from the same ec2 instance i am able to connect to other FTP severs without issue.

(ec2-user@ip ~)$ ftp -d XXX.XXX.XXX.XXX
Connected to XXX.XXX.XXX.XXX (XXX.XXX.XXX.XXX).
220 X2 WS_FTP Server 8.0(52030801)
Name (XXX.XXX.XXX.XXX:ec2-user): username
---> USER username
331 Enter password
Password:
---> PASS XXXX
230-User logged in
 Welcome
230 User logged in
---> SYST
215 UNIX
Remote system type is UNIX.
ftp> ls
ftp: setsockopt (ignored): Permission denied
---> PASV

i don’t know if the ftp: setsockopt (ignored): Permission denied has any bearing, but I receive the same line even from machines that sucessfully connect.

I have read all similar posts regarding active vs. passive FTP, i am definitley using passive mode and my security groups and NACLs allow the inboud traffic.

Can anyone suggest anything I can try to help diagnose?