User Tools

Site Tools


software:linux:ubuntu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software:linux:ubuntu [2017/10/27 17:09] superwizardsoftware:linux:ubuntu [2023/12/11 01:33] (current) – [fsck the file system] superwizard
Line 1: Line 1:
 +====== Ubuntu ======
 +
 +------------------------------------------------------------------------------------------------------------------------------------------------\\
 +
 +====== fsck root when ubuntu will not boot ======
 +
 +<WRAP center round box >
 +2023-12-10
 +
 +
 +    hold space bar to get to Grub menu
 +    select recovery
 +     
 +    fsck /dev/mount/ubuntu--vs-root
 +    
 +    
 +    Note: do not use -p
 +
 +</WRAP>
 +
 +
 +====== fsck the file system ======
 +
 +<WRAP center round box >
 +2023-12-10
 +
 +   In older versions of Ubuntu, fsck used to work from the Recovery Mode. 
 +   However, later versions of Ubuntu leave the primary HDD/SSD mounted, 
 +   so fsck no longer works.
 +
 +   Let's check/repair your filesystem...
 +    boot to a Ubuntu Live DVD/USB in “Try Ubuntu” mode
 +    open a terminal window by pressing Ctrl+Alt+T
 +    type sudo fdisk -l
 +    identify the /dev/sdXX device name for your "Linux Filesystem"
 +    type sudo fsck -f /dev/sdXX, replacing sdXX with the number you found earlier
 +    repeat the fsck command if there were errors
 +    type reboot
 +    
 + https://askubuntu.com/questions/1359037/how-to-run-fsck-on-the-root-partion-from-the-grub-menu
 +
 +</WRAP>
 +
 +
 +====== xRDP for remote access to Ubuntu ======
 +
 +<WRAP center round box >
 +2023-12-08
 +
 +Step 1 — Installing a Desktop Environment on Ubuntu
 +
 +In this step, you will install and configure a desktop environment on your Ubuntu server. By default, an Ubuntu server comes with a terminal environment only. A desktop environment will need to be installed to access a user interface.
 +
 +https://www.digitalocean.com/community/tutorials/how-to-enable-remote-desktop-protocol-using-xrdp-on-ubuntu-22-04
 +
 +</WRAP>
 +
 +
 +2020-07-27
 + 
 +<WRAP center round box >
 +JUL 2014 2019
 +
 + How to use xRDP for remote access to Ubuntu 14.04
 +
 +• Linux
 +    310
 +To remotely control my Windows machines, I always prefer to use RDP (Remote Desktop Protocol) as it performs much nicer than VNC (Virtual Network Computing). VNC has this streak of “JPEG” quality and slow behavior, whereas RDP is fast and crystal clear.
 +RDP is however a proprietary protocol from Microsoft. So how can we use RDP to control our Ubuntu box remotely?
 +This is where xRDP comes in play, an open source remote desktop protocol (RDP) server. It actually runs VNC protocol over RDP as far as I understand, yet if behaves much better than VNC by itself (possibly because of the used desktop manager). Since Ubuntu 12.10 (if I’m not mistaken), xRDP doesn’t seem to work with the Ubuntu desktop anymore … unless you use an alternative desktop manager. This seems related to 3D acceleration and nobody seems to care (since 2011, according to bug reports).
 +Note : if you really need Copy/Paste functionality between the two machines, then please use Ubuntu’s default installed “Desktop Sharing” instead (MacOS X users read this forum post).
 + 
 +From < https://www.tweaking4all.com/software/linux-software/use-xrdp-remote-access-ubuntu-14-04/> 
 +
 +</WRAP>
 +
 +
 +
 +====== Software Source Listing ======
 +
 +<WRAP center round box >
 +2020-07-23
 +
 +  /etc/apt/sources.list.d
 +  /etc/apt/sources.list
 +
 +</WRAP>
 +
 +====== Youtube is not working ======
 +
 +<WRAP center round box >
 +From: http://askubuntu.com/questions/331769/youtube-is-not-working
 +
 +     You have to install ubuntu-restricted-extras, not just download them 
 +     (except if with the "i have downloaded the ubuntu restricted extras" 
 +     you meant that you installed too). From terminal (CTRL+ALT+T) 
 +     run sudo apt-get install -y ubuntu-restricted-extras 
 +     stay there until installation completes, 
 +     when it asks you for the MS fonts EULA, 
 +     hit ENTER(key) to confirm. –  NikTh Aug 12 '13 at 19:00 
 +     
 +From: http://ubuntuforums.org/showthread.php?t=2176815
 +
 +    Basically, since Firefox 24 you no longer need flash in Linux to watch 
 +    Youtube. However, not many people have realised that yet. There has been 
 +    very little publicity about this major positive change.
 +    
 +From: http://www.ghacks.net/2013/06/23/firefox-24-for-linux-gets-native-mp3-aac-and-h-264-support/
 +
 +</WRAP>
 +
 +
 +====== ss - Socket command ======
 +
 +<WRAP center round box >
 +2020-11-10
 +
 +USAGE EXAMPLES
 +
 +       ss -t -a
 +              Display all TCP sockets.
 +
 +       ss -t -a -Z
 +              Display all TCP sockets with process SELinux security contexts.
 +
 +       ss -u -a
 +              Display all UDP sockets.
 +
 +       ss -o state established '( dport = :ssh or sport = :ssh )'
 +              Display all established ssh connections.
 +
 +       ss -x src /tmp/.X11-unix/*
 +              Find all local processes connected to X server.
 +
 +       ss -o state fin-wait-1 '( sport = :http or sport = :https )' dst 193.233.7/24
 +              List all the tcp sockets in state FIN-WAIT-1 for our apache to network 193.233.7/24
 +              and look at their timers.
 +
 +       ss -a -A 'all,!tcp'
 +              List sockets in all states from all socket tables but TCP.
 +
 +From: https://manpages.ubuntu.com/manpages/focal/man8/ss.8.html#usage%20examples
 +
 +
 +</WRAP>
 +
 +
 +
 +
 +====== Ubuntu Server Guide ======
 +
 +From: https://help.ubuntu.com/14.04/serverguide/serverguide.pdf
 +
 +<code>
 +Here you can find information on how to install and configure various server applications. 
 +It is a step-by-step,
 +task-oriented guide for configuring and customizing your system
 +</code>
 +
 +====== Tilix is an advanced GTK3 tiling ======
 +
 +From: https://gnunn1.github.io/tilix-web/
 +
 +<code>
 +Terminals can be re-arranged using drag and drop both within and between windows.
 +</code> 
 +
 ====== Tilda – The Yakuake terminal equivalent for Gnome ====== ====== Tilda – The Yakuake terminal equivalent for Gnome ======
  
 From: http://www.opensourcetutor.com/2007/06/11/tilda-the-yakuake-terminal-equivalent-for-gnome/ From: http://www.opensourcetutor.com/2007/06/11/tilda-the-yakuake-terminal-equivalent-for-gnome/
 +
 +<code>
 +I have previously written about Tilda, a gnome replacement for Yakuake. I had some issues with 
 +Tilda so I came to have a nice relationship with Yakauke. It’s important to note though, that 
 +there is another reasonable alternative to both Tilda and Yakuake and it’s called Guake.
 +</code>
  
 ====== window manager and terminal multiplexer ====== ====== window manager and terminal multiplexer ======
Line 8: Line 181:
  
 From: https://www.kde.org/applications/system/yakuake/ From: https://www.kde.org/applications/system/yakuake/
 +
 +Also: http://www.opensourcetutor.com/2007/06/11/tilda-the-yakuake-terminal-equivalent-for-gnome/
 +
 +Also: https://www.slant.co/versus/2442/2449/~gnome-terminal_vs_yakuake
  
 <code> <code>
 Yakuake is a drop-down terminal emulator based on KDE Konsole technology. Yakuake is a drop-down terminal emulator based on KDE Konsole technology.
 +
 +I haven’t tried Guake in approx. 2 years but back then it couldn’t do certain things that 
 +Yakuake can do easily. Yakuake can expand / shrink the terminal by 10% increments 
 +using alt+shift+ left / right / up / down. Full screen Ctrl + shift + F11. Move a 
 +terminal left/right = Ctrl + Shift + left/right. Split a terminal horizontally / vertically. 
 +Apart from being a Gnome app, what makes Guake better than Yakuake from your perspective?
  
 Shift+Up arrow = new tab  vs Ctrl+shift+T in Tilda Shift+Up arrow = new tab  vs Ctrl+shift+T in Tilda
Line 16: Line 199:
 Shift+Left arrow = Scroll to the next tab to the left vs no equivalent in Tilda Shift+Left arrow = Scroll to the next tab to the left vs no equivalent in Tilda
 Shift+Right arrow = Scroll to the next tab to the right vs no equivalent in Tilda Shift+Right arrow = Scroll to the next tab to the right vs no equivalent in Tilda
 +
 +Ctrl+Shift+W – Close Window
 +Ctrl+Shift+Page Up – Go to the next tab to the right
 +Ctrl+Shift+Page Down – Go to the next tab to the left.
 +
 </code> </code>
  
Line 65: Line 253:
  
  
-====== Youtube is not working ====== 
- 
-From: http://askubuntu.com/questions/331769/youtube-is-not-working 
- 
-     You have to install ubuntu-restricted-extras, not just download them (except if with the "i have downloaded the ubuntu restricted extras" you meant that you installed too). From terminal (CTRL+ALT+T) run sudo apt-get install -y ubuntu-restricted-extras stay there until installation completes, when it asks you for the MS fonts EULA, hit ENTER(key) to confirm. –  NikTh Aug 12 '13 at 19:00  
-      
-From: http://ubuntuforums.org/showthread.php?t=2176815 
- 
-    Basically, since Firefox 24 you no longer need flash in Linux to watch Youtube. However, not many people have realised that yet. There has been very little publicity about this major positive change. 
-     
-    http://www.ghacks.net/2013/06/23/firefox-24-for-linux-gets-native-mp3-aac-and-h-264-support/ 
  
 ====== Ubuntu Default Software ====== ====== Ubuntu Default Software ======
software/linux/ubuntu.1509124151.txt.gz · Last modified: 2017/10/27 17:09 by superwizard