I manually made the partitions for a Xubuntu install, but see no option to encrypt the swap partition. Is there such a option?
The suggested duplicate question is not about encrypting swap during install.
I manually made the partitions for a Xubuntu install, but see no option to encrypt the swap partition. Is there such a option?
The suggested duplicate question is not about encrypting swap during install.
I am trying to compile from source AWN https://launchpad.net/awn/ on Xubuntu 16.04 but when i run ./configure i get:
configure: error:
Could not link test program to Python. Maybe the main Python library has been
installed in some non-standard library path. If so, pass it to configure,
via the LDFLAGS environment variable.
Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
============================================================================
ERROR!
You probably have to install the development version of the Python package
for your distribution. The exact name of this package varies among them.
============================================================================
I run sudo apt-get install python-dev
but it said that it is already the newset version. What should i do?
I am trying to install wine on xubuntu 16.10 x64. I am following the guide from here: https://wiki.winehq.org/Ubuntu. I enabled 32 bit architecture and added the repository but when i run 'sudo apt-get update' i get this:
osboxes@osboxes:~$ sudo apt-get update
Get:1 http://security.ubuntu.com/ubuntu yakkety-security InRelease [102 kB]
Hit:2 http://gb.archive.ubuntu.com/ubuntu yakkety InRelease
Get:3 http://gb.archive.ubuntu.com/ubuntu yakkety-updates InRelease [102 kB]
Get:4 http://gb.archive.ubuntu.com/ubuntu yakkety-backports InRelease [102 kB]
Get:5 http://security.ubuntu.com/ubuntu yakkety-security/main amd64 DEP-11 Metadata [10.9 kB]
Get:6 http://security.ubuntu.com/ubuntu yakkety-security/main DEP-11 64x64 Icons [15.7 kB]
Get:7 http://security.ubuntu.com/ubuntu yakkety-security/universe amd64 DEP-11 Metadata [18.7 kB]
Get:8 http://security.ubuntu.com/ubuntu yakkety-security/universe DEP-11 64x64 Icons [18.4 kB]
Get:9 http://gb.archive.ubuntu.com/ubuntu yakkety-updates/main i386 Packages [228 kB]
Get:10 http://gb.archive.ubuntu.com/ubuntu yakkety-updates/main amd64 Packages [232 kB]
Get:11 https://dl.winehq.org/wine-builds/ubuntu yakkety InRelease [4,672 B]
Get:12 http://gb.archive.ubuntu.com/ubuntu yakkety-updates/main amd64 DEP-11 Metadata [146 kB]
Get:13 http://gb.archive.ubuntu.com/ubuntu yakkety-updates/main DEP-11 64x64 Icons [82.2 kB]
Get:14 https://dl.winehq.org/wine-builds/ubuntu yakkety/main i386 Packages [3,228 B]
Err:14 https://dl.winehq.org/wine-builds/ubuntu yakkety/main i386 Packages
Hash Sum mismatch
Hashes of expected file:
- Checksum-FileSize:3228 [weak]
- SHA256:4d6ff0956b21c1f7b4d02d3bf3067cc5753e99467ef05260e7b53bde9fbe25ad
- SHA1:22d80ec32c8945f8c77b89715da530770c79b6b0 [weak]
- MD5Sum:936a2931f0d4981fa8bfb9f92439ded0 [weak]
Hashes of received file:
- SHA256:0164eda0d063d33baf2892527b84c7a8bf15a0da001702d64e45673bdc84b820
- SHA1:8d67ce71ad303248be3450fb92b93db70c83cbad [weak]
- MD5Sum:9514718ff1baedbfbffe7681584aa6ba [weak]
- Checksum-FileSize:1896 [weak]
Last modification reported: Tue, 28 Mar 2017 19:54:53 +0000
Release file created at: Tue, 28 Mar 2017 22:00:26 +0000
Get:15 http://gb.archive.ubuntu.com/ubuntu yakkety-updates/universe i386 Packages [143 kB]
Get:16 https://dl.winehq.org/wine-builds/ubuntu yakkety/main amd64 Packages [3,252 B]
Get:17 http://gb.archive.ubuntu.com/ubuntu yakkety-updates/universe amd64 Packages [145 kB]
Get:18 http://gb.archive.ubuntu.com/ubuntu yakkety-updates/universe amd64 DEP-11 Metadata [111 kB]
Get:19 http://gb.archive.ubuntu.com/ubuntu yakkety-updates/universe DEP-11 64x64 Icons [144 kB]
Get:20 http://gb.archive.ubuntu.com/ubuntu yakkety-backports/main amd64 DEP-11 Metadata [3,328 B]
Fetched 1,615 kB in 3s (469 kB/s)
Reading package lists... Done
E: Failed to fetch https://dl.winehq.org/wine-builds/ubuntu/dists/yakkety/main/binary-i386/Packages.xz Hash Sum mismatch
Hashes of expected file:
- Checksum-FileSize:3228 [weak]
- SHA256:4d6ff0956b21c1f7b4d02d3bf3067cc5753e99467ef05260e7b53bde9fbe25ad
- SHA1:22d80ec32c8945f8c77b89715da530770c79b6b0 [weak]
- MD5Sum:936a2931f0d4981fa8bfb9f92439ded0 [weak]
Hashes of received file:
- SHA256:0164eda0d063d33baf2892527b84c7a8bf15a0da001702d64e45673bdc84b820
- SHA1:8d67ce71ad303248be3450fb92b93db70c83cbad [weak]
- MD5Sum:9514718ff1baedbfbffe7681584aa6ba [weak]
- Checksum-FileSize:1896 [weak]
Last modification reported: Tue, 28 Mar 2017 19:54:53 +0000
Release file created at: Tue, 28 Mar 2017 22:00:26 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
osboxes@osboxes:~$ sudo apt-get install --install-recommends winehq-staging
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package winehq-staging
If I run the command du -ah | sort -nr
is it possible to make it show which line in the output is a file and which folder? Something like the command ls -l
shows which is file and folder with d
and -
in front.
I am trying to install virtualbox additions for Ubuntu Mate 14.04.2 x32. I copy vboxlinuxadditions.run file to the home folder and run it but i get 'Building the main Guest Additions module …fail!'. I guess the problem is i don't have the correct linux headers installed that match the kernel version. If this is correct is there a way to install the correct version of linux headers? The kernel version is 3.16.0-33-generic.
I am trying to add NOPASSWD
option for existing user who belongs to the sudo
group and have admin rights. I added this line in sudoers
file:
max ALL=(ALL:ALL) NOPASSWD: ALL
But it still ask me for password when i try to execute command with sudo
.
I am wondering how should I proceed if I want to hire someone to maintain my Ubuntu server. If I give admin rights to his account he may do a lot of damage if he decides to, but if I don't give him admin rights I guess he can't do lots of maintenance.
How do you people who hire someone to maintain or do some work on your server proceed in this case?
Is it possible when I press Ctrl+r and after this, for example, press the letter a
, then using the up and down arrow key to search only the commands in the history that start with a
? Or if I type ssh
and then use the arrow keys to search commands that start with ssh
.
Is there a script that can implement this?
Is there command in Ubuntu that is equivalent on restarting explorer.exe in Windows?
I have remote Ubuntu server to which i am connecting through ssh using Cygwin from my local machine Windows 7. I want to create remote desktop connection from my Windows 7 to Ubuntu so i installed XRDP on the server with this command:
sudo apt-get install xrdp
Then i set a password for the default ubuntu user and tried to connect with RDC client from Windows 7. I was able to connect and the screen display was in text mode because i haven't installed a desktop on the ubuntu server.
Then i installed the lightweight desktop LXDE desktop on the server and tried to connect again with RDC but i was unable to. The Windows 7 RDC connects to the server but right after i enter my login name and password the connection breaks down. I am trying to find the reason why.
If i check the status of the xrdp service it shows this:
ubuntu@ip-xx-xx-xx-xx:~$ service xrdp status
* Checking status of Remote Desktop Protocol server xrdp [ OK ]
* Checking status of RDP Session Manager sesman [fail]
It seems that the session manager is failing to start and i think this might be the reason the connection breaks down. But i don't know what is causing session manager to fail to start.
How to find why the session manager is not starting?
Edit:
I was able to create remote desktop connection after i installed xfce desktop envirenment on the server but first i had to create .xsession file in the home directory and add this line in the file xfce4-session
. But the connection is not fast and lags. I also installed other desktop envirenments but was unenable to establish connection.
I also tried to install teamviewr and VNC server but that is too much hussle.
It seems that there is no simple solution for lunux machines to create remote desktop connection.
I have two remote Ubuntu servers - vps1 and vps2. I want to create ssh tunnel for Firefox, that runs on my PC, to connect first to vps1 and then from vps1 to vps2. This doesn't have to be implemented with one command.
I can create the ssh tunnel to the first vps with the command: ssh -D 9999 -i keyfile1 ubuntu1@ip_address
and Firefox can connect through the tunnel and browse internet. If i check the IP address it shows the IP of the first vps server - vps1.
But how to create the ssh tunnel from vps1 to vps2 and forward Firefox through it. If i try the same command to create the tunnel from vps1 to vps2 it creates the tunnel but Firefox doesn't connect through it. If i check the IP address it still shows the ip address of the first vps.
My goal is to launch firefox from my local machine, have it connect to vps2 through vps1 and browse the internet in such a way that if I visit a website with Firefox and someone checks my IP, they will see the IP of the second vps as a source.
I have Ubuntu server 14.04 on which i want to run applications with GUI. I have Xauth installed and i have edited the files ssh_config
and sshd_config
to allow X11 forwarding. On my PC I have Windows 7 OS and I am using Cygwin to connect to the server. I am using this command to connect: ssh -X -i private-key.pem [email protected]
But when I try to run some application with GUI, for example Leafpad, I get error: leafpad: Cannot open display
Also, if I run the command xrandr
I get the same error: Can't open display
Any idea why I am getting these error messages?
I have installed Ubuntu server 10.04.4 on VirtualBox but the screen appear too small. I read some guides that i have to change settings in grub to change the screen size, so i go to /etc/default/grub, opened grub in editor and edited this line #GRUB_GFXMODE=640x480 to GRUB_GFXMODE=1280x760. This is a resolution that my video card supports.
Then i updated grub and restarted the machine but it didn't work. When the machine starts loading in the beginning for a few seconds it goes into the screen resolution i have set but then goes back to the initial small screen resolution.
Any idea why it doesn't work?